aboutsummaryrefslogtreecommitdiff
path: root/src/interp/wi2.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-03-10 09:02:58 +0000
committerdos-reis <gdr@axiomatics.org>2010-03-10 09:02:58 +0000
commit6844898e025e87c3d6753d648a65fe4a82b8bc55 (patch)
tree8337810e54a19623ecca05419f8e36bc7b73ffba /src/interp/wi2.boot
parentc4e4529187db6e0aba25f8af43cf7be4cc15386e (diff)
downloadopen-axiom-6844898e025e87c3d6753d648a65fe4a82b8bc55.tar.gz
* interp/nruncomp.boot (genDeltaEntry): Take a second, environment
argument. Pass to compOrCroak. * interp/compiler.boot (compElt): Adjust call to genDeltaEntry. (compCase1): Likewise. (coerceByModemap): Likewise. (autoCoerceByModemap): Likewise. (compCat): Likewise. (compViableModemap): Take an additional environment argument. Pass it to genDeltaEntry. (compApplyModemap): Adjust call to compViableModemap. (compResolveCall): Likewise.
Diffstat (limited to 'src/interp/wi2.boot')
-rw-r--r--src/interp/wi2.boot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/wi2.boot b/src/interp/wi2.boot
index 7e9e99a5..c66763cf 100644
--- a/src/interp/wi2.boot
+++ b/src/interp/wi2.boot
@@ -583,7 +583,7 @@ compElt(origForm,m,E) ==
[sig,[pred,val]]:= modemap
#sig~=2 and val isnt ["CONST",:.] => nil
--+
- val := genDeltaEntry [opOf anOp,:modemap]
+ val := genDeltaEntry([opOf anOp,:modemap],E)
x := markTran(origForm,[val],sig,[E])
[x,second sig,E] --implies fn calls used to access constants
compForm(origForm,m,E)
@@ -630,7 +630,7 @@ compApplyModemap(form,modemap,$e) ==
--$NRTflag=true and f is [op1,d,.] and NE(d,'$) and member(op1,'(ELT CONST)) =>
f is [op1,d,.] and op1 in '(ELT CONST Subsumed) =>
- [genDeltaEntry [op,:modemap],lt',$bindings]
+ [genDeltaEntry([op,:modemap],$e),lt',$bindings]
markImport mc
[f,lt',$bindings]
@@ -693,7 +693,7 @@ optDeltaEntry(op,sig,dc,eltOrConst) ==
-- ['XLAM,'ignore,MKQ SPADCALL fn]
getFunctionReplacement compileTimeBindingOf first fn
-genDeltaEntry opMmPair ==
+genDeltaEntry(opMmPair,e) ==
--called from compApplyModemap
--$NRTdeltaLength=0.. always equals length of $NRTdeltaList
[.,[odc,:.],.] := opMmPair