diff options
| author | Eric Christopher <echristo@apple.com> | 2012-01-11 20:55:27 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@apple.com> | 2012-01-11 20:55:27 +0000 |
| commit | d284c1d80dfd86319d58578395c4022f18425099 (patch) | |
| tree | 0eb0d82db8bbc944f5ba01397c7c8bef0b1b025d | |
| parent | cd8fe08e4dd82d7c3e7b56e01fac8c30a00345a4 (diff) | |
| download | bcm5719-llvm-d284c1d80dfd86319d58578395c4022f18425099.tar.gz bcm5719-llvm-d284c1d80dfd86319d58578395c4022f18425099.zip | |
Fix assert.
llvm-svn: 147966
| -rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 801c6639e2c..c368e2551b3 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -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; |

