diff --git a/src/mips/disasm-mips.cc b/src/mips/disasm-mips.cc index 6028e90b44..f24ec436f0 100644 --- a/src/mips/disasm-mips.cc +++ b/src/mips/disasm-mips.cc @@ -1606,7 +1606,7 @@ int Decoder::InstructionDecode(byte* instr_ptr) { out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%08x ", instr->InstructionBits()); - switch (instr->InstructionType()) { + switch (instr->InstructionType(Instruction::EXTRA)) { case Instruction::kRegisterType: { DecodeTypeRegister(instr); break;