| 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 0d2d5d142274b084d17a24a1e9ed3d4fe320a441..0feeda18598dcbb323fae40154ea76bad80869b8 100644
|
| --- a/test/cctest/compiler/test-codegen-deopt.cc
|
| +++ b/test/cctest/compiler/test-codegen-deopt.cc
|
| @@ -70,7 +70,8 @@ class DeoptCodegenTester {
|
| code = new v8::internal::compiler::InstructionSequence(scope_->main_zone(),
|
| graph, schedule);
|
| SourcePositionTable source_positions(graph);
|
| - InstructionSelector selector(linkage, code, schedule, &source_positions);
|
| + InstructionSelector selector(scope_->main_zone(), linkage, code, schedule,
|
| + &source_positions);
|
| selector.SelectInstructions();
|
|
|
| if (FLAG_trace_turbo) {
|
| @@ -79,7 +80,7 @@ class DeoptCodegenTester {
|
| }
|
|
|
| Frame frame;
|
| - RegisterAllocator allocator(&frame, &info, code);
|
| + RegisterAllocator allocator(scope_->main_zone(), &frame, &info, code);
|
| CHECK(allocator.Allocate());
|
|
|
| if (FLAG_trace_turbo) {
|
|
|