[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Feb 14 22:08:01 PST 2004
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.76 -> 1.77
---
Log message:
Remove dependence on return type of ConstantStruct::get
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.76 llvm/lib/VMCore/Constants.cpp:1.77
--- llvm/lib/VMCore/Constants.cpp:1.76 Sat Feb 14 22:05:31 2004
+++ llvm/lib/VMCore/Constants.cpp Sat Feb 14 22:07:32 2004
@@ -459,7 +459,7 @@
Values.push_back(Val);
}
- ConstantStruct *Replacement = ConstantStruct::get(getType(), Values);
+ Constant *Replacement = ConstantStruct::get(getType(), Values);
assert(Replacement != this && "I didn't contain From!");
// Everyone using this now uses the replacement...
More information about the llvm-commits
mailing list