Skip to content

Commit b7facb5

Browse files
committed
Fix generic sandbox inline assembly label
1 parent edd8b34 commit b7facb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/polkavm/src/sandbox/generic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ impl super::Sandbox for Sandbox {
14781478
push rbx
14791479
14801480
// Fill in the return address.
1481-
lea rbx, [rip+1f]
1481+
lea rbx, [rip+2f]
14821482
mov [r14], rbx
14831483
14841484
// Fill in the return stack pointer.
@@ -1491,7 +1491,7 @@ impl super::Sandbox for Sandbox {
14911491
jmp {entry_point}
14921492
14931493
// We will jump here on exit.
1494-
1:
1494+
2:
14951495
14961496
pop rbx
14971497
pop rbp

0 commit comments

Comments
 (0)