[llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp
Reid Spencer
reid at x10sys.com
Tue Jan 30 12:10:02 PST 2007
Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.61 -> 1.62
---
Log message:
For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types.
---
Diffs of the changes: (+1 -1)
IntrinsicLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/IntrinsicLowering.cpp
diff -u llvm/lib/CodeGen/IntrinsicLowering.cpp:1.61 llvm/lib/CodeGen/IntrinsicLowering.cpp:1.62
--- llvm/lib/CodeGen/IntrinsicLowering.cpp:1.61 Mon Jan 29 11:42:06 2007
+++ llvm/lib/CodeGen/IntrinsicLowering.cpp Tue Jan 30 14:08:37 2007
@@ -61,7 +61,7 @@
void IntrinsicLowering::AddPrototypes(Module &M) {
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
- if (I->isExternal() && !I->use_empty())
+ if (I->isDeclaration() && !I->use_empty())
switch (I->getIntrinsicID()) {
default: break;
case Intrinsic::setjmp:
More information about the llvm-commits
mailing list