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

Unified Diff: runtime/vm/flow_graph_optimizer.h

Issue 47933004: VM: Fix bug in polymorphic inlining of recognized methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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_inliner.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
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 29361)
+++ runtime/vm/flow_graph_optimizer.h (working copy)
@@ -47,6 +47,7 @@
bool TryInlineRecognizedMethod(intptr_t receiver_cid,
const Function& target,
Instruction* call,
+ Definition* receiver,
intptr_t token_pos,
const ICData& ic_data,
TargetEntryInstr** entry,
@@ -77,6 +78,7 @@
bool InlineSetIndexed(MethodRecognizer::Kind kind,
const Function& target,
Instruction* call,
+ Definition* receiver,
intptr_t token_pos,
const ICData* ic_data,
const ICData& value_check,
@@ -85,6 +87,7 @@
bool TryReplaceWithLoadIndexed(InstanceCallInstr* call);
bool InlineGetIndexed(MethodRecognizer::Kind kind,
Instruction* call,
+ Definition* receiver,
const ICData& ic_data,
TargetEntryInstr** entry,
Definition** last);
@@ -120,6 +123,7 @@
intptr_t cid);
bool InlineByteArrayViewLoad(Instruction* call,
+ Definition* receiver,
intptr_t array_cid,
intptr_t view_cid,
const ICData& ic_data,
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698