mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Fix "Control reaches the end of non-void function" warnings,
patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -181,6 +181,7 @@ SDOperand MipsTargetLowering::
|
||||
LowerGlobalTLSAddress(SDOperand Op, SelectionDAG &DAG)
|
||||
{
|
||||
assert(0 && "TLS not implemented for MIPS.");
|
||||
return SDOperand(); // Not reached
|
||||
}
|
||||
|
||||
SDOperand MipsTargetLowering::
|
||||
|
@@ -81,6 +81,7 @@ getRegisterNumbering(unsigned RegEnum)
|
||||
case Mips::RA : return 31;
|
||||
default: assert(0 && "Unknown register number!");
|
||||
}
|
||||
return 0; // Not reached
|
||||
}
|
||||
|
||||
void MipsRegisterInfo::reMaterialize(MachineBasicBlock &MBB,
|
||||
|
Reference in New Issue
Block a user