* Rest the call stack so that it can be reused again.
()
| 323 | * Rest the call stack so that it can be reused again. |
| 324 | */ |
| 325 | reset(): void { |
| 326 | this.stackTop = 0; |
| 327 | assert(this.addressToSetTargetValue.length === 0); |
| 328 | while (this.tempArgs.length != 0) { |
| 329 | (this.tempArgs.pop() as Disposable).dispose(); |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | /** |
| 334 | * Commit all the cached data to WasmMemory. |
no test coverage detected