aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-object.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-object.boot')
-rw-r--r--src/interp/i-object.boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/i-object.boot b/src/interp/i-object.boot
index 401ed7fc..56a09579 100644
--- a/src/interp/i-object.boot
+++ b/src/interp/i-object.boot
@@ -67,8 +67,8 @@ $useIntegerSubdomain := true
-- These are the new structure functions.
-objNew(val, mode) == CONS(mode,val) -- new names as of 10/14/93
-objNewWrap(val, mode) == CONS(mode,wrap val)
+objNew(val, mode) == [mode,:val] -- new names as of 10/14/93
+objNewWrap(val, mode) == [mode,:wrap val]
objNewCode(val, mode) == ["CONS", MKQ mode,val ]
objSetVal(obj,val) == obj.rest := val
objSetMode(obj,mode) == obj.first := mode
@@ -133,10 +133,10 @@ instantiationNormalForm(op,argl) ==
-- Tuples and Crosses
asTupleNew(eltType,size,listOfElts) ==
- CONS(size, makeSimpleArrayFromList(eltType,listOfElts))
+ [size,:makeSimpleArrayFromList(eltType,listOfElts)]
asTupleNew0(eltType,listOfElts) ==
- CONS(#listOfElts, makeSimpleArrayFromList(eltType,listOfElts))
+ [#listOfElts,:makeSimpleArrayFromList(eltType,listOfElts)]
asTupleNewCode(eltType, size, listOfElts) ==
["asTupleNew", quoteForm getVMType eltType, size, ["LIST", :listOfElts]]