[llvm-commits] CVS: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jul 18 11:20:37 PDT 2004
Changes in directory poolalloc/lib/PoolAllocate:
PoolAllocate.cpp updated: 1.71 -> 1.72
---
Log message:
CPR is dead!!
---
Diffs of the changes: (+1 -2)
Index: poolalloc/lib/PoolAllocate/PoolAllocate.cpp
diff -u poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.71 poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.72
--- poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.71 Thu Jul 15 19:09:10 2004
+++ poolalloc/lib/PoolAllocate/PoolAllocate.cpp Sun Jul 18 13:20:27 2004
@@ -133,8 +133,7 @@
Function *origF = fmI->first;
Function *cloneF = fmI->second;
- ConstantPointerRef *Ref = ConstantPointerRef::get(cloneF);
- Constant *expr = ConstantExpr::getCast(Ref, origF->getType());
+ Constant *expr = ConstantExpr::getCast(cloneF, origF->getType());
origF->replaceAllUsesWith(expr);
}
return true;
More information about the llvm-commits
mailing list