mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8138896: C1: NativeGeneralJump is mixed up with NativeCall in C1 patching code
Reviewed-by: twisti, vlivanov
This commit is contained in:
parent
039050a9f7
commit
bd35ac3342
2 changed files with 2 additions and 2 deletions
|
@ -1163,7 +1163,7 @@ JRT_ENTRY(void, Runtime1::patch_code(JavaThread* thread, Runtime1::StubID stub_i
|
|||
}
|
||||
#endif
|
||||
|
||||
for (int i = NativeCall::instruction_size; i < *byte_count; i++) {
|
||||
for (int i = NativeGeneralJump::instruction_size; i < *byte_count; i++) {
|
||||
address ptr = copy_buff + i;
|
||||
int a_byte = (*ptr) & 0xFF;
|
||||
address dst = instr_pc + i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue