[llvm-commits] CVS: llvm/lib/CWriter/Writer.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 20 09:40:09 PDT 2003
Changes in directory llvm/lib/CWriter:
Writer.cpp updated: 1.126 -> 1.127
---
Log message:
Rename Function::getEntryNode -> getEntryBlock
---
Diffs of the changes:
Index: llvm/lib/CWriter/Writer.cpp
diff -u llvm/lib/CWriter/Writer.cpp:1.126 llvm/lib/CWriter/Writer.cpp:1.127
--- llvm/lib/CWriter/Writer.cpp:1.126 Mon Sep 15 11:47:12 2003
+++ llvm/lib/CWriter/Writer.cpp Sat Sep 20 09:39:05 2003
@@ -105,7 +105,7 @@
if (!AI) return false;
if (AI->isArrayAllocation())
return 0; // FIXME: we can also inline fixed size array allocas!
- if (AI->getParent() != &AI->getParent()->getParent()->getEntryNode())
+ if (AI->getParent() != &AI->getParent()->getParent()->getEntryBlock())
return 0;
return AI;
}
More information about the llvm-commits
mailing list