[llvm-commits] CVS: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 1 20:07:01 PST 2003
Changes in directory llvm/lib/Transforms/IPO:
DeadArgumentElimination.cpp updated: 1.9 -> 1.10
---
Log message:
Fix PR78
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
diff -u llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.9 llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.10
--- llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp:1.9 Thu Oct 23 12:44:53 2003
+++ llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp Sat Nov 1 20:06:27 2003
@@ -276,7 +276,7 @@
CallSite CS = CallSite::get(*I);
// We know that this can only be used for direct calls...
- Function *Callee = cast<Function>(CS.getCalledValue());
+ Function *Callee = CS.getCalledFunction();
// Loop over all of the arguments (because Arg may be passed into the call
// multiple times) and check to see if any are now alive...
More information about the llvm-commits
mailing list