mirror of
https://github.com/herumi/xbyak
synced 2024-11-21 16:09:11 -07:00
putNop in making label
This commit is contained in:
parent
0b673ddbf2
commit
abae0742fb
1 changed files with 6 additions and 6 deletions
12
test/jmp.cpp
12
test/jmp.cpp
|
@ -640,22 +640,22 @@ void testNewLabel()
|
|||
Label label3;
|
||||
Label label4;
|
||||
Label exit;
|
||||
jmp(label1);
|
||||
jmp(label1, T_NEAR);
|
||||
L(label2);
|
||||
inc(eax); // 2
|
||||
jmp(label3);
|
||||
jmp(label3, T_NEAR);
|
||||
L(label4);
|
||||
inc(eax); // 4
|
||||
jmp(exit);
|
||||
jmp(exit, T_NEAR);
|
||||
putNop(this, 128);
|
||||
L(label3);
|
||||
inc(eax); // 3
|
||||
jmp(label4);
|
||||
jmp(label4, T_NEAR);
|
||||
L(label1);
|
||||
inc(eax); // 1
|
||||
jmp(label2);
|
||||
jmp(label2, T_NEAR);
|
||||
L(exit);
|
||||
}
|
||||
putNop(this, 128);
|
||||
{
|
||||
Label label1;
|
||||
Label label2;
|
||||
|
|
Loading…
Reference in a new issue