changeset 21515 | ec29f0abf481 |
parent 21095 | 1a04f7b3946e |
child 23203 | 76c2a23e2537 |
--- a/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp Mon Oct 28 21:41:48 2013 +0400 +++ b/hotspot/src/cpu/x86/vm/interp_masm_x86_32.cpp Wed Oct 30 15:35:25 2013 +0100 @@ -196,7 +196,7 @@ void InterpreterMacroAssembler::get_unsigned_2_byte_index_at_bcp(Register reg, int bcp_offset) { assert(bcp_offset >= 0, "bcp is still pointing to start of bytecode"); - movl(reg, Address(rsi, bcp_offset)); + load_unsigned_short(reg, Address(rsi, bcp_offset)); bswapl(reg); shrl(reg, 16); }