From 5c643bf0dce03bf61ead5b95c27de845ac242680 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 4 Mar 2010 07:47:36 +0000 Subject: * 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. --- src/interp/g-opt.boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interp/g-opt.boot') 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] -- cgit v1.2.3