| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index 2146042f275711d7113748f7d75e7573052a982d..5fdb2736be191569b0327bce1dfde1eae02990f9 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -297,6 +297,10 @@ class Instruction : public ZoneAllocated {
|
| // Call instructions override this function and return the number of
|
| // pushed arguments.
|
| virtual intptr_t ArgumentCount() const = 0;
|
| + virtual PushArgumentInstr* ArgumentAt(intptr_t index) const {
|
| + UNREACHABLE();
|
| + return NULL;
|
| + };
|
|
|
| // Returns true, if this instruction can deoptimize.
|
| virtual bool CanDeoptimize() const = 0;
|
| @@ -1738,6 +1742,9 @@ class PolymorphicInstanceCallInstr : public TemplateDefinition<0> {
|
| virtual intptr_t ArgumentCount() const {
|
| return instance_call()->ArgumentCount();
|
| }
|
| + PushArgumentInstr* ArgumentAt(intptr_t index) const {
|
| + return instance_call()->ArgumentAt(index);
|
| + }
|
|
|
| DECLARE_INSTRUCTION(PolymorphicInstanceCall)
|
| virtual RawAbstractType* CompileType() const;
|
|
|