Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index d9fb4a9b0d0335045a42477c6378879061f555c4..f471224b42c5430f7f2c551efe569f0e10609990 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -394,7 +394,7 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { |
// Type-check the function. |
AstTyper::Run(info()); |
- graph_builder_ = FLAG_hydrogen_track_positions |
+ graph_builder_ = (FLAG_hydrogen_track_positions || FLAG_trace_ic) |
? new(info()->zone()) HOptimizedGraphBuilderWithPositions(info()) |
: new(info()->zone()) HOptimizedGraphBuilder(info()); |