Mercurial > hg > truffle
comparison src/share/vm/c1x/c1x_CodeInstaller.cpp @ 1435:20a3896518ac
Initial adjustments to make C1X4HotSpot compile and run with latest Maxine version.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Fri, 22 Oct 2010 17:31:38 +0200 |
parents | 72cfb36c6bb2 |
children | a7a0ef3c6858 |
comparison
equal
deleted
inserted
replaced
1434:72cfb36c6bb2 | 1435:20a3896518ac |
---|---|
90 return new LocationValue(Location::new_stk_loc(Location::invalid, 0)); | 90 return new LocationValue(Location::new_stk_loc(Location::invalid, 0)); |
91 } | 91 } |
92 | 92 |
93 BasicType type = C1XCompiler::kindToBasicType(CiKind::typeChar(CiValue::kind(value))); | 93 BasicType type = C1XCompiler::kindToBasicType(CiKind::typeChar(CiValue::kind(value))); |
94 if (value->is_a(CiRegisterValue::klass())) { | 94 if (value->is_a(CiRegisterValue::klass())) { |
95 jint number = CiRegister::number(CiRegisterValue::_register(value)); | 95 jint number = CiRegister::number(CiRegisterValue::reg(value)); |
96 | 96 |
97 if (number < 16) { | 97 if (number < 16) { |
98 return new LocationValue(Location::new_reg_loc(Location::normal, as_Register(number)->as_VMReg())); | 98 return new LocationValue(Location::new_reg_loc(Location::normal, as_Register(number)->as_VMReg())); |
99 } else { | 99 } else { |
100 return new LocationValue(Location::new_reg_loc(Location::normal, as_XMMRegister(number - 16)->as_VMReg())); | 100 return new LocationValue(Location::new_reg_loc(Location::normal, as_XMMRegister(number - 16)->as_VMReg())); |