aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-03-04 07:47:36 +0000
committerdos-reis <gdr@axiomatics.org>2010-03-04 07:47:36 +0000
commit5c643bf0dce03bf61ead5b95c27de845ac242680 (patch)
treebbfc41a53872a179105e843f32ce7fe74fe55083 /src/interp/g-opt.boot
parent89122c246b751bba715be67884000a0ef236975d (diff)
downloadopen-axiom-5c643bf0dce03bf61ead5b95c27de845ac242680.tar.gz
* interp/c-util.boot (quoteMinimally): New.
(registerFunctionReplacement): Likewise. * interp/define.boot (spadCompileOrSetq): Use it. * interp/g-opt.boot (optSpecialCall): Likewise. * interp/nruncomp.boot (optDeltaEntry): Likewise. * interp/spad.lisp (|knownEqualPred|): Likewise. * interp/wi2.boot (optDeltaEntry): Likewise.
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index 0e951254..cd095542 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2009, Gabriel Dos Reis.
+-- Copyright (C) 2007-2010, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -215,7 +215,7 @@ optSpecialCall(x,y,n) ==
keyedSystemError("S2GE0016",['"optSpecialCall",
'"invalid constant"])
MKQ yval.n
- fn := GETL(compileTimeBindingOf first yval.n,'SPADreplace) =>
+ fn := getFunctionReplacement compileTimeBindingOf first yval.n =>
rplac(rest x,CDAR x)
rplac(first x,fn)
if fn is ["XLAM",:.] then x:=first optimize [x]