[llvm-commits] CVS: llvm/lib/Transforms/IPO/FunctionResolution.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Apr 16 17:41:03 PDT 2003
Changes in directory llvm/lib/Transforms/IPO:
FunctionResolution.cpp updated: 1.23 -> 1.24
---
Log message:
Change the interface to constant expressions to allow automatic folding
---
Diffs of the changes:
Index: llvm/lib/Transforms/IPO/FunctionResolution.cpp
diff -u llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.23 llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.24
--- llvm/lib/Transforms/IPO/FunctionResolution.cpp:1.23 Mon Mar 3 13:57:46 2003
+++ llvm/lib/Transforms/IPO/FunctionResolution.cpp Wed Apr 16 17:40:47 2003
@@ -207,7 +207,7 @@
std::vector<Constant*> Args;
Args.push_back(Constant::getNullValue(Type::LongTy));
Args.push_back(Constant::getNullValue(Type::LongTy));
- ConstantExpr *Replacement =
+ Constant *Replacement =
ConstantExpr::getGetElementPtr(ConstantPointerRef::get(Concrete), Args);
for (unsigned i = 0; i != Globals.size(); ++i)
More information about the llvm-commits
mailing list