changeset 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 d713eaf4d288
children fa53d5e4aa35
files src/share/vm/graal/graalCodeInstaller.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;