Chromium Code Reviews| Index: runtime/vm/flow_graph_compiler.h |
| diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h |
| index 7a1e1569a035cf7d8b0744b2811cf0d8f3d7025a..b2dc4c138868c5360aaab4d45f80c4419a39120f 100644 |
| --- a/runtime/vm/flow_graph_compiler.h |
| +++ b/runtime/vm/flow_graph_compiler.h |
| @@ -587,6 +587,17 @@ class FlowGraphCompiler : public ValueObject { |
| RawArray* CallerInliningIdMap() const; |
| + CodeSourceMapBuilder* code_source_map_builder() { |
| + if (code_source_map_builder_ == NULL) { |
| + code_source_map_builder_ = new CodeSourceMapBuilder(); |
| + } |
| + ASSERT(code_source_map_builder_ != NULL); |
| + return code_source_map_builder_; |
| + } |
| + |
| + void SaveCodeSize(); |
|
rmacnak
2016/02/25 23:04:40
Consider BeginCodeSourceRange()/EndCodeSourceRange
Cutch
2016/02/26 15:59:22
Done.
|
| + bool MaybeEmitCodeSourceMapEntry(TokenPosition token_pos); |
| + |
| private: |
| friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_. |
| @@ -744,6 +755,8 @@ class FlowGraphCompiler : public ValueObject { |
| ExceptionHandlerList* exception_handlers_list_; |
| DescriptorList* pc_descriptors_list_; |
| StackmapTableBuilder* stackmap_table_builder_; |
| + CodeSourceMapBuilder* code_source_map_builder_; |
| + intptr_t saved_code_size_; |
| GrowableArray<BlockInfo*> block_info_; |
| GrowableArray<CompilerDeoptInfo*> deopt_infos_; |
| GrowableArray<SlowPathCode*> slow_path_code_; |