OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff616cb
)
Fix a non-firing assert. Change:
author
Richard Trieu
<rtrieu@google.com>
Fri, 14 Oct 2011 20:50:26 +0000
(20:50 +0000)
committer
Richard Trieu
<rtrieu@google.com>
Fri, 14 Oct 2011 20:50:26 +0000
(20:50 +0000)
assert("bad SymbolicOp.VariantKind");
To:
assert(0 && "bad SymbolicOp.VariantKind");
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142000
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
b/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
index
2c30353
..
8f2f813
100644
(file)
--- a/
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
+++ b/
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
@@
-528,7
+528,7
@@
static bool tryAddingSymbolicOperand(uint64_t Address, int32_t Value,
else if (SymbolicOp.VariantKind == LLVMDisassembler_VariantKind_None)
MI.addOperand(MCOperand::CreateExpr(Expr));
else
- assert("bad SymbolicOp.VariantKind");
+ assert(
0 &&
"bad SymbolicOp.VariantKind");
return true;
}