Index: src/mips/simulator-mips.cc |
diff --git a/src/mips/simulator-mips.cc b/src/mips/simulator-mips.cc |
index 79706f998fc0341f23165c58a6cecb9cd26d55a4..d4884474496e418cc8072c74f10a2b0515930d98 100644 |
--- a/src/mips/simulator-mips.cc |
+++ b/src/mips/simulator-mips.cc |
@@ -4090,7 +4090,6 @@ void Simulator::DecodeTypeImmediate(Instruction* instr) { |
if (rs_reg != 0) { // BEQZC |
BranchCompactHelper(rs == 0, 21); |
} else { // JIC |
- CheckForbiddenSlot(get_pc()); |
next_pc = rt + imm16; |
} |
break; |
@@ -4098,9 +4097,7 @@ void Simulator::DecodeTypeImmediate(Instruction* instr) { |
if (rs_reg != 0) { // BNEZC |
BranchCompactHelper(rs != 0, 21); |
} else { // JIALC |
- int32_t current_pc = get_pc(); |
- CheckForbiddenSlot(current_pc); |
- set_register(31, current_pc + Instruction::kInstrSize); |
+ set_register(31, get_pc() + Instruction::kInstrSize); |
next_pc = rt + imm16; |
} |
break; |