diff options
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index e83228d74a..65d4c1c15d 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -1880,8 +1880,8 @@ void BytecodeReader::ParseModuleGlobalInfo() { 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); |