Index: test/cctest/compiler/test-codegen-deopt.cc |
diff --git a/test/cctest/compiler/test-codegen-deopt.cc b/test/cctest/compiler/test-codegen-deopt.cc |
index 0feeda18598dcbb323fae40154ea76bad80869b8..799fa9438e47029d06ce692801f4a17f5ad30e5e 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -66,7 +66,7 @@ class DeoptCodegenTester { |
} |
// Initialize the codegen and generate code. |
- Linkage* linkage = new (scope_->main_zone()) Linkage(&info); |
+ Linkage* linkage = new (scope_->main_zone()) Linkage(info.zone(), &info); |
code = new v8::internal::compiler::InstructionSequence(scope_->main_zone(), |
graph, schedule); |
SourcePositionTable source_positions(graph); |
@@ -88,7 +88,7 @@ class DeoptCodegenTester { |
<< *code; |
} |
- compiler::CodeGenerator generator(&frame, linkage, code); |
+ compiler::CodeGenerator generator(&frame, linkage, code, &info); |
result_code = generator.GenerateCode(); |
#ifdef OBJECT_PRINT |