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:
dd49dbf
)
Remove dead code.
author
Vladimir Prus
<ghost@cs.msu.su>
Thu, 8 Jun 2006 16:03:13 +0000
(16:03 +0000)
committer
Vladimir Prus
<ghost@cs.msu.su>
Thu, 8 Jun 2006 16:03:13 +0000
(16:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28725
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/BasicBlock.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/BasicBlock.cpp
b/lib/VMCore/BasicBlock.cpp
index
c93f558
..
18a90d6
100644
(file)
--- a/
lib/VMCore/BasicBlock.cpp
+++ b/
lib/VMCore/BasicBlock.cpp
@@
-123,7
+123,7
@@
const TerminatorInst *const BasicBlock::getTerminator() const {
Instruction* BasicBlock::getFirstNonPHI()
{
- BasicBlock::iterator i = begin()
, e = end()
;
+ BasicBlock::iterator i = begin();
// All valid basic blocks should have a terminator,
// which is not a PHINode. If we have invalid basic
// block we'll get assert when dereferencing past-the-end