# HG changeset patch # User Thomas Wuerthinger # Date 1397770151 -7200 # Node ID 24dbd4a594903569f24d87b20bf173452ceddcd0 # Parent ec7d8b646b9fd5a792ff848f8989336352abab84 Fix partial evaluation test. diff -r ec7d8b646b9f -r 24dbd4a59490 graal/com.oracle.graal.truffle.test/src/com/oracle/graal/truffle/test/PartialEvaluationTest.java --- a/graal/com.oracle.graal.truffle.test/src/com/oracle/graal/truffle/test/PartialEvaluationTest.java Thu Apr 17 23:25:42 2014 +0200 +++ b/graal/com.oracle.graal.truffle.test/src/com/oracle/graal/truffle/test/PartialEvaluationTest.java Thu Apr 17 23:29:11 2014 +0200 @@ -64,7 +64,8 @@ protected InstalledCode assertPartialEvalEquals(String methodName, RootNode root, Object[] arguments) { Assumptions assumptions = new Assumptions(true); StructuredGraph actual = partialEval(root, arguments, assumptions, true); - InstalledCode result = truffleCompiler.compileMethodHelper(actual, assumptions, root.toString(), getSpeculationLog(), null); + InstalledCode result = new InstalledCode(); + truffleCompiler.compileMethodHelper(actual, assumptions, root.toString(), getSpeculationLog(), result); StructuredGraph expected = parseForComparison(methodName); removeFrameStates(actual); Assert.assertEquals(getCanonicalGraphString(expected, true, true), getCanonicalGraphString(actual, true, true));