Fix assert.
authorEric Christopher <echristo@apple.com>
Wed, 11 Jan 2012 20:55:27 +0000 (20:55 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 11 Jan 2012 20:55:27 +0000 (20:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147966 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp

index 801c6639e2cb0ed1828b1ea81892c1b5b4f2a002..c368e2551b33cd9273ba96e4fc763b6ae83900e3 100644 (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;