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

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 14 22:08:12 PST 2004


Changes in directory llvm/lib/Transforms/Instrumentation:

EmitFunctions.cpp updated: 1.15 -> 1.16

---
Log message:

Remove dependence on return type of ConstantStruct::get


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

Index: llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp
diff -u llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.15 llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.16
--- llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp:1.15	Sat Feb 14 22:02:59 2004
+++ llvm/lib/Transforms/Instrumentation/EmitFunctions.cpp	Sat Feb 14 22:07:26 2004
@@ -82,7 +82,7 @@
     }
   
   StructType *sttype = StructType::get(vType);
-  ConstantStruct *cstruct = ConstantStruct::get(sttype, vConsts);
+  Constant *cstruct = ConstantStruct::get(sttype, vConsts);
 
   GlobalVariable *gb = new GlobalVariable(cstruct->getType(), true,
                                           GlobalValue::ExternalLinkage, 





More information about the llvm-commits mailing list