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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 10993023: Inline String isEmpty, refactor inlining of intrinsics. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_optimizer.h
===================================================================
--- runtime/vm/flow_graph_optimizer.h (revision 12881)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -64,6 +64,14 @@
bool InstanceCallNeedsClassCheck(InstanceCallInstr* call) const;
+ void InlineImplicitInstanceGetter(InstanceCallInstr* call);
+ void InlineArrayLengthGetter(InstanceCallInstr* call,
+ intptr_t length_offset,
+ bool is_immutable);
+ void InlineGArrayCapacityGetter(InstanceCallInstr* call);
+ void InlineStringLengthGetter(InstanceCallInstr* call);
+ void InlineStringIsEmptyTester(InstanceCallInstr* call);
+
FlowGraph* flow_graph_;
DISALLOW_COPY_AND_ASSIGN(FlowGraphOptimizer);
« no previous file with comments | « no previous file | runtime/vm/flow_graph_optimizer.cc » ('j') | runtime/vm/flow_graph_optimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698