CompiledCode.st
changeset 225 7c8e57cc5b13
parent 159 514c749165c3
child 249 810798c5c2e5
--- a/CompiledCode.st	Sun Feb 05 22:30:01 1995 +0100
+++ b/CompiledCode.st	Sun Feb 05 22:30:38 1995 +0100
@@ -23,7 +23,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.6 1994-10-10 00:25:41 claus Exp $
+$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.7 1995-02-05 21:30:33 claus Exp $
 '!
 
 !ExecutableCodeObject class methodsFor:'documentation'!
@@ -44,7 +44,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.6 1994-10-10 00:25:41 claus Exp $
+$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.7 1995-02-05 21:30:33 claus Exp $
 "
 !
 
@@ -55,8 +55,21 @@
 
     Instance variables:
 
-    byteCode    <ByteArray>       bytecode if its an interpreted codeobject
-    literals    <Array>           the block/methods literal array
+      byteCode    <ByteArray>       bytecode if its an interpreted codeobject
+      literals    <Array>           the block/methods literal array
+
+
+    Class variables:
+
+      NoByteCodeSignal              raised if a codeObject is about to be executed
+				    which has neither code nor byteCode (i.e. both are nil)
+      InvalidByteCodeSignal         raised if byteCode is not an instance of ByteArray
+      InvalidInstructionSignal      raised if an invalid instruction opcode is encountered
+      BadLiteralsSignal             raised if literalArray is not an array
+      NonBooleanReceiverSignal      raised for conditional jumps where receiver is not a boolean
+      ArgumentSignal                raised if argument count is not what the codeObject expects
+
+    all of these signals are children of ExecutionErrorSignal.
 
     NOTICE: layout known by runtime system and compiler - do not change
 "