Commit 15b01e8
authored
Make STACK_BASE refer to the starting stack location on threads (#9033)
This is already a case on the main thread. However, on WASM backend,
STACK_BASE == STACK_MAX == the lowest address on the stack, i.e. the
point where the stack can grow to. This makes it impossible to find
the highest address on the stack, i.e. the bottom of the stack.
This PR makes the behaviour consistent between the main thread and
other threads by making other threads follow the conventions of the
main thread.1 parent 225dd7d commit 15b01e8
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
| |||
0 commit comments