[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 14 22:04:01 PST 2004


Changes in directory llvm/lib/Transforms/Instrumentation:

EmitFunctions.cpp updated: 1.14 -> 1.15

---
Log message:

Remove dependence on the return type of ConstantArray::get


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

Index: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff -u llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.14 llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.15
--- llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.14	Tue Nov 11 16:41:33 2003
+++ llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp	Sat Feb 14 22:02:59 2004
@@ -89,7 +89,7 @@
                                           cstruct, "llvmFunctionTable");
   M.getGlobalList().push_back(gb);
 
-  ConstantArray *constArray = ConstantArray::get(ArrayType::get(Type::SByteTy, 
+  Constant *constArray = ConstantArray::get(ArrayType::get(Type::SByteTy, 
 								sBCons.size()),
 						 sBCons);
 





More information about the llvm-commits mailing list