hotspot/src/share/vm/c1/c1_LIR.cpp
changeset 15228 e92acc84ade3
parent 13886 8d82c4dfa722
child 15760 cbb77ea2a3a3
equal deleted inserted replaced
15225:40677d8847bd 15228:e92acc84ade3
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1561 // LIR_Address
  1561 // LIR_Address
  1562 void LIR_Const::print_value_on(outputStream* out) const {
  1562 void LIR_Const::print_value_on(outputStream* out) const {
  1563   switch (type()) {
  1563   switch (type()) {
  1564     case T_ADDRESS:out->print("address:%d",as_jint());          break;
  1564     case T_ADDRESS:out->print("address:%d",as_jint());          break;
  1565     case T_INT:    out->print("int:%d",   as_jint());           break;
  1565     case T_INT:    out->print("int:%d",   as_jint());           break;
  1566     case T_LONG:   out->print("lng:%lld", as_jlong());          break;
  1566     case T_LONG:   out->print("lng:" JLONG_FORMAT, as_jlong()); break;
  1567     case T_FLOAT:  out->print("flt:%f",   as_jfloat());         break;
  1567     case T_FLOAT:  out->print("flt:%f",   as_jfloat());         break;
  1568     case T_DOUBLE: out->print("dbl:%f",   as_jdouble());        break;
  1568     case T_DOUBLE: out->print("dbl:%f",   as_jdouble());        break;
  1569     case T_OBJECT: out->print("obj:0x%x", as_jobject());        break;
  1569     case T_OBJECT: out->print("obj:0x%x", as_jobject());        break;
  1570     case T_METADATA: out->print("metadata:0x%x", as_metadata());break;
  1570     case T_METADATA: out->print("metadata:0x%x", as_metadata());break;
  1571     default:       out->print("%3d:0x%x",type(), as_jdouble()); break;
  1571     default:       out->print("%3d:0x%x",type(), as_jdouble()); break;