[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Sep 20 09:39:09 PDT 2003
Changes in directory llvm/lib/Transforms/Instrumentation:
TraceValues.cpp updated: 1.59 -> 1.60
---
Log message:
Rename Function::getEntryNode -> getEntryBlock
---
Diffs of the changes:
Index: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff -u llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.59 llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.60
--- llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.59 Sat Aug 30 19:20:36 2003
+++ llvm/lib/Transforms/Instrumentation/TraceValues.cpp Sat Sep 20 09:38:48 2003
@@ -348,7 +348,7 @@
static inline void InsertCodeToShowFunctionEntry(Function &F, Function *Printf,
Function* HashPtrToSeqNum){
// Get an iterator to point to the insertion location
- BasicBlock &BB = F.getEntryNode();
+ BasicBlock &BB = F.getEntryBlock();
Instruction *InsertPos = BB.begin();
std::ostringstream OutStr;
@@ -398,7 +398,7 @@
// Push a pointer set for recording alloca'd pointers at entry.
if (!DisablePtrHashing)
new CallInst(externalFuncs.PushOnEntryFunc, vector<Value*>(), "",
- F.getEntryNode().begin());
+ F.getEntryBlock().begin());
for (Function::iterator BB = F.begin(); BB != F.end(); ++BB) {
if (isa<ReturnInst>(BB->getTerminator()))
More information about the llvm-commits
mailing list