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:
bb30dd4
)
Remove an unused variable in NDEBUG (found with -Wunused-variable).
author
Chandler Carruth
<chandlerc@gmail.com>
Mon, 2 May 2011 05:49:01 +0000
(
05:49
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Mon, 2 May 2011 05:49:01 +0000
(
05:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130688
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SlotIndexes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SlotIndexes.h
b/include/llvm/CodeGen/SlotIndexes.h
index 7c1aad2b0003ff73fde7eddfa453e2be7b32fe53..33ce675e5cc49e9d9617fef6ce4333453c7dd1b0 100644
(file)
--- a/
include/llvm/CodeGen/SlotIndexes.h
+++ b/
include/llvm/CodeGen/SlotIndexes.h
@@
-647,9
+647,7
@@
namespace llvm {
// affected by debug information.
assert(!mi->isDebugValue() && "Cannot number DBG_VALUE instructions.");
- MachineBasicBlock *mbb = mi->getParent();
-
- assert(mbb != 0 && "Instr must be added to function.");
+ assert(mi->getParent() != 0 && "Instr must be added to function.");
// Get the entries where mi should be inserted.
IndexListEntry *prevEntry, *nextEntry;