comparison src/share/vm/c1/c1_LIR.cpp @ 7643:3ac7d10a6572

Merge with hsx25/hotspot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 31 Jan 2013 15:42:25 +0100
parents 203f64878aab
children 84a926fe53d0
comparison
equal deleted inserted replaced
7573:17b6a63fe7c2 7643:3ac7d10a6572
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;