Skip to content

Commit

Permalink
Cleanup TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
linxuanm committed Oct 27, 2024
1 parent ddaad9a commit 0311e17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/WasmStack.v3
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class WasmStack extends ExecStack {
enum StackState {
EMPTY, // contains no frames
SUSPENDED, // contains one or more frames, waiting for inputs
CALL_CHILD, // waiting for child stack to return, TODO[ss]: change name
CALL_CHILD, // waiting for child stack to return
RESUMABLE, // all inputs set; can be resumed
RUNNING, // currently running Wasm or host code
RETURNING, // used internally
Expand Down
1 change: 0 additions & 1 deletion src/engine/v3/V3Target.v3
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class V3InterpreterOnlyStrategy extends ExecutionStrategy {
// in the execution `Result`.

// Runs the stack until a result is produced.
// TODO[ss]: handle throwing state
var r: Result;
match (stack.state()) {
RESUMABLE => r = stack.resume();
Expand Down

0 comments on commit 0311e17

Please sign in to comment.