[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 15 13:43:17 PST 2004
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.139 -> 1.140
---
Log message:
Make functions default to having external linkage if they have no
FunctionBlock.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.139 llvm/lib/Bytecode/Reader/Reader.cpp:1.140
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.139 Sun Nov 14 15:59:21 2004
+++ llvm/lib/Bytecode/Reader/Reader.cpp Mon Nov 15 15:43:03 2004
@@ -1880,8 +1880,8 @@
cast<FunctionType>(cast<PointerType>(Ty)->getElementType());
- // Insert the place hodler
- Function* Func = new Function(FTy, GlobalValue::InternalLinkage,
+ // Insert the place holder.
+ Function* Func = new Function(FTy, GlobalValue::ExternalLinkage,
"", TheModule);
insertValue(Func, FnSignature >> 5, ModuleValues);
More information about the llvm-commits
mailing list