File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1135,7 +1135,7 @@ fn save_last_wasm_exit_fp_and_pc(
1135
1135
) ;
1136
1136
builder
1137
1137
. ins ( )
1138
- . trapnz ( is_overflow, ir:: TrapCode :: StackOverflow ) ;
1138
+ . trapnz ( is_overflow, ir:: TrapCode :: STACK_OVERFLOW ) ;
1139
1139
1140
1140
// Save the exit Wasm FP to the limits. We dereference the current FP to get
1141
1141
// the previous FP because the current FP is the trampoline's FP, and we
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ impl InterpreterRef<'_> {
129
129
let regs = TrapRegisters {
130
130
pc : pc. as_ptr ( ) as usize ,
131
131
fp : self . 0 [ XReg :: fp] . get_ptr :: < u8 > ( ) as usize ,
132
+ sp : self . 0 [ XReg :: sp] . get_ptr :: < u8 > ( ) as usize ,
132
133
} ;
133
134
tls:: with ( |s| {
134
135
let s = s. unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments