projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WinEH] Allow CatchHigh to be equal to TryHigh
[oota-llvm.git]
/
lib
/
IR
/
BasicBlock.cpp
diff --git
a/lib/IR/BasicBlock.cpp
b/lib/IR/BasicBlock.cpp
index fe38385d34159c01f5ac08a0a8c922bc902b52fe..23ec70529547682ed60dfd3790c1502a84117d86 100644
(file)
--- a/
lib/IR/BasicBlock.cpp
+++ b/
lib/IR/BasicBlock.cpp
@@
-94,8
+94,8
@@
void BasicBlock::removeFromParent() {
getParent()->getBasicBlockList().remove(this);
}
getParent()->getBasicBlockList().remove(this);
}
-
void
BasicBlock::eraseFromParent() {
- getParent()->getBasicBlockList().erase(this);
+
iplist<BasicBlock>::iterator
BasicBlock::eraseFromParent() {
+
return
getParent()->getBasicBlockList().erase(this);
}
/// Unlink this basic block from its current function and
}
/// Unlink this basic block from its current function and