diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-08 01:26:06 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-08 01:26:06 +0000 |
commit | 5948fdf68b5a1a68e8dbc10d28ef77473d5fc774 (patch) | |
tree | c7898711c9b1c034c981cd9d052a08ecc72f14dc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 5f21d2f69ab3cf891546f9f8eb13f5efa8653329 (diff) | |
download | llvm-5948fdf68b5a1a68e8dbc10d28ef77473d5fc774.zip llvm-5948fdf68b5a1a68e8dbc10d28ef77473d5fc774.tar.gz llvm-5948fdf68b5a1a68e8dbc10d28ef77473d5fc774.tar.bz2 |
Push LLVMContext through GlobalVariables and IRBuilder.
llvm-svn: 74985
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index d2cf93e..b940b9e 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1258,7 +1258,7 @@ bool BitcodeReader::ParseModule(const std::string &ModuleID) { isThreadLocal = Record[7]; GlobalVariable *NewGV = - new GlobalVariable(Ty, isConstant, Linkage, 0, "", TheModule, + new GlobalVariable(Context, Ty, isConstant, Linkage, 0, "", TheModule, isThreadLocal, AddressSpace); NewGV->setAlignment(Alignment); if (!Section.empty()) |