mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
Fix return address in scheduler
This commit is contained in:
@@ -22,6 +22,9 @@ tinygo_scanCurrentStack:
|
||||
mv a0, sp
|
||||
call tinygo_scanstack
|
||||
|
||||
// Restore return address.
|
||||
lw ra, 60(sp)
|
||||
|
||||
// Restore stack state.
|
||||
addi sp, sp, 64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user