forked from OSchip/llvm-project
[mips][ias] Attempt to fix 'not all control paths return a value' reported by MSVC.
llvm-svn: 268927
This commit is contained in:
parent
45a33fb799
commit
cc9a2cf7ee
|
@ -63,6 +63,8 @@ MipsRegisterInfo::getPointerRegClass(const MachineFunction &MF,
|
|||
case MipsPtrClass::GlobalPointer:
|
||||
return ABI.ArePtrs64bit() ? &Mips::GP64RegClass : &Mips::GP32RegClass;
|
||||
}
|
||||
|
||||
llvm_unreachable("Unknown pointer kind");
|
||||
}
|
||||
|
||||
unsigned
|
||||
|
|
Loading…
Reference in New Issue