--- a/RegressionTests__CompilerTests2.st Sat Dec 05 11:54:30 2015 +0000
+++ b/RegressionTests__CompilerTests2.st Sat Dec 05 10:28:00 2015 +0000
@@ -932,7 +932,7 @@
test_argAndVarNames_01
- #(bc jit stc) do:[:mode |
+ (#(bc stc) , (ObjectMemory justInTimeCompilation ifTrue:[#(jit)] ifFalsE:[#()]) do:[:mode |
savedContextArgAndVarNames := nil.
self compile: (self class >> #method_argAndVarNames_01) source mode: mode.
self perform: (mode , '_method_argAndVarNames_01') asSymbol.
@@ -947,7 +947,7 @@
test_argAndVarNames_02
- #(bc jit stc) do:[:mode |
+ (#(bc stc) , (ObjectMemory justInTimeCompilation ifTrue:[#(jit)] ifFalsE:[#()]) do:[:mode |
savedContextArgAndVarNames := nil.
self compile: (self class >> #method_argAndVarNames_02) source mode: mode.
self perform: (mode , '_method_argAndVarNames_02') asSymbol.
@@ -965,7 +965,7 @@
"/ lifted to its home context.
"/ It is questionable if the test is right.
- #(bc jit stc) do:[:mode |
+ (#(bc stc) , (ObjectMemory justInTimeCompilation ifTrue:[#(jit)] ifFalsE:[#()]) do:[:mode |
savedContextArgAndVarNames := nil.
self compile: (self class >> #method_argAndVarNames_03) source mode: mode.
self perform: (mode , '_method_argAndVarNames_03') asSymbol.
@@ -1051,6 +1051,10 @@
test_lineno_01_jit
| m002 m300 l |
+
+ self skipIf: ObjectMemory justInTimeCompilation not
+ description: 'Just-in-time compilation not supported on this setup'.
+
m002 := self compile: (self class >> #method_lineno_002) source mode: #jit.
m300 := self compile: (self class >> #method_lineno_300) source mode: #jit.
@@ -1247,6 +1251,9 @@
test_methodslot_01_jit
| m |
+ self skipIf: ObjectMemory justInTimeCompilation not
+ description: 'Just-in-time compilation not supported on this setup'.
+
m := self compile: (self class >> #method_methodslot_01:) source mode: #jit.
self jit_method_methodslot_01: m.
self assert: m code notNil.
@@ -1277,6 +1284,9 @@
test_methodslot_02_jit
| m |
+ self skipIf: ObjectMemory justInTimeCompilation not
+ description: 'Just-in-time compilation not supported on this setup'.
+
m := self compile: (self class >> #method_methodslot_02:) source mode: #jit.
self jit_method_methodslot_02: m.
self assert: m code notNil.
@@ -1307,6 +1317,9 @@
test_methodslot_03_jit
| m |
+ self skipIf: ObjectMemory justInTimeCompilation not
+ description: 'Just-in-time compilation not supported on this setup'.
+
m := self compile: (self class >> #method_methodslot_03:) source mode: #jit.
self jit_method_methodslot_03: m.
self assert: m code notNil.