[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Feb 14 22:06:00 PST 2004
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.75 -> 1.76
---
Log message:
Remove dependence on the return type of ConstantArray::get
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.75 llvm/lib/VMCore/Constants.cpp:1.76
--- llvm/lib/VMCore/Constants.cpp:1.75 Sat Feb 14 20:46:46 2004
+++ llvm/lib/VMCore/Constants.cpp Sat Feb 14 22:05:31 2004
@@ -434,7 +434,7 @@
Values.push_back(Val);
}
- ConstantArray *Replacement = ConstantArray::get(getType(), Values);
+ Constant *Replacement = ConstantArray::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