[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Feb 21 12:46:03 PST 2005
Changes in directory llvm-poolalloc/lib/PoolAllocate:
PointerCompress.cpp updated: 1.18 -> 1.19
---
Log message:
Cloned function bodies get internal linkage
---
Diffs of the changes: (+1 -1)
PointerCompress.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp
diff -u llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.18 llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.19
--- llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.18 Wed Feb 16 13:45:24 2005
+++ llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp Mon Feb 21 14:45:47 2005
@@ -863,7 +863,7 @@
FunctionType *CFTy = FunctionType::get(RetTy, ParamTypes, FTy->isVarArg());
// Next, create the clone prototype and insert it into the module.
- Clone = new Function(CFTy, GlobalValue::/*Internal*/ ExternalLinkage,
+ Clone = new Function(CFTy, GlobalValue::InternalLinkage,
F->getName()+".pc");
F->getParent()->getFunctionList().insert(F, Clone);
More information about the llvm-commits
mailing list