mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Fix assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2275,9 +2275,9 @@ bool ARMFastISel::ARMTryEmitSmallMemCpy(Address Dest, Address Src, uint64_t Len)
|
|||||||
bool RV;
|
bool RV;
|
||||||
unsigned ResultReg;
|
unsigned ResultReg;
|
||||||
RV = ARMEmitLoad(VT, ResultReg, Src);
|
RV = ARMEmitLoad(VT, ResultReg, Src);
|
||||||
assert (RV = true && "Should be able to handle this load.");
|
assert (RV == true && "Should be able to handle this load.");
|
||||||
RV = ARMEmitStore(VT, ResultReg, Dest);
|
RV = ARMEmitStore(VT, ResultReg, Dest);
|
||||||
assert (RV = true && "Should be able to handle this store.");
|
assert (RV == true && "Should be able to handle this store.");
|
||||||
|
|
||||||
unsigned Size = VT.getSizeInBits()/8;
|
unsigned Size = VT.getSizeInBits()/8;
|
||||||
Len -= Size;
|
Len -= Size;
|
||||||
|
Reference in New Issue
Block a user