[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp Function.cpp Module.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jan 29 10:41:25 PST 2005
Changes in directory llvm/lib/VMCore:
BasicBlock.cpp updated: 1.52 -> 1.53
Function.cpp updated: 1.85 -> 1.86
Module.cpp updated: 1.57 -> 1.58
---
Log message:
Adjust to ilist changes.
---
Diffs of the changes: (+5 -5)
BasicBlock.cpp | 2 +-
Function.cpp | 4 ++--
Module.cpp | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
Index: llvm/lib/VMCore/BasicBlock.cpp
diff -u llvm/lib/VMCore/BasicBlock.cpp:1.52 llvm/lib/VMCore/BasicBlock.cpp:1.53
--- llvm/lib/VMCore/BasicBlock.cpp:1.52 Fri Jan 28 18:33:59 2005
+++ llvm/lib/VMCore/BasicBlock.cpp Sat Jan 29 12:41:12 2005
@@ -48,7 +48,7 @@
};
}
-Instruction *ilist_traits<Instruction>::createNode() {
+Instruction *ilist_traits<Instruction>::createSentinal() {
return new DummyInst();
}
iplist<Instruction> &ilist_traits<Instruction>::getList(BasicBlock *BB) {
Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.85 llvm/lib/VMCore/Function.cpp:1.86
--- llvm/lib/VMCore/Function.cpp:1.85 Fri Jan 28 18:35:33 2005
+++ llvm/lib/VMCore/Function.cpp Sat Jan 29 12:41:12 2005
@@ -20,7 +20,7 @@
#include "llvm/ADT/StringExtras.h"
using namespace llvm;
-BasicBlock *ilist_traits<BasicBlock>::createNode() {
+BasicBlock *ilist_traits<BasicBlock>::createSentinal() {
BasicBlock *Ret = new BasicBlock();
// This should not be garbage monitored.
LeakDetector::removeGarbageObject(Ret);
@@ -31,7 +31,7 @@
return F->getBasicBlockList();
}
-Argument *ilist_traits<Argument>::createNode() {
+Argument *ilist_traits<Argument>::createSentinal() {
Argument *Ret = new Argument(Type::IntTy);
// This should not be garbage monitored.
LeakDetector::removeGarbageObject(Ret);
Index: llvm/lib/VMCore/Module.cpp
diff -u llvm/lib/VMCore/Module.cpp:1.57 llvm/lib/VMCore/Module.cpp:1.58
--- llvm/lib/VMCore/Module.cpp:1.57 Tue Sep 14 00:43:23 2004
+++ llvm/lib/VMCore/Module.cpp Sat Jan 29 12:41:12 2005
@@ -28,7 +28,7 @@
// Methods to implement the globals and functions lists.
//
-Function *ilist_traits<Function>::createNode() {
+Function *ilist_traits<Function>::createSentinal() {
FunctionType *FTy =
FunctionType::get(Type::VoidTy, std::vector<const Type*>(), false);
Function *Ret = new Function(FTy, GlobalValue::ExternalLinkage);
@@ -36,7 +36,7 @@
LeakDetector::removeGarbageObject(Ret);
return Ret;
}
-GlobalVariable *ilist_traits<GlobalVariable>::createNode() {
+GlobalVariable *ilist_traits<GlobalVariable>::createSentinal() {
GlobalVariable *Ret = new GlobalVariable(Type::IntTy, false,
GlobalValue::ExternalLinkage);
// This should not be garbage monitored.
More information about the llvm-commits
mailing list