From 3cf8e6857e1e5545048fc6fb6d834d50a7b7cf8e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Jan 2005 18:41:12 +0000 Subject: Adjust to ilist changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19923 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/VMCore/Module.cpp') diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp index 3759cfd..a935bf6 100644 --- a/lib/VMCore/Module.cpp +++ b/lib/VMCore/Module.cpp @@ -28,7 +28,7 @@ using namespace llvm; // Methods to implement the globals and functions lists. // -Function *ilist_traits::createNode() { +Function *ilist_traits::createSentinal() { FunctionType *FTy = FunctionType::get(Type::VoidTy, std::vector(), false); Function *Ret = new Function(FTy, GlobalValue::ExternalLinkage); @@ -36,7 +36,7 @@ Function *ilist_traits::createNode() { LeakDetector::removeGarbageObject(Ret); return Ret; } -GlobalVariable *ilist_traits::createNode() { +GlobalVariable *ilist_traits::createSentinal() { GlobalVariable *Ret = new GlobalVariable(Type::IntTy, false, GlobalValue::ExternalLinkage); // This should not be garbage monitored. -- cgit v1.1