Mercurial > hg > truffle
diff src/share/vm/graal/graalCodeInstaller.cpp @ 4232:382523fc390c
jsr return addresses are valid in registers
author | Christian Wimmer <Christian.Wimmer@Oracle.com> |
---|---|
date | Thu, 05 Jan 2012 17:02:13 -0800 |
parents | 8074251d1e05 |
children | 3c21eee8ab4d |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp Thu Jan 05 16:09:47 2012 -0800 +++ b/src/share/vm/graal/graalCodeInstaller.cpp Thu Jan 05 17:02:13 2012 -0800 @@ -115,7 +115,7 @@ if (value->is_a(CiRegisterValue::klass())) { jint number = CiRegister::number(CiRegisterValue::reg(value)); if (number < 16) { - if (type == T_INT || type == T_FLOAT || type == T_SHORT || type == T_CHAR || type == T_BOOLEAN || type == T_BYTE) { + if (type == T_INT || type == T_FLOAT || type == T_SHORT || type == T_CHAR || type == T_BOOLEAN || type == T_BYTE || type == T_ADDRESS) { locationType = Location::int_in_long; } else if (type == T_LONG) { locationType = Location::lng;