Index: src/mips/constants-mips.cc |
diff --git a/src/mips/constants-mips.cc b/src/mips/constants-mips.cc |
index 96a23338d1e598c53249c4984eb0df81c6dbe892..d0a7af5c359b04ff3812f9666abfad26258af2e1 100644 |
--- a/src/mips/constants-mips.cc |
+++ b/src/mips/constants-mips.cc |
@@ -191,6 +191,7 @@ bool Instruction::IsLinkingInstruction() const { |
const int op = OpcodeFieldRaw(); |
switch (op) { |
case JAL: |
+ return true; |
case REGIMM: |
switch (RtFieldRaw()) { |
case BGEZAL: |
@@ -272,7 +273,7 @@ Instruction::Type Instruction::InstructionType() const { |
case MOVCI: |
return kRegisterType; |
default: |
- UNREACHABLE(); |
+ return kUnsupported; |
}; |
break; |
case SPECIAL2: |
@@ -281,7 +282,7 @@ Instruction::Type Instruction::InstructionType() const { |
case CLZ: |
return kRegisterType; |
default: |
- UNREACHABLE(); |
+ return kUnsupported; |
}; |
break; |
case SPECIAL3: |
@@ -290,7 +291,7 @@ Instruction::Type Instruction::InstructionType() const { |
case EXT: |
return kRegisterType; |
default: |
- UNREACHABLE(); |
+ return kUnsupported; |
}; |
break; |
case COP1: // Coprocessor instructions. |
@@ -341,7 +342,7 @@ Instruction::Type Instruction::InstructionType() const { |
case JAL: |
return kJumpType; |
default: |
- UNREACHABLE(); |
+ return kUnsupported; |
}; |
return kUnsupported; |
} |