commenting
authorclaus
Sun, 05 Feb 1995 22:30:38 +0100
changeset 225 7c8e57cc5b13
parent 224 2d74d815dee1
child 226 9287f8ace7ae
commenting
CompCode.st
CompiledCode.st
ExecFunc.st
ExecutableFunction.st
--- a/CompCode.st	Sun Feb 05 22:30:01 1995 +0100
+++ b/CompCode.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/Attic/CompCode.st,v 1.6 1994-10-10 00:25:41 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CompCode.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/Attic/CompCode.st,v 1.6 1994-10-10 00:25:41 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CompCode.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
 "
--- 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
 "
--- a/ExecFunc.st	Sun Feb 05 22:30:01 1995 +0100
+++ b/ExecFunc.st	Sun Feb 05 22:30:38 1995 +0100
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/Attic/ExecFunc.st,v 1.6 1994-10-10 00:25:44 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/ExecFunc.st,v 1.7 1995-02-05 21:30:38 claus Exp $
 '!
 
 !ExecutableFunction class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/Attic/ExecFunc.st,v 1.6 1994-10-10 00:25:44 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/ExecFunc.st,v 1.7 1995-02-05 21:30:38 claus Exp $
 "
 !
 
@@ -53,10 +53,18 @@
 
     Instance variables:
 
-    code        <not_an_object>   the function pointer to the machine code.
-				  Not accessable from smalltalk code.
+      code        <not_an_object>   the function pointer to the machine code.
+				    Not accessable from smalltalk code.
+
+      flags       <SmallInteger>    special flag bits coded in a number
+
 
-    flags       <SmallInteger>    special flag bits coded in a number
+    Class variables:
+
+      ExecutionErrorSignal          parent of all execution errors
+				    (not raised itself)
+
+      InvalidCodeSignal             codeObject is not executable
 
     NOTICE: layout known by runtime system and compiler - do not change
 "
--- a/ExecutableFunction.st	Sun Feb 05 22:30:01 1995 +0100
+++ b/ExecutableFunction.st	Sun Feb 05 22:30:38 1995 +0100
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.6 1994-10-10 00:25:44 claus Exp $
+$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.7 1995-02-05 21:30:38 claus Exp $
 '!
 
 !ExecutableFunction class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.6 1994-10-10 00:25:44 claus Exp $
+$Header: /cvs/stx/stx/libbasic/ExecutableFunction.st,v 1.7 1995-02-05 21:30:38 claus Exp $
 "
 !
 
@@ -53,10 +53,18 @@
 
     Instance variables:
 
-    code        <not_an_object>   the function pointer to the machine code.
-				  Not accessable from smalltalk code.
+      code        <not_an_object>   the function pointer to the machine code.
+				    Not accessable from smalltalk code.
+
+      flags       <SmallInteger>    special flag bits coded in a number
+
 
-    flags       <SmallInteger>    special flag bits coded in a number
+    Class variables:
+
+      ExecutionErrorSignal          parent of all execution errors
+				    (not raised itself)
+
+      InvalidCodeSignal             codeObject is not executable
 
     NOTICE: layout known by runtime system and compiler - do not change
 "