mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
fix some -Wself-assign warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122893 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
073057f0d0
commit
54c6d6f42d
@ -1451,7 +1451,7 @@ bool ARMFastISel::ProcessCallArgs(SmallVectorImpl<Value*> &Args,
|
||||
case CCValAssign::SExt: {
|
||||
bool Emitted = FastEmitExtend(ISD::SIGN_EXTEND, VA.getLocVT(),
|
||||
Arg, ArgVT, Arg);
|
||||
assert(Emitted && "Failed to emit a sext!"); Emitted=Emitted;
|
||||
assert(Emitted && "Failed to emit a sext!"); (void)Emitted;
|
||||
Emitted = true;
|
||||
ArgVT = VA.getLocVT();
|
||||
break;
|
||||
@ -1459,7 +1459,7 @@ bool ARMFastISel::ProcessCallArgs(SmallVectorImpl<Value*> &Args,
|
||||
case CCValAssign::ZExt: {
|
||||
bool Emitted = FastEmitExtend(ISD::ZERO_EXTEND, VA.getLocVT(),
|
||||
Arg, ArgVT, Arg);
|
||||
assert(Emitted && "Failed to emit a zext!"); Emitted=Emitted;
|
||||
assert(Emitted && "Failed to emit a zext!"); (void)Emitted;
|
||||
Emitted = true;
|
||||
ArgVT = VA.getLocVT();
|
||||
break;
|
||||
@ -1474,7 +1474,7 @@ bool ARMFastISel::ProcessCallArgs(SmallVectorImpl<Value*> &Args,
|
||||
Emitted = FastEmitExtend(ISD::SIGN_EXTEND, VA.getLocVT(),
|
||||
Arg, ArgVT, Arg);
|
||||
|
||||
assert(Emitted && "Failed to emit a aext!"); Emitted=Emitted;
|
||||
assert(Emitted && "Failed to emit a aext!"); (void)Emitted;
|
||||
ArgVT = VA.getLocVT();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user