diff options
author | dos-reis <gdr@axiomatics.org> | 2008-04-07 10:34:36 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-04-07 10:34:36 +0000 |
commit | da9f79f1d47983d726e90858f85b074dc88d0866 (patch) | |
tree | 1091fb7e2473a9910eb0592fa553856c5562df78 /src/interp/nruntime.boot | |
parent | 498b53ea49bdd7d640fc4f8426e8ecf6b0128cc5 (diff) | |
download | open-axiom-da9f79f1d47983d726e90858f85b074dc88d0866.tar.gz |
* interp/compiler.boot (compWithMappingMode): Use getShellEntry.
* interp/define.boot (compDefineFunctor1): Use setShellEntry.
(canCacheLocalDomain): Likewise.
(compilerCases): Likewise.
(doIt): Likewise.
* interp/functor.boot (setVector0): Likewise.
(setVector3): Likewise.
(setVector4part4): Likewise.
(setVector5): Likewise.
(mkVectorWithDeferral): Likewise.
(DescendCodeAdd1): Likewise.
(DescendCode): Likewise.
(ConsantCreator): Likewise.
(SetFunctionSlots): Likewise.
(CheckVector): Likewise.
* interp/g-opt.boot (optCall): Use getShellEntry.
(optSpecialCall): Likewise.
* interp/i-util.boot (devaluate): Likewise.
* interp/nruncomp.boot (buildFunctor): Use setShellEntry.
(NRTsetVector4a): Likewise.
(NRTputInLocalReferences): Use getShellEntry.
(NRTputInHead): Likewise.
* interp/nrunopt.boot (augmentPredVector): Use setShellEntry.
* interp/nruntime.boot (getShellEntry): New.
(setShellEntry): Likewise.
* interp/package.boot (processPackage): Use getShellEntry.
(PackageDescendCode): Use setShellEntry.
* interp/sys-globals.boot ($QuickCode): Remove.
* interp/template.boot (NRTdescendCodeTran): Use setShellEntry.
* interp/types.boot (%Void): New.
(%Shell): New.
* interp/wi2.boot (compDefineFunctor1): Use setShellEntry.
Diffstat (limited to 'src/interp/nruntime.boot')
-rw-r--r-- | src/interp/nruntime.boot | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/interp/nruntime.boot b/src/interp/nruntime.boot index 460f3e62..0275bd1e 100644 --- a/src/interp/nruntime.boot +++ b/src/interp/nruntime.boot @@ -35,6 +35,16 @@ import '"c-util" )package "BOOT" +++ fetchs the item in the nth entry of a domain shell. +getShellEntry: (%Shell,%Short) -> %Thing +getShellEntry(s,i) == + SVREF(s,i) + +++ sets the nth nth entry of a domain shell to an item. +setShellEntry: (%Shell,%Short,%Thing) -> %Thing +setShellEntry(s,i,t) == + SETF(SVREF(s,i),t) + unloadOneConstructor(cnam,fn) == REMPROP(cnam,'LOADED) SETF(SYMBOL_-FUNCTION cnam,mkAutoLoad(fn, cnam)) |