Index: src/mips64/macro-assembler-mips64.cc |
diff --git a/src/mips64/macro-assembler-mips64.cc b/src/mips64/macro-assembler-mips64.cc |
index 93b436bb4797874218caa701b5d3f4e0b70ea6fd..84e65d56a392c5a551bb2ddba37ac3f8c7eddf87 100644 |
--- a/src/mips64/macro-assembler-mips64.cc |
+++ b/src/mips64/macro-assembler-mips64.cc |
@@ -6014,9 +6014,9 @@ void MacroAssembler::IncrementCounter(StatsCounter* counter, int value, |
DCHECK(value > 0); |
if (FLAG_native_code_counters && counter->Enabled()) { |
li(scratch2, Operand(ExternalReference(counter))); |
- ld(scratch1, MemOperand(scratch2)); |
- Daddu(scratch1, scratch1, Operand(value)); |
- sd(scratch1, MemOperand(scratch2)); |
+ lw(scratch1, MemOperand(scratch2)); |
+ Addu(scratch1, scratch1, Operand(value)); |
+ sw(scratch1, MemOperand(scratch2)); |
} |
} |