aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-26 21:42:03 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-26 21:42:03 +0000
commite8a84fdadd3c571f757a204f019e102d038ba277 (patch)
treee0d8477b9027a5ff83236261a23a1e4b8152273a /src/interp/g-opt.boot
parent2cd5fff635d7b7954a220cf474172b4c0955cb55 (diff)
downloadopen-axiom-e8a84fdadd3c571f757a204f019e102d038ba277.tar.gz
* interp/nruncomp.boot (optDeltaEntry): Don't SPADCALL the
constant producing function. * interp/c-util.boot (getFunctionReplacement): Use comptileTimeBindingOf. (lookupDefiningFunction): Tidy. * interp/g-opt.boot (compileTimeBindingOf): Move to c-util.boot.
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index e6e8b934..0afc98dd 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -286,11 +286,6 @@ optCons (x is ["CONS",a,b]) ==
x
x
-compileTimeBindingOf u ==
- null(name:= BPINAME u) => keyedSystemError("S2OO0001",[u])
- name="Undef" => MOAN "optimiser found unknown function"
- name
-
optMkRecord ["mkRecord",:u] ==
u is [x] => ['%list,x]
#u=2 => ['%pair,:u]