Index: src/hydrogen.cc |
=================================================================== |
--- src/hydrogen.cc (revision 6753) |
+++ src/hydrogen.cc (working copy) |
@@ -4690,7 +4690,7 @@ |
instr = new HBitNot(value); |
break; |
case Token::SUB: |
- instr = new HNeg(value); |
+ instr = new HMul(graph_->GetConstantMinus1(), value); |
break; |
default: |
UNREACHABLE(); |
@@ -5901,7 +5901,7 @@ |
UsePosition* current_pos = range->first_pos(); |
while (current_pos != NULL) { |
- if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) { |
+ if (current_pos->RegisterIsBeneficial()) { |
trace_.Add(" %d M", current_pos->pos().Value()); |
} |
current_pos = current_pos->next(); |