Index: src/mips/constants-mips.cc |
diff --git a/src/mips/constants-mips.cc b/src/mips/constants-mips.cc |
index 1b23ed3b5fa2a63bd800a07d042ffb075b036c6b..6ca430a15780d94ec00b8fd1d2c1f6d38ed4c859 100644 |
--- a/src/mips/constants-mips.cc |
+++ b/src/mips/constants-mips.cc |
@@ -166,6 +166,17 @@ bool Instruction::IsForbiddenAfterBranchInstr(Instr instr) { |
return false; |
} |
break; |
+ case COP1: |
+ switch (instr & kRsFieldMask) { |
+ case BC1: |
+ case BC1EQZ: |
+ case BC1NEZ: |
+ return true; |
+ break; |
+ default: |
+ return false; |
+ } |
+ break; |
default: |
return false; |
} |