projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename Function::getEntryNode -> getEntryBlock
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
ADCE.cpp
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index 897e2093fcd3b714d8e3ed7b87b18455a8f24254..8d71605406095aecbb8223afafd87c19c6bc0c20 100644
(file)
--- a/
lib/Transforms/Scalar/ADCE.cpp
+++ b/
lib/Transforms/Scalar/ADCE.cpp
@@
-195,7
+195,7
@@
bool ADCE::doADCE() {
// transformations safely.
//
PostDominatorTree &DT = getAnalysis<PostDominatorTree>();
- if (DT[&Func->getEntry
Node
()] == 0) {
+ if (DT[&Func->getEntry
Block
()] == 0) {
WorkList.clear();
return MadeChanges;
}