[llvm-commits] CVS: llvm/tools/llc/llc.cpp

Reid Spencer reid at x10sys.com
Tue Jan 30 12:10:06 PST 2007



Changes in directory llvm/tools/llc:

llc.cpp updated: 1.141 -> 1.142
---
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)

 llc.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.141 llvm/tools/llc/llc.cpp:1.142
--- llvm/tools/llc/llc.cpp:1.141	Tue Dec  5 19:18:00 2006
+++ llvm/tools/llc/llc.cpp	Tue Jan 30 14:08:38 2007
@@ -260,7 +260,7 @@
       // Run our queue of passes all at once now, efficiently.
       // TODO: this could lazily stream functions out of the module.
       for (Module::iterator I = mod.begin(), E = mod.end(); I != E; ++I)
-        if (!I->isExternal())
+        if (!I->isDeclaration())
           Passes.run(*I);
       
       Passes.doFinalization();






More information about the llvm-commits mailing list