Chromium Code Reviews| Index: runtime/vm/flow_graph_optimizer.h |
| diff --git a/runtime/vm/flow_graph_optimizer.h b/runtime/vm/flow_graph_optimizer.h |
| index 08233a1dbbfdb84729812599e1095c4d1ce7ded7..cd59108378f80a0d5d9215b311fa7546c6aa5d50 100644 |
| --- a/runtime/vm/flow_graph_optimizer.h |
| +++ b/runtime/vm/flow_graph_optimizer.h |
| @@ -44,7 +44,8 @@ class FlowGraphOptimizer : public FlowGraphVisitor { |
| void AnalyzeTryCatch(); |
| - bool TryInlineRecognizedMethod(const Function& target, |
| + bool TryInlineRecognizedMethod(intptr_t receiver_cid, |
| + const Function& target, |
| Instruction* call, |
| intptr_t token_pos, |
| const ICData& ic_data, |
| @@ -119,8 +120,21 @@ class FlowGraphOptimizer : public FlowGraphVisitor { |
| LoadIndexedInstr* BuildStringCodeUnitAt(InstanceCallInstr* call, |
| intptr_t cid); |
| + bool InlineByteArrayViewLoad(Instruction* call, |
| + intptr_t array_cid, |
| + intptr_t view_cid, |
| + const ICData& ic_data, |
| + TargetEntryInstr** entry, |
| + Definition** last); |
| + |
| + intptr_t PrepareInlineByteArrayViewOp(Instruction* call, |
| + intptr_t array_cid, |
| + intptr_t view_cid, |
| + Definition** array, |
| + Definition* index, |
| + Instruction** cursor); |
| + |
| bool BuildByteArrayViewLoad(InstanceCallInstr* call, |
|
Cutch
2013/10/22 03:46:16
Minor cleanup here: Make signatures for BuildByteA
|
| - intptr_t receiver_cid, |
| intptr_t view_cid); |
| bool BuildByteArrayViewStore(InstanceCallInstr* call, |
| intptr_t view_cid); |