Index: src/mips/disasm-mips.cc |
diff --git a/src/mips/disasm-mips.cc b/src/mips/disasm-mips.cc |
index 6028e90b4410a5a479fe51414ac5be9977b33b37..f24ec436f0064ef6162f4809f68d3c5e619a614a 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; |