Use a sane mechanism for that assert.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116249 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp
index df3fe1b..d29b075 100644
--- a/lib/Target/ARM/ARMFastISel.cpp
+++ b/lib/Target/ARM/ARMFastISel.cpp
@@ -590,8 +590,8 @@
     break;
     case Instruction::Alloca: {
       // Don't handle dynamic allocas.
-      if (FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Obj)))
-        assert(false && "Alloca should have been handled earlier!");
+      assert(!FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Obj)) &&
+             "Alloca should have been handled earlier!");
       return false;
     }
   }