compiler/tests/PPCOptimizeChoicesTest.st
changeset 535 a8feb0f47574
parent 534 a949c4fe44df
child 537 fb212e14d1f4
--- a/compiler/tests/PPCOptimizeChoicesTest.st	Sat Aug 29 07:56:14 2015 +0100
+++ b/compiler/tests/PPCOptimizeChoicesTest.st	Fri Sep 04 14:06:56 2015 +0100
@@ -22,14 +22,19 @@
     visitor := PPCOptimizeChoices new.
     
     options := PPCCompilationOptions default
-        profile: true.
+                    profile: true;
+                    generate: false;
+                    tokenize: false;
+                    yourself.
                 
-    configuration := PPCPluggableConfiguration on: [ :_self | 
-        _self runPass: PPCCacheFirstFollowPass.
-    ].
+    configuration := PPCConfiguration new.
+    configuration passes: 
+                        {
+                            PPCCacheFirstFollowPass.
+                        }.
     configuration options: options.
 
-    "Modified: / 29-08-2015 / 07:30:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 04-09-2015 / 16:21:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 testHasCommonPrefix