Index: src/arm64/disasm-arm64.cc |
diff --git a/src/arm64/disasm-arm64.cc b/src/arm64/disasm-arm64.cc |
index dade3cd64af085d4cf73f28150d057ce86347213..614ac39e9cfbd0bbe358ecf9773bc79b5438594e 100644 |
--- a/src/arm64/disasm-arm64.cc |
+++ b/src/arm64/disasm-arm64.cc |
@@ -1559,7 +1559,7 @@ int Disassembler::SubstituteConditionField(Instruction* instr, |
switch (format[1]) { |
case 'B': cond = instr->ConditionBranch(); break; |
case 'I': { |
- cond = InvertCondition(static_cast<Condition>(instr->Condition())); |
+ cond = NegateCondition(static_cast<Condition>(instr->Condition())); |
break; |
} |
default: cond = instr->Condition(); |