# HG changeset patch # User Christian Wimmer # Date 1325811733 28800 # Node ID 382523fc390c72bf69884d32ee2bd35d554083c4 # Parent d713eaf4d28896d3e9beabb0e5ed47c28045d8fe jsr return addresses are valid in registers diff -r d713eaf4d288 -r 382523fc390c src/share/vm/graal/graalCodeInstaller.cpp --- 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;