Commit 0e6738a
authored
runtime: Force run_reset_flow to not inline (#3881)
The run_reset_flow was previously inlined as part of the runtime entry
point. This method was only invoked once during initialization, but due
to being inlined its stack requirements (~6Kb) persisted for the entire
duration of the runtime execution.
By forcing the function to no longer be inlined its stack usage is
recovered after completion, saving ~6Kb of stack space, and ~400 bytes
of instruction memory.1 parent ef49bbf commit 0e6738a
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
| |||
0 commit comments