< prev index next >
src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp
Print this page
rev 54011 : 8219993: AArch64: Compiled CI stubs are unsafely modified
Reviewed-by: adinn
*** 230,240 ****
void NativeCall::insert(address code_pos, address entry) { Unimplemented(); }
//-------------------------------------------------------------------
void NativeMovConstReg::verify() {
! // make sure code pattern is actually mov reg64, imm64 instructions
}
intptr_t NativeMovConstReg::data() const {
// das(uint64_t(instruction_address()),2);
--- 230,244 ----
void NativeCall::insert(address code_pos, address entry) { Unimplemented(); }
//-------------------------------------------------------------------
void NativeMovConstReg::verify() {
! if (! (nativeInstruction_at(instruction_address())->is_movz() ||
! is_adrp_at(instruction_address()) ||
! is_ldr_literal_at(instruction_address())) ) {
! fatal("should be MOVZ or ADRP or LDR (literal)");
! }
}
intptr_t NativeMovConstReg::data() const {
// das(uint64_t(instruction_address()),2);
< prev index next >