From d284c1d80dfd86319d58578395c4022f18425099 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 11 Jan 2012 20:55:27 +0000 Subject: Fix assert. llvm-svn: 147966 --- llvm/lib/Target/ARM/ARMFastISel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target') 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; -- cgit v1.2.3