| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index 4bc2ec6d3107df1f41b712690c22ad1c0f9c2548..8cdd8730dc8b7f5dc7ede604e6339e340a7586ad 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -54,8 +54,8 @@ RECOGNIZED_LIST(KIND_TO_STRING)
|
|
|
| // ==== Support for visiting flow graphs.
|
| #define DEFINE_ACCEPT(ShortName, ClassName) \
|
| -void ClassName::Accept(FlowGraphVisitor* visitor) { \
|
| - visitor->Visit##ShortName(this); \
|
| +void ClassName::Accept(FlowGraphVisitor* visitor, BindInstr* instr) { \
|
| + visitor->Visit##ShortName(this, instr); \
|
| }
|
|
|
| FOR_EACH_COMPUTATION(DEFINE_ACCEPT)
|
| @@ -93,15 +93,6 @@ void FlowGraphVisitor::VisitBlocks() {
|
| }
|
|
|
|
|
| -void Computation::ReplaceWith(Computation* other) {
|
| - ASSERT(other->instr() == NULL);
|
| - ASSERT(instr() != NULL);
|
| - other->set_instr(other->instr());
|
| - instr()->replace_computation(other);
|
| - set_instr(NULL);
|
| -}
|
| -
|
| -
|
| intptr_t InstanceCallComp::InputCount() const {
|
| return ArgumentCount();
|
| }
|
|
|