Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 968183003: Emit stackmaps even in unoptimized code if slow path pushes untagged values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | runtime/vm/flow_graph_compiler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
diff --git a/runtime/vm/flow_graph_compiler.h b/runtime/vm/flow_graph_compiler.h
index 6e9c0dfa6e12b8b951c8c38538bd6bef49023314..60bffbded1bed58553f744a638c416872789f05e 100644
--- a/runtime/vm/flow_graph_compiler.h
+++ b/runtime/vm/flow_graph_compiler.h
@@ -637,6 +637,13 @@ class FlowGraphCompiler : public ValueObject {
intptr_t GetOptimizationThreshold() const;
+ StackmapTableBuilder* stackmap_table_builder() {
+ if (stackmap_table_builder_ == NULL) {
+ stackmap_table_builder_ = new StackmapTableBuilder();
koda 2015/03/03 17:57:48 Memory leak? We should also assert in the destruc
Vyacheslav Egorov (Google) 2015/03/03 18:01:07 it's a ZoneAllocated object as most of the things
+ }
+ return stackmap_table_builder_;
+ }
+
Isolate* isolate_;
Assembler* assembler_;
const ParsedFunction& parsed_function_;
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | runtime/vm/flow_graph_compiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698