Smalltalk.st
changeset 17435 6057cb39678c
parent 17434 2de1708de7b5
child 17436 1b392b8e6cb4
--- a/Smalltalk.st	Sat Feb 07 15:34:29 2015 +0100
+++ b/Smalltalk.st	Sat Feb 07 15:37:24 2015 +0100
@@ -4572,6 +4572,17 @@
     "
 !
 
+ignoreAssertions
+    "return true, if assertions are to be ignored (i.e. not executed).
+     This is false by default in an IDE (i.e. full smalltalk),
+     but can be set to true for standAlone applications
+     (whether that is a good idea and helps, is another question)
+     However, it may make the app a little faster, if assertions are compatational  
+     expensive, as they are skipped (the stc compiler is generatig code which skips those)."
+
+    ^ IgnoreAssertion
+!
+
 isHeadless
     "return true, if this is a headless application
      i.e. no default Display connection is required/used"
@@ -8167,11 +8178,11 @@
 !Smalltalk class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.1109 2015-02-07 14:34:29 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.1110 2015-02-07 14:37:24 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.1109 2015-02-07 14:34:29 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Smalltalk.st,v 1.1110 2015-02-07 14:37:24 cg Exp $'
 !
 
 version_SVN