compiler/benchmarks/PPCBenchmark.st
changeset 434 840942b96eea
parent 433 6fcdf4d2c32c
child 438 20598d7ce9fa
--- a/compiler/benchmarks/PPCBenchmark.st	Mon Apr 20 13:24:27 2015 +0100
+++ b/compiler/benchmarks/PPCBenchmark.st	Mon Apr 20 18:06:31 2015 +0100
@@ -497,7 +497,9 @@
 !
 
 teardownJavaSyntaxCompiledC
-	parser class removeFromSystem.
+	parser notNil ifTrue:[
+	    parser class removeFromSystem.
+	].	
 "	
 	size := input inject: 0 into: [:r :e | r + e size  ].
 	Transcript crShow: 'Compiled Grammar time: ', time asString.
@@ -506,7 +508,9 @@
 !
 
 teardownSmalltalkGrammarCompiledC
-	parser class removeFromSystem.
+	parser notNil ifTrue:[
+	    parser class removeFromSystem.
+	].
 "	
 	size := input inject: 0 into: [:r :e | r + e size  ].
 	Transcript crShow: 'Compiled Grammar time: ', time asString.