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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 1096203007: VM: Use canonical empty-array for empty inlining meta-data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: saved one more array per unoptimized code object Created 5 years, 8 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
===================================================================
--- runtime/vm/flow_graph_compiler.h (revision 45397)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -527,8 +527,7 @@
void AddStubCallTarget(const Code& code);
const Array& inlined_code_intervals() const {
- ASSERT(inlined_code_intervals_ != NULL);
- return *inlined_code_intervals_;
+ return inlined_code_intervals_;
}
RawArray* InliningIdToFunction() const;
@@ -708,7 +707,7 @@
ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
- const Array* inlined_code_intervals_;
+ Array& inlined_code_intervals_;
const GrowableArray<const Function*>& inline_id_to_function_;
const GrowableArray<intptr_t>& caller_inline_id_;
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698