[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LowerGC.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 26 20:56:02 PDT 2004
Changes in directory llvm/lib/Transforms/Scalar:
LowerGC.cpp updated: 1.6 -> 1.7
---
Log message:
Initialize with the correct constant type
---
Diffs of the changes: (+3 -2)
Index: llvm/lib/Transforms/Scalar/LowerGC.cpp
diff -u llvm/lib/Transforms/Scalar/LowerGC.cpp:1.6 llvm/lib/Transforms/Scalar/LowerGC.cpp:1.7
--- llvm/lib/Transforms/Scalar/LowerGC.cpp:1.6 Mon Oct 18 09:38:48 2004
+++ llvm/lib/Transforms/Scalar/LowerGC.cpp Tue Oct 26 22:55:24 2004
@@ -125,8 +125,9 @@
if (RootChain == 0) {
// If the root chain does not exist, insert a new one with linkonce
// linkage!
- RootChain = new GlobalVariable(PRLTy, false, GlobalValue::LinkOnceLinkage,
- Constant::getNullValue(RootListTy),
+ RootChain = new GlobalVariable(PRLTy, false,
+ GlobalValue::LinkOnceLinkage,
+ Constant::getNullValue(PRLTy),
"llvm_gc_root_chain", &M);
} else if (RootChain->hasExternalLinkage() && RootChain->isExternal()) {
RootChain->setInitializer(Constant::getNullValue(PRLTy));
More information about the llvm-commits
mailing list