Skip to content

Commit

Permalink
Whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Dec 7, 2020
1 parent 5bc4d60 commit 0e1b4f5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bril-ts/brili.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ function evalFunc(func: bril.Function, state: State): Value | null {
}
case 'speculate': {
// Begin speculation.
state.specparent = {...state};
state.env = new Map(state.env);
state.specparent = {...state};
state.env = new Map(state.env);
break;
}
case 'commit': {
Expand All @@ -745,10 +745,10 @@ function evalFunc(func: bril.Function, state: State): Value | null {
if (!state.specparent) {
throw error(`abort in non-speculative state`);
}
state.env = state.specparent.env;
state.lastlabel = state.specparent.lastlabel;
state.curlabel = state.specparent.curlabel;
state.specparent = state.specparent.specparent;
state.env = state.specparent.env;
state.lastlabel = state.specparent.lastlabel;
state.curlabel = state.specparent.curlabel;
state.specparent = state.specparent.specparent;
break;
}
case 'next':
Expand Down

0 comments on commit 0e1b4f5

Please sign in to comment.