1.1 --- a/src/cpu/x86/vm/relocInfo_x86.cpp Wed Mar 20 17:04:45 2013 -0700 1.2 +++ b/src/cpu/x86/vm/relocInfo_x86.cpp Thu Mar 21 10:11:24 2013 -0700 1.3 @@ -145,12 +145,9 @@ 1.4 assert(which == Assembler::disp32_operand || 1.5 which == Assembler::call32_operand || 1.6 which == Assembler::imm_operand, "format unpacks ok"); 1.7 - if (which != Assembler::imm_operand) { 1.8 - // The "address" in the code is a displacement can't return it as 1.9 - // and address* since it is really a jint* 1.10 - ShouldNotReachHere(); 1.11 - return NULL; 1.12 - } 1.13 + // The "address" in the code is a displacement can't return it as 1.14 + // and address* since it is really a jint* 1.15 + guarantee(which == Assembler::imm_operand, "must be immediate operand"); 1.16 #else 1.17 assert(which == Assembler::disp32_operand || which == Assembler::imm_operand, "format unpacks ok"); 1.18 #endif // AMD64