aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index 2548cb53..0cf42d43 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -554,7 +554,7 @@ optCall (x is ['%call,:u]) ==
fn is ['%external,op] =>
x.first := op
x.rest := a
- opt := op has OPTIMIZE => resetTo(x,apply(opt,x,nil))
+ opt := op has OPTIMIZE => resetTo(x,apply(opt,[x]))
x
fn is ['ELT,:.] => emitIndirectCall(fn,a,x)
fn is ['CONST,R,n] => ['spadConstant,R,n]