aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-04 07:10:18 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-04 07:10:18 +0000
commit0bb3dc5a46dbb26964bb3acb5b30fdcf49b6a2bd (patch)
tree640a1481aec98dca04d37b338e863b1d981a4900 /src/interp
parentda01d4d44eeecc005bad20b4cada7916ac8d3365 (diff)
downloadopen-axiom-0bb3dc5a46dbb26964bb3acb5b30fdcf49b6a2bd.tar.gz
* interp/sys-utility.boot (getVMType): Fix thinko.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/sys-utility.boot9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot
index 1a97df33..fa14650e 100644
--- a/src/interp/sys-utility.boot
+++ b/src/interp/sys-utility.boot
@@ -43,18 +43,19 @@ import vmlisp
++ getVMType returns an approximation of the underlying object type
++ representation of a domain, as a Lisp type specifier as seen by
++ the runtime system.
+getVMType: %Shell -> %Form
getVMType d ==
- case devaluate d of
+ case (d' := devaluate d) of
Void => "%Void"
Boolean => "%Boolean"
Byte => "%Byte"
Character => "%Char"
SingleInteger => "%Short"
- Integer => "%Integer"
+-- Integer => "%Bignum"
String => "%String"
List => "%List"
- Vector => "%Vector"
- PrimitiveArray => "SIMPLE-ARRAY"
+ Vector => ["%Vector",getVMType second d']
+ PrimitiveArray => ["%SimpleArray", getVMType second d']
Pair => "%Pair"
otherwise => "%Thing" -- good enough, for now.