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