1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Fix assert.

llvm-svn: 147966
This commit is contained in:
Eric Christopher 2012-01-11 20:55:27 +00:00
parent 42ff94f069
commit d2436427b5

View File

@ -2275,9 +2275,9 @@ bool ARMFastISel::ARMTryEmitSmallMemCpy(Address Dest, Address Src, uint64_t Len)
bool RV;
unsigned ResultReg;
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);
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;
Len -= Size;