Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 2fcd35398ce29a28b7070ade4dc3e5c25f4c6319..f1fee7992163a5cf362882dce15ce4306b1d71c2 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -170,7 +170,7 @@ class FunctionTester : public InitializedHandleScope { |
info.MarkAsDeoptimizationEnabled(); |
CHECK(Parser::ParseStatic(info.parse_info())); |
- info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); |
+ info.SetOptimizing(); |
if (flags_ & CompilationInfo::kFunctionContextSpecializing) { |
info.MarkAsFunctionContextSpecializing(); |
} |
@@ -231,8 +231,7 @@ class FunctionTester : public InitializedHandleScope { |
CompilationInfo info(&parse_info); |
CHECK(Parser::ParseStatic(info.parse_info())); |
- info.SetOptimizing(BailoutId::None(), |
- Handle<Code>(function->shared()->code())); |
+ info.SetOptimizing(); |
CHECK(Compiler::Analyze(info.parse_info())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |