Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 6dadee8d3dba9245ef726b1499257b1f0eed07ca..7ef76a662eb4d8ae57243cca85eb7b2a7cfd7724 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -202,7 +202,11 @@ FlowGraphCompiler::FlowGraphCompiler( |
ASSERT(assembler != NULL); |
ASSERT(!list_class_.IsNull()); |
- bool stack_traces_only = !FLAG_profiler; |
+#if defined(PRODUCT) |
+ const bool stack_traces_only = true; |
+#else |
+ const bool stack_traces_only = false; |
+#endif |
code_source_map_builder_ = new (zone_) |
CodeSourceMapBuilder(stack_traces_only, caller_inline_id, |
inline_id_to_token_pos, inline_id_to_function); |