[llvm-commits] CVS: llvm-stacker/lib/compiler/StackerCompiler.cpp

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



Changes in directory llvm-stacker/lib/compiler:

StackerCompiler.cpp updated: 1.30 -> 1.31
---
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)

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


Index: llvm-stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm-stacker/lib/compiler/StackerCompiler.cpp:1.30 llvm-stacker/lib/compiler/StackerCompiler.cpp:1.31
--- llvm-stacker/lib/compiler/StackerCompiler.cpp:1.30	Sun Jan  7 02:39:27 2007
+++ llvm-stacker/lib/compiler/StackerCompiler.cpp	Tue Jan 30 14:08:39 2007
@@ -666,7 +666,7 @@
         DefinitionType,
         GlobalValue::ExternalLinkage,
         name );
-    assert( the_function->isExternal() );
+    assert( the_function->isDeclaration() );
 
     free( name );
     return the_function;






More information about the llvm-commits mailing list