| Index: src/compiler/gap-resolver.cc
|
| diff --git a/src/compiler/gap-resolver.cc b/src/compiler/gap-resolver.cc
|
| index f369607170b2429c9c0d21f19f6836770b53dc59..cdf80857f0e3260292e513a82b4f2b27e62942c8 100644
|
| --- a/src/compiler/gap-resolver.cc
|
| +++ b/src/compiler/gap-resolver.cc
|
| @@ -15,12 +15,10 @@ namespace compiler {
|
| typedef ZoneList<MoveOperands>::iterator op_iterator;
|
|
|
| #ifdef ENABLE_SLOW_DCHECKS
|
| -// TODO(svenpanne) Brush up InstructionOperand with comparison?
|
| struct InstructionOperandComparator {
|
| bool operator()(const InstructionOperand* x,
|
| const InstructionOperand* y) const {
|
| - return (x->kind() < y->kind()) ||
|
| - (x->kind() == y->kind() && x->index() < y->index());
|
| + return *x < *y;
|
| }
|
| };
|
| #endif
|
|
|