aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/nruncomp.boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interp/nruncomp.boot b/src/interp/nruncomp.boot
index 3dd701ca..f961ff10 100644
--- a/src/interp/nruncomp.boot
+++ b/src/interp/nruncomp.boot
@@ -160,7 +160,9 @@ optDeltaEntry(op,sig,dc,eltOrConst) ==
atom dc and (dcval := get(dc,'value,$e)) => dcval.expr
dc
sig := MSUBST(ndc,dc,sig)
- not optimizableDomain? ndc => nil
+ -- Don't bothe if the domain of computation is not an instantiation,
+ -- or is candidate for inlining.
+ atom ndc or not optimizableDomain? ndc => nil
fun := lookupDefiningFunction(op,sig,ndc)
if fun = nil then
-- following code is to handle selectors like first, rest