From 4bffa24078d8b36292800aada4c26d200a1ec61f Mon Sep 17 00:00:00 2001 From: scott-newcomer Date: Mon, 26 Apr 2021 15:33:34 -0500 Subject: [PATCH] pop and push instead of popJs and pushJs --- .../@glimmer/runtime/lib/compiled/opcodes/expressions.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@glimmer/runtime/lib/compiled/opcodes/expressions.ts b/packages/@glimmer/runtime/lib/compiled/opcodes/expressions.ts index 5ac861ae27..83a9a2097a 100644 --- a/packages/@glimmer/runtime/lib/compiled/opcodes/expressions.ts +++ b/packages/@glimmer/runtime/lib/compiled/opcodes/expressions.ts @@ -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); @@ -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);