mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33663 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -109,8 +109,8 @@ void RaiseAllocations::doInitialization(Module &M) {
|
||||
}
|
||||
|
||||
// Don't mess with locally defined versions of these functions...
|
||||
if (MallocFunc && !MallocFunc->isExternal()) MallocFunc = 0;
|
||||
if (FreeFunc && !FreeFunc->isExternal()) FreeFunc = 0;
|
||||
if (MallocFunc && !MallocFunc->isDeclaration()) MallocFunc = 0;
|
||||
if (FreeFunc && !FreeFunc->isDeclaration()) FreeFunc = 0;
|
||||
}
|
||||
|
||||
// run - Transform calls into instructions...
|
||||
|
||||
Reference in New Issue
Block a user