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 c9a033b29ed13c371ca39f44cadb9b67ea4d70b8..974b42346c65d3bf97a092bfa0a02eb7b328c85b 100644 |
--- a/test/cctest/compiler/test-codegen-deopt.cc |
+++ b/test/cctest/compiler/test-codegen-deopt.cc |
@@ -75,18 +75,22 @@ class DeoptCodegenTester { |
selector.SelectInstructions(); |
if (FLAG_trace_turbo) { |
+ PrintableInstructionSequence printable = { |
+ RegisterConfiguration::ArchDefault(), code}; |
os << "----- Instruction sequence before register allocation -----\n" |
- << *code; |
+ << printable; |
} |
Frame frame; |
- RegisterAllocator allocator(RegisterAllocator::PlatformConfig(), |
+ RegisterAllocator allocator(RegisterConfiguration::ArchDefault(), |
scope_->main_zone(), &frame, code); |
CHECK(allocator.Allocate()); |
if (FLAG_trace_turbo) { |
+ PrintableInstructionSequence printable = { |
+ RegisterConfiguration::ArchDefault(), code}; |
os << "----- Instruction sequence after register allocation -----\n" |
- << *code; |
+ << printable; |
} |
compiler::CodeGenerator generator(&frame, linkage, code, &info); |