diff options
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/interp/nruncomp.boot | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4e2b98a0..7997147d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2011-11-28 Gabriel Dos Reis <gdr@cs.tamu.edu> + * interp/nruncomp.boot (genDeltaEntry): Use $ for the domain of + computation it if is the expanded form of the current domain. + +2011-11-28 Gabriel Dos Reis <gdr@cs.tamu.edu> + * interp/c-util.boot (inlineDirectCall): Inline a non-side effect free argument in a unary pure function call if it is used exactly once. * algebra/integer.spad.pamphlet (Integer) [reducedSystem]: Fix typo. diff --git a/src/interp/nruncomp.boot b/src/interp/nruncomp.boot index 353492f4..2fe210e9 100644 --- a/src/interp/nruncomp.boot +++ b/src/interp/nruncomp.boot @@ -191,6 +191,8 @@ $onlyAbstractSlot := false genDeltaEntry(op,mm,e) == if mm.mmDC is 'Rep then mm := substitute(getRepresentation e,'Rep,mm) + else if (x := get('$,'%dc,e)) and x = mm.mmDC then + mm := MSUBST('$,x,mm) [[dc,:sig],[.,cform:=[kind,.,nsig]]] := mm if $profileCompiler then profileRecord(dc,op,sig) kind is 'XLAM => cform |