CompiledCode.st
changeset 131 39599c151f30
parent 106 a5906085b3e5
child 159 514c749165c3
--- a/CompiledCode.st	Mon Aug 22 14:19:19 1994 +0200
+++ b/CompiledCode.st	Mon Aug 22 14:20:44 1994 +0200
@@ -24,7 +24,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
               All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.4 1994-08-11 21:35:47 claus Exp $
+$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.5 1994-08-22 12:20:34 claus Exp $
 '!
 
 !ExecutableCodeObject class methodsFor:'documentation'!
@@ -45,7 +45,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.4 1994-08-11 21:35:47 claus Exp $
+$Header: /cvs/stx/stx/libbasic/CompiledCode.st,v 1.5 1994-08-22 12:20:34 claus Exp $
 "
 !
 
@@ -153,8 +153,7 @@
      Can only happen when Compiler/runtime system is broken or
      someone played around with a block/method."
 
-    NoByteCodeSignal raise.
-    ^ nil
+    ^ NoByteCodeSignal raise.
 !
 
 invalidByteCode
@@ -163,8 +162,7 @@
      Can only happen when Compiler/runtime system is broken or
      someone played around with a block/method."
 
-    InvalidByteCodeSignal raise.
-    ^ nil
+    ^ InvalidByteCodeSignal raise.
 !
 
 invalidInstruction
@@ -173,8 +171,7 @@
      Can only happen when Compiler/runtime system is broken or
      someone played around with the block/methods code."
 
-    InvalidInstructionSignal raise.
-    ^ nil
+    ^ InvalidInstructionSignal raise.
 !
 
 badLiteralTable
@@ -183,8 +180,7 @@
      compiler is broken or someone played around with a block/methods
      literal table or the GC is broken and corrupted it."
 
-    BadLiteralsSignal raise.
-    ^ nil
+    ^ BadLiteralsSignal raise.
 !
 
 receiverNotBoolean:anObject
@@ -192,8 +188,7 @@
      execute ifTrue:/ifFalse or whileTrue: type of expressions where the
      receiver is neither true nor false."
 
-    NonBooleanReceiverSignal raise.
-    ^ nil
+    ^ NonBooleanReceiverSignal raise.
 !
 
 tooManyArguments
@@ -201,7 +196,7 @@
      more arguments than supported by the interpreter. This can only happen,
      if the compiler has been changed without updating the VM."
 
-    ArgumentSignal
+    ^ ArgumentSignal
         raiseRequestWith:self
         errorString:'too many args in send'
 !
@@ -210,7 +205,7 @@
     "this error is triggered, if a non array is passed to #perform:with:
      or #value:with:."
 
-    ArgumentSignal
+    ^ ArgumentSignal
         raiseRequestWith:self
         errorString:'argumentArray must be an Array'
 ! !