mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-15 22:25:31 +00:00
Sorry. I couldn't sleep at night knowing I put these ugly casts into the source tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -587,8 +587,7 @@ GlobalVariable *DISerializer::Serialize(DebugInfoDesc *DD) {
|
||||
|
||||
// Create the GlobalVariable early to prevent infinite recursion.
|
||||
GlobalVariable *GV =
|
||||
new GlobalVariable(Ty, true,
|
||||
(GlobalValue::LinkageTypes)DD->getLinkage(),
|
||||
new GlobalVariable(Ty, true, DD->getLinkage(),
|
||||
NULL, DD->getDescString(), M);
|
||||
GV->setSection("llvm.metadata");
|
||||
|
||||
|
Reference in New Issue
Block a user