Skip to content

Commit

Permalink
pop and push instead of popJs and pushJs
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Feb 15, 2022
1 parent 86aaf17 commit 518b33e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/@glimmer/runtime/lib/compiled/opcodes/expressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,10 @@ APPEND_OPCODES.add(Op.Log, (vm) => {
});

APPEND_OPCODES.add(Op.Equal, (vm) => {
let { positional } = check(vm.stack.popJs(), CheckArguments).capture();
let { positional } = check(vm.stack.pop(), CheckArguments).capture();
let stack = vm.stack;

stack.pushJs(
stack.push(
createComputeRef(() => {
let values = reifyPositional(positional);

Expand All @@ -331,10 +331,10 @@ APPEND_OPCODES.add(Op.Equal, (vm) => {
});

APPEND_OPCODES.add(Op.NotEqual, (vm) => {
let { positional } = check(vm.stack.popJs(), CheckArguments).capture();
let { positional } = check(vm.stack.pop(), CheckArguments).capture();
let stack = vm.stack;

stack.pushJs(
stack.push(
createComputeRef(() => {
let values = reifyPositional(positional);

Expand Down

0 comments on commit 518b33e

Please sign in to comment.