Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 5c384c24c1fe81da1b18c6b67f11fa531ef74476..f2571e3c6ddf2f815a81dc494274f6d7a4eb7358 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -558,8 +558,10 @@ Handle<Code> Pipeline::GenerateCode(Linkage* linkage, PipelineData* data) { |
if (FLAG_trace_turbo) { |
OFStream os(stdout); |
+ PrintableInstructionSequence printable = { |
+ RegisterConfiguration::ArchDefault(), &sequence}; |
os << "----- Instruction sequence before register allocation -----\n" |
- << sequence; |
+ << printable; |
TurboCfgFile tcf(isolate()); |
tcf << AsC1V("CodeGen", data->schedule(), data->source_positions(), |
&sequence); |
@@ -587,7 +589,7 @@ Handle<Code> Pipeline::GenerateCode(Linkage* linkage, PipelineData* data) { |
#endif |
- RegisterAllocator allocator(RegisterAllocator::PlatformConfig(), |
+ RegisterAllocator allocator(RegisterConfiguration::ArchDefault(), |
zone_scope.zone(), &frame, &sequence, |
debug_name.get()); |
if (!allocator.Allocate(data->pipeline_statistics())) { |
@@ -602,8 +604,10 @@ Handle<Code> Pipeline::GenerateCode(Linkage* linkage, PipelineData* data) { |
if (FLAG_trace_turbo) { |
OFStream os(stdout); |
+ PrintableInstructionSequence printable = { |
+ RegisterConfiguration::ArchDefault(), &sequence}; |
os << "----- Instruction sequence after register allocation -----\n" |
- << sequence; |
+ << printable; |
} |
if (data->pipeline_statistics() != NULL) { |