projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c099b8
)
Use a sane mechanism for that assert.
author
Eric Christopher
<echristo@apple.com>
Mon, 11 Oct 2010 22:01:22 +0000
(22:01 +0000)
committer
Eric Christopher
<echristo@apple.com>
Mon, 11 Oct 2010 22:01:22 +0000
(22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116249
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index df3fe1bc2755778d6ac591447ee68a0bf8a360b9..d29b075ff8f19f22cdbb91d123bc0d57719b4b78 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-590,8
+590,8
@@
bool ARMFastISel::ARMComputeRegOffset(const Value *Obj, unsigned &Reg,
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;
}
}