src/cpu/x86/vm/nativeInst_x86.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/cpu/x86/vm/nativeInst_x86.cpp Thu Apr 24 15:53:02 2014
--- new/src/cpu/x86/vm/nativeInst_x86.cpp Thu Apr 24 15:53:02 2014
*** 513,525 ****
--- 513,525 ----
n_jump->wrote(0);
}
void NativePopReg::insert(address code_pos, Register reg) {
! assert(reg->encoding() < 8, "no space for REX");
! assert(reg.encoding() < 8, "no space for REX");
assert(NativePopReg::instruction_size == sizeof(char), "right address unit for update");
! *code_pos = (u_char)(instruction_code | reg->encoding());
! *code_pos = (u_char)(instruction_code | reg.encoding());
ICache::invalidate_range(code_pos, instruction_size);
}
void NativeIllegalInstruction::insert(address code_pos) {
src/cpu/x86/vm/nativeInst_x86.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File