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 8ee44291bda29c9d7db2063a4cc98bdda182de88..a11ac0560c7c69e80c8326ae60c2bbf7a441d8da 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -78,7 +78,8 @@ class DeoptCodegenTester { |
} |
Frame frame; |
- RegisterAllocator allocator(scope_->main_zone(), &frame, code); |
+ RegisterAllocator allocator(RegisterAllocator::PlatformConfig(), |
+ scope_->main_zone(), &frame, code); |
CHECK(allocator.Allocate()); |
if (FLAG_trace_turbo) { |