[llvm-commits] CVS: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
Reid Spencer
reid at x10sys.com
Tue Jan 30 12:10:10 PST 2007
Changes in directory llvm/lib/Target/IA64:
IA64AsmPrinter.cpp updated: 1.42 -> 1.43
---
Log message:
For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types.
---
Diffs of the changes: (+3 -3)
IA64AsmPrinter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Target/IA64/IA64AsmPrinter.cpp
diff -u llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.42 llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.43
--- llvm/lib/Target/IA64/IA64AsmPrinter.cpp:1.42 Wed Jan 24 01:03:39 2007
+++ llvm/lib/Target/IA64/IA64AsmPrinter.cpp Tue Jan 30 14:08:38 2007
@@ -193,17 +193,17 @@
bool Needfptr=false; // if we're computing an address @ltoff(X), do
// we need to decorate it so it becomes
// @ltoff(@fptr(X)) ?
- if (F && !isBRCALLinsn /*&& F->isExternal()*/)
+ if (F && !isBRCALLinsn /*&& F->isDeclaration()*/)
Needfptr=true;
// if this is the target of a call instruction, we should define
// the function somewhere (GNU gas has no problem without this, but
// Intel ias rightly complains of an 'undefined symbol')
- if (F /*&& isBRCALLinsn*/ && F->isExternal())
+ if (F /*&& isBRCALLinsn*/ && F->isDeclaration())
ExternalFunctionNames.insert(Mang->getValueName(MO.getGlobal()));
else
- if (GV->isExternal()) // e.g. stuff like 'stdin'
+ if (GV->isDeclaration()) // e.g. stuff like 'stdin'
ExternalObjectNames.insert(Mang->getValueName(MO.getGlobal()));
if (!isBRCALLinsn)
More information about the llvm-commits
mailing list