Index: test/cctest/compiler/test-run-stubs.cc |
diff --git a/test/cctest/compiler/test-run-stubs.cc b/test/cctest/compiler/test-run-stubs.cc |
index 67c08b08d6452ae13eaff3d32e8cd5d48fcf3597..daf9a461b1d28959f033565cec349ed75c649a72 100644 |
--- a/test/cctest/compiler/test-run-stubs.cc |
+++ b/test/cctest/compiler/test-run-stubs.cc |
@@ -42,8 +42,10 @@ class StringLengthStubTF : public CodeStub { |
}; |
Handle<Code> GenerateCode() OVERRIDE { |
+ Zone zone; |
// Build a "hybrid" CompilationInfo for a JSFunction/CodeStub pair. |
- CompilationInfoWithZone info(GetFunction(isolate(), "STRING_LENGTH_STUB")); |
+ ParseInfo parse_info(&zone, GetFunction(isolate(), "STRING_LENGTH_STUB")); |
+ CompilationInfo info(&parse_info); |
info.SetStub(this); |
// Run a "mini pipeline", extracted from compiler.cc. |
CHECK(Parser::ParseStatic(info.parse_info())); |