| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index d3959f3afa8886243e0aeab7f2950599e10621ac..9ac254a7526b3c43302cfe0f182c62b02773a5a7 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -3509,11 +3509,7 @@ class StoreInstanceFieldInstr : public TemplateDefinition<2> {
|
|
|
| bool IsPotentialUnboxedStore() const;
|
|
|
| - virtual Representation RequiredInputRepresentation(intptr_t index) const {
|
| - ASSERT((index == 0) || (index == 1));
|
| - if ((index == 1) && IsUnboxedStore()) return kUnboxedDouble;
|
| - return kTagged;
|
| - }
|
| + virtual Representation RequiredInputRepresentation(intptr_t index) const;
|
|
|
| private:
|
| friend class FlowGraphOptimizer; // For ASSERT(initialization_).
|
| @@ -4263,9 +4259,7 @@ class LoadFieldInstr : public TemplateDefinition<1> {
|
| const Field* field() const { return field_; }
|
| void set_field(const Field* field) { field_ = field; }
|
|
|
| - virtual Representation representation() const {
|
| - return IsUnboxedLoad() ? kUnboxedDouble : kTagged;
|
| - }
|
| + virtual Representation representation() const;
|
|
|
| bool IsUnboxedLoad() const;
|
|
|
|
|