comparison src/cpu/x86/vm/c1_LIRAssembler_x86.cpp @ 12955:252d541466ea

8008242: VerifyOops is broken on SPARC Summary: Fixed displacement issues in SPARC macroassembler and ensure that getClass intrinsic temporary result is T_METADATA Reviewed-by: kvn, twisti
author morris
date Fri, 18 Oct 2013 12:15:32 -0700
parents d13d7aba8c12
children 9acbfe04b5c3
comparison
equal deleted inserted replaced
12954:e3b736cf4fa3 12955:252d541466ea
1203 assert(src->is_address(), "should not call otherwise"); 1203 assert(src->is_address(), "should not call otherwise");
1204 assert(dest->is_register(), "should not call otherwise"); 1204 assert(dest->is_register(), "should not call otherwise");
1205 1205
1206 LIR_Address* addr = src->as_address_ptr(); 1206 LIR_Address* addr = src->as_address_ptr();
1207 Address from_addr = as_Address(addr); 1207 Address from_addr = as_Address(addr);
1208
1209 if (addr->base()->type() == T_OBJECT) {
1210 __ verify_oop(addr->base()->as_pointer_register());
1211 }
1208 1212
1209 switch (type) { 1213 switch (type) {
1210 case T_BOOLEAN: // fall through 1214 case T_BOOLEAN: // fall through
1211 case T_BYTE: // fall through 1215 case T_BYTE: // fall through
1212 case T_CHAR: // fall through 1216 case T_CHAR: // fall through