| Index: runtime/vm/intermediate_language.h
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.h (revision 14174)
|
| +++ runtime/vm/intermediate_language.h (working copy)
|
| @@ -2325,10 +2325,12 @@
|
|
|
| virtual bool CanDeoptimize() const {
|
| return (operands_class_id() != kDoubleCid)
|
| + && (operands_class_id() != kMintCid)
|
| && (operands_class_id() != kSmiCid);
|
| }
|
| virtual bool HasSideEffect() const {
|
| return (operands_class_id() != kDoubleCid)
|
| + && (operands_class_id() != kMintCid)
|
| && (operands_class_id() != kSmiCid);
|
| }
|
|
|
| @@ -2344,7 +2346,9 @@
|
|
|
| virtual Representation RequiredInputRepresentation(intptr_t idx) const {
|
| ASSERT((idx == 0) || (idx == 1));
|
| - return (operands_class_id() == kDoubleCid) ? kUnboxedDouble : kTagged;
|
| + if (operands_class_id() == kDoubleCid) return kUnboxedDouble;
|
| + if (operands_class_id() == kMintCid) return kUnboxedMint;
|
| + return kTagged;
|
| }
|
|
|
| private:
|
|
|