compiler/tests/PPCUniversalOptimizationTest.st
changeset 537 fb212e14d1f4
parent 535 a8feb0f47574
child 538 16e8536f5cfb
--- a/compiler/tests/PPCUniversalOptimizationTest.st	Mon Sep 07 08:03:02 2015 +0100
+++ b/compiler/tests/PPCUniversalOptimizationTest.st	Mon Sep 07 08:20:46 2015 +0100
@@ -3,7 +3,7 @@
 "{ NameSpace: Smalltalk }"
 
 TestCase subclass:#PPCUniversalOptimizationTest
-	instanceVariableNames:'configuration'
+	instanceVariableNames:'compiler'
 	classVariableNames:''
 	poolDictionaries:''
 	category:'PetitCompiler-Tests-Core-Universal'
@@ -16,16 +16,15 @@
 !
 
 optimize: aPPParser
-    ^ aPPParser compileWithConfiguration: configuration.
+    ^ aPPParser compileUsingCompiler:compiler.
 !
 
 setUp
     super setUp.
-    
-    configuration := PPCConfiguration new.
-    configuration context options 
-        generate: false;
-        tokenize: false.
+    compiler := PPCCompiler new.
+    (compiler context options)
+        generate:false;
+        tokenize:false.
 
     "Modified: / 04-09-2015 / 16:21:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !