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

Unified Diff: runtime/vm/intermediate_language.h

Issue 22839003: Polymorphic inlining for some recognized methods in the optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed modulo performance regression Created 7 years, 4 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/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 26420)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -136,6 +136,11 @@
// A list of core function that should always be inlined.
#define INLINE_WHITE_LIST(V) \
+ V(_ObjectArray, get:length, ObjectArrayLength, 1441000484) \
+ V(_ImmutableArray, get:length, ImmutableArrayLength, 1430953867) \
+ V(_TypedList, get:length, TypedDataLength, 117589485) \
+ V(_GrowableObjectArray, get:length, GrowableArrayLength, 767561362) \
+ V(_StringBase, get:length, StringBaseLength, 1158042795) \
V(ListIterator, moveNext, ListIteratorMoveNext, 657540761) \
V(_GrowableObjectArray, get:iterator, GrowableArrayIterator, 281980741) \
V(_GrowableObjectArray, forEach, GrowableArrayForEach, 334448248)
@@ -2703,6 +2708,8 @@
return instance_call()->PushArgumentAt(index);
}
+ bool HasRecognizedTarget() const;
+
DECLARE_INSTRUCTION(PolymorphicInstanceCall)
const ICData& ic_data() const { return ic_data_; }
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698