Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index e96b51cd7420d3c5313fb3c6d32ae12b8b0797aa..10d78bc964ce72e0f3de10883f9ef266456ea21c 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -963,7 +963,7 @@ void HGraphBuilder::LoopBuilder::EndBody() { |
HGraph* HGraphBuilder::CreateGraph() { |
graph_ = new(zone()) HGraph(info_); |
if (FLAG_hydrogen_stats) isolate()->GetHStatistics()->Initialize(info_); |
- CompilationPhase phase("H_Block building", isolate(), zone()); |
+ CompilationPhase phase("H_Block building", info_); |
set_current_block(graph()->entry_block()); |
if (!BuildGraph()) return NULL; |
graph()->FinalizeUniqueValueIds(); |
@@ -2384,7 +2384,7 @@ class PostorderProcessor : public ZoneObject { |
void HGraph::OrderBlocks() { |
- CompilationPhase phase("H_Block ordering", isolate(), zone()); |
+ CompilationPhase phase("H_Block ordering", info()); |
BitVector visited(blocks_.length(), zone()); |
ZoneList<HBasicBlock*> reverse_result(8, zone()); |
@@ -7932,7 +7932,7 @@ bool HOptimizedGraphBuilder::TryInline(CallKind call_kind, |
} |
// Parse and allocate variables. |
- CompilationInfo target_info(target, zone(), current_info()->phase_zone()); |
+ CompilationInfo target_info(target, zone()); |
Handle<SharedFunctionInfo> target_shared(target->shared()); |
if (!Parser::Parse(&target_info) || !Scope::Analyze(&target_info)) { |
if (target_info.isolate()->has_pending_exception()) { |