| Index: runtime/vm/intermediate_language.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language.cc (revision 12420)
|
| +++ runtime/vm/intermediate_language.cc (working copy)
|
| @@ -72,6 +72,20 @@
|
| }
|
|
|
|
|
| +bool BinarySmiOpInstr::AttributesEqual(Definition* other) const {
|
| + BinarySmiOpInstr* other_op = other->AsBinarySmiOp();
|
| + ASSERT(other_op != NULL);
|
| + return op_kind() == other_op->op_kind();
|
| +}
|
| +
|
| +
|
| +bool StrictCompareInstr::AttributesEqual(Definition* other) const {
|
| + StrictCompareInstr* other_op = other->AsStrictCompare();
|
| + ASSERT(other_op != NULL);
|
| + return kind() == other_op->kind();
|
| +}
|
| +
|
| +
|
| bool LoadFieldInstr::AttributesEqual(Definition* other) const {
|
| LoadFieldInstr* other_load = other->AsLoadField();
|
| ASSERT(other_load != NULL);
|
|
|