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

Unified Diff: runtime/vm/intermediate_language.h

Issue 23684059: Polymorphic inlining of [] operations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « 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 27433)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -132,6 +132,22 @@
V(_Uint32x4, withFlagZ, Uint32x4WithFlagZ, 1714792414) \
V(_Uint32x4, withFlagW, Uint32x4WithFlagW, 1516924162) \
V(_Uint32x4, _toFloat32x4, Uint32x4ToUint32x4, 2054503505) \
+ V(_ObjectArray, [], ObjectArrayGetIndexed, 93386978) \
+ V(_ImmutableArray, [], ImmutableArrayGetIndexed, 894753724) \
+ V(_GrowableObjectArray, [], GrowableArrayGetIndexed, 500679426) \
+ V(_Float32Array, [], Float32ArrayGetIndexed, 1103519924) \
+ V(_Float64Array, [], Float64ArrayGetIndexed, 749351746) \
+ V(_Int8Array, [], Int8ArrayGetIndexed, 78158949) \
+ V(_Uint8Array, [], Uint8ArrayGetIndexed, 380681966) \
+ V(_Uint8ClampedArray, [], Uint8ClampedArrayGetIndexed, 1171127014) \
+ V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1709616627) \
+ V(_ExternalUint8ClampedArray, [], ExternalUint8ClampedArrayGetIndexed, \
+ 1710139506) \
+ V(_Int16Array, [], Int16ArrayGetIndexed, 1070032854) \
+ V(_Uint16Array, [], Uint16ArrayGetIndexed, 692410555) \
+ V(_Int32Array, [], Int32ArrayGetIndexed, 665555051) \
+ V(_Uint32Array, [], Uint32ArrayGetIndexed, 1300156137) \
+ V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 1779360236) \
// A list of core function that should always be inlined.
@@ -1326,7 +1342,7 @@
class GraphEntryInstr : public BlockEntryInstr {
public:
- GraphEntryInstr(const ParsedFunction& parsed_function,
+ GraphEntryInstr(const ParsedFunction* parsed_function,
TargetEntryInstr* normal_entry,
intptr_t osr_id);
@@ -1371,7 +1387,7 @@
TargetEntryInstr* normal_entry() const { return normal_entry_; }
const ParsedFunction& parsed_function() const {
- return parsed_function_;
+ return *parsed_function_;
}
const GrowableArray<CatchBlockEntryInstr*>& catch_entries() const {
@@ -1384,7 +1400,7 @@
virtual void ClearPredecessors() {}
virtual void AddPredecessor(BlockEntryInstr* predecessor) { UNREACHABLE(); }
- const ParsedFunction& parsed_function_;
+ const ParsedFunction* parsed_function_;
TargetEntryInstr* normal_entry_;
GrowableArray<CatchBlockEntryInstr*> catch_entries_;
GrowableArray<Definition*> initial_definitions_;
« 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