mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
silence a bogus gcc warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ad0124c188
commit
cb83374bd9
@ -300,7 +300,7 @@ IA64TargetLowering::LowerCallTo(SDOperand Chain,
|
||||
{
|
||||
SDOperand Val = Args[i].first;
|
||||
MVT::ValueType ObjectVT = Val.getValueType();
|
||||
SDOperand ValToStore, ValToConvert;
|
||||
SDOperand ValToStore(0, 0), ValToConvert;
|
||||
unsigned ObjSize=8;
|
||||
switch (ObjectVT) {
|
||||
default: assert(0 && "unexpected argument type!");
|
||||
|
@ -379,7 +379,7 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
||||
for (unsigned i = 0, e = Args.size(); i != e; ++i) {
|
||||
SDOperand Val = Args[i].first;
|
||||
MVT::ValueType ObjectVT = Val.getValueType();
|
||||
SDOperand ValToStore;
|
||||
SDOperand ValToStore(0, 0);
|
||||
unsigned ObjSize;
|
||||
switch (ObjectVT) {
|
||||
default: assert(0 && "Unhandled argument type!");
|
||||
|
@ -379,7 +379,7 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
||||
for (unsigned i = 0, e = Args.size(); i != e; ++i) {
|
||||
SDOperand Val = Args[i].first;
|
||||
MVT::ValueType ObjectVT = Val.getValueType();
|
||||
SDOperand ValToStore;
|
||||
SDOperand ValToStore(0, 0);
|
||||
unsigned ObjSize;
|
||||
switch (ObjectVT) {
|
||||
default: assert(0 && "Unhandled argument type!");
|
||||
|
@ -2989,7 +2989,7 @@ void ISel::EmitFastCCToFastCCTailCall(SDNode *TailCallNode) {
|
||||
|
||||
// Copy the return address of the caller into a virtual register so we don't
|
||||
// clobber it.
|
||||
SDOperand RetVal;
|
||||
SDOperand RetVal(0, 0);
|
||||
if (ESPOffset) {
|
||||
SDOperand RetValAddr = X86Lowering.getReturnAddressFrameIndex(*TheDAG);
|
||||
RetVal = TheDAG->getLoad(MVT::i32, TheDAG->getEntryNode(),
|
||||
|
Loading…
Reference in New Issue
Block a user