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

Unified Diff: runtime/vm/flow_graph_inliner.h

Issue 2254053002: Move inlining of recognized SIMD methods to the flow-graph inliner. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing guard for speculative inlining Created 4 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
Index: runtime/vm/flow_graph_inliner.h
diff --git a/runtime/vm/flow_graph_inliner.h b/runtime/vm/flow_graph_inliner.h
index 04bca93d3488427ffe7cb78ecada5987b220702e..9f3a1c4ed36582dffcd525a7add86dcba72beffd 100644
--- a/runtime/vm/flow_graph_inliner.h
+++ b/runtime/vm/flow_graph_inliner.h
@@ -17,6 +17,7 @@ class ForwardInstructionIterator;
class Function;
class InstanceCallInstr;
class Instruction;
+class StaticCallInstr;
class TargetEntryInstr;
class FlowGraphInliner : ValueObject {
@@ -49,6 +50,11 @@ class FlowGraphInliner : ValueObject {
ForwardInstructionIterator* iterator,
InstanceCallInstr* call);
+ static bool TryReplaceStaticCallWithInline(
+ FlowGraph* flow_graph,
+ ForwardInstructionIterator* iterator,
+ StaticCallInstr* call);
+
static bool TryInlineRecognizedMethod(FlowGraph* flow_graph,
intptr_t receiver_cid,
const Function& target,

Powered by Google App Engine
This is Rietveld 408576698