Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 555e049af44d6fe5d32a55951ad571135b1796c4..584ad49708ccf9ebaa9a397dafdb9befdc8b029d 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -194,6 +194,7 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(Compiler::Analyze(info.parse_info())); |
CHECK(Compiler::EnsureDeoptimizationSupport(&info)); |
} |
+ JSFunction::EnsureLiterals(function); |
Handle<Code> code = Pipeline::GenerateCodeForTesting(&info); |
CHECK(!code.is_null()); |