Chromium Code Reviews| Index: runtime/vm/intermediate_language.cc |
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
| index 4f4032fce706c7db24ec99c1057b89e3c0d63174..be38128e28f0d6df86e60ae14e60994d8b167358 100644 |
| --- a/runtime/vm/intermediate_language.cc |
| +++ b/runtime/vm/intermediate_language.cc |
| @@ -360,6 +360,13 @@ bool MathMinMaxInstr::AttributesEqual(Instruction* other) const { |
| } |
| +bool CheckedSmiOpInstr::AttributesEqual(Instruction* other) const { |
| + ASSERT(other->tag() == tag()); |
| + BinaryIntegerOpInstr* other_op = other->AsBinaryIntegerOp(); |
|
Vyacheslav Egorov (Google)
2016/03/04 13:30:36
BinaryIntegerOp -> CheckedSmiOp
Though I don't th
Florian Schneider
2016/03/04 16:55:09
Done. Removed.
|
| + return op_kind() == other_op->op_kind(); |
| +} |
| + |
| + |
| bool BinaryIntegerOpInstr::AttributesEqual(Instruction* other) const { |
| ASSERT(other->tag() == tag()); |
| BinaryIntegerOpInstr* other_op = other->AsBinaryIntegerOp(); |