mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
6978355: renaming for 6961697
This is the renaming part of 6961697 to keep the actual changes small for review. Reviewed-by: kvn, never
This commit is contained in:
parent
3756a7daa9
commit
a4b2fe3b1c
66 changed files with 613 additions and 658 deletions
|
@ -193,17 +193,17 @@ void NativeCall::test() {
|
|||
|
||||
a->call( a->pc(), relocInfo::none );
|
||||
a->delayed()->nop();
|
||||
nc = nativeCall_at( cb.code_begin() );
|
||||
nc = nativeCall_at( cb.insts_begin() );
|
||||
nc->print();
|
||||
|
||||
nc = nativeCall_overwriting_at( nc->next_instruction_address() );
|
||||
for (idx = 0; idx < ARRAY_SIZE(offsets); idx++) {
|
||||
nc->set_destination( cb.code_begin() + offsets[idx] );
|
||||
assert(nc->destination() == (cb.code_begin() + offsets[idx]), "check unit test");
|
||||
nc->set_destination( cb.insts_begin() + offsets[idx] );
|
||||
assert(nc->destination() == (cb.insts_begin() + offsets[idx]), "check unit test");
|
||||
nc->print();
|
||||
}
|
||||
|
||||
nc = nativeCall_before( cb.code_begin() + 8 );
|
||||
nc = nativeCall_before( cb.insts_begin() + 8 );
|
||||
nc->print();
|
||||
|
||||
VM_Version::revert();
|
||||
|
@ -368,7 +368,7 @@ void NativeMovConstReg::test() {
|
|||
a->sethi(al2, O2);
|
||||
a->add(O2, al2.low10(), O2);
|
||||
|
||||
nm = nativeMovConstReg_at( cb.code_begin() );
|
||||
nm = nativeMovConstReg_at( cb.insts_begin() );
|
||||
nm->print();
|
||||
|
||||
nm = nativeMovConstReg_at( nm->next_instruction_address() );
|
||||
|
@ -480,7 +480,7 @@ void NativeMovConstRegPatching::test() {
|
|||
a->nop();
|
||||
a->add(O2, al2.low10(), O2);
|
||||
|
||||
nm = nativeMovConstRegPatching_at( cb.code_begin() );
|
||||
nm = nativeMovConstRegPatching_at( cb.insts_begin() );
|
||||
nm->print();
|
||||
|
||||
nm = nativeMovConstRegPatching_at( nm->next_instruction_address() );
|
||||
|
@ -616,7 +616,7 @@ void NativeMovRegMem::test() {
|
|||
a->sethi(al2, I3); a->add(I3, al2.low10(), I3);
|
||||
a->stf( FloatRegisterImpl::S, F15, O0, I3 ); idx++;
|
||||
|
||||
nm = nativeMovRegMem_at( cb.code_begin() );
|
||||
nm = nativeMovRegMem_at( cb.insts_begin() );
|
||||
nm->print();
|
||||
nm->set_offset( low10(0) );
|
||||
nm->print();
|
||||
|
@ -760,7 +760,7 @@ void NativeMovRegMemPatching::test() {
|
|||
a->sethi(al, I3); a->nop(); a->add(I3, al.low10(), I3);
|
||||
a->stf( FloatRegisterImpl::S, F15, O0, I3 ); idx++;
|
||||
|
||||
nm = nativeMovRegMemPatching_at( cb.code_begin() );
|
||||
nm = nativeMovRegMemPatching_at( cb.insts_begin() );
|
||||
nm->print();
|
||||
nm->set_offset( low10(0) );
|
||||
nm->print();
|
||||
|
@ -849,7 +849,7 @@ void NativeJump::test() {
|
|||
a->jmpl(I3, al.low10(), L3, RelocationHolder::none);
|
||||
a->delayed()->nop();
|
||||
|
||||
nj = nativeJump_at( cb.code_begin() );
|
||||
nj = nativeJump_at( cb.insts_begin() );
|
||||
nj->print();
|
||||
|
||||
nj = nativeJump_at( nj->next_instruction_address() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue