1.1 --- a/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Tue Mar 09 23:57:36 2010 -0800 1.2 +++ b/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp Fri Mar 05 13:58:34 2010 +0100 1.3 @@ -628,7 +628,8 @@ 1.4 LIR_Const* c = src->as_constant_ptr(); 1.5 1.6 switch (c->type()) { 1.7 - case T_INT: { 1.8 + case T_INT: 1.9 + case T_ADDRESS: { 1.10 assert(patch_code == lir_patch_none, "no patching handled here"); 1.11 __ movl(dest->as_register(), c->as_jint()); 1.12 break; 1.13 @@ -711,6 +712,7 @@ 1.14 switch (c->type()) { 1.15 case T_INT: // fall through 1.16 case T_FLOAT: 1.17 + case T_ADDRESS: 1.18 __ movl(frame_map()->address_for_slot(dest->single_stack_ix()), c->as_jint_bits()); 1.19 break; 1.20 1.21 @@ -746,6 +748,7 @@ 1.22 switch (type) { 1.23 case T_INT: // fall through 1.24 case T_FLOAT: 1.25 + case T_ADDRESS: 1.26 __ movl(as_Address(addr), c->as_jint_bits()); 1.27 break; 1.28