[llvm-commits] [parallel] CVS: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 18:06:18 PST 2004


Changes in directory llvm/projects/Stacker/lib/compiler:

StackerCompiler.cpp updated: 1.3 -> 1.3.4.1

---
Log message:

Merge from trunk

---
Diffs of the changes:  (+7 -7)

Index: llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff -u llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.3 llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.3.4.1
--- llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp:1.3	Sun Nov 23 20:57:25 2003
+++ llvm/projects/Stacker/lib/compiler/StackerCompiler.cpp	Mon Mar  1 17:58:28 2004
@@ -173,7 +173,7 @@
 	TheExit = new Function( 
 	    exit_type, GlobalValue::ExternalLinkage, "exit", TheModule);
 
-	ConstantArray* str_format = ConstantArray::get("%s");
+	Constant* str_format = ConstantArray::get("%s");
 	StrFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  3 ),
 	    /*isConstant=*/true,
@@ -183,7 +183,7 @@
 	    /*parent=*/TheModule
 	);
 
-	ConstantArray* in_str_format = ConstantArray::get(" %as");
+	Constant* in_str_format = ConstantArray::get(" %as");
 	InStrFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  5 ),
 	    /*isConstant=*/true,
@@ -193,7 +193,7 @@
 	    /*parent=*/TheModule
 	);
 
-	ConstantArray* num_format = ConstantArray::get("%d");
+	Constant* num_format = ConstantArray::get("%d");
 	NumFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  3 ),
 	    /*isConstant=*/true,
@@ -203,7 +203,7 @@
 	    /*parent=*/TheModule
 	);
 
-	ConstantArray* in_num_format = ConstantArray::get(" %d");
+	Constant* in_num_format = ConstantArray::get(" %d");
 	InNumFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  4 ),
 	    /*isConstant=*/true,
@@ -213,7 +213,7 @@
 	    /*parent=*/TheModule
 	);
 
-	ConstantArray* chr_format = ConstantArray::get("%c");
+	Constant* chr_format = ConstantArray::get("%c");
 	ChrFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  3 ),
 	    /*isConstant=*/true,
@@ -223,7 +223,7 @@
 	    /*parent=*/TheModule
 	);
 
-	ConstantArray* in_chr_format = ConstantArray::get(" %c");
+	Constant* in_chr_format = ConstantArray::get(" %c");
 	InChrFormat = new GlobalVariable( 
 	    /*type=*/ArrayType::get( Type::SByteTy,  4 ),
 	    /*isConstant=*/true,
@@ -413,7 +413,7 @@
     ArrayType* char_array = ArrayType::get( Type::SByteTy, len + 1 );
 
     // Create an initializer for the value
-    ConstantArray* initVal = ConstantArray::get( value );
+    Constant* initVal = ConstantArray::get( value );
 
     // Create an internal linkage global variable to hold the constant.
     GlobalVariable* strconst = new GlobalVariable( 





More information about the llvm-commits mailing list