[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ADCE.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 1 10:16:34 PDT 2006



Changes in directory llvm/lib/Transforms/Scalar:

ADCE.cpp updated: 1.95 -> 1.96
---
Log message:

Silence a -pedantic warning.


---
Diffs of the changes:  (+1 -1)

 ADCE.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/ADCE.cpp
diff -u llvm/lib/Transforms/Scalar/ADCE.cpp:1.95 llvm/lib/Transforms/Scalar/ADCE.cpp:1.96
--- llvm/lib/Transforms/Scalar/ADCE.cpp:1.95	Sun Jan 22 17:32:06 2006
+++ llvm/lib/Transforms/Scalar/ADCE.cpp	Thu Jun  1 12:16:21 2006
@@ -30,7 +30,7 @@
 #include <iostream>
 using namespace llvm;
 
-static IncludeFile X((void*)createUnifyFunctionExitNodesPass);
+static IncludeFile X((void*)(intptr_t)createUnifyFunctionExitNodesPass);
 
 namespace {
   Statistic<> NumBlockRemoved("adce", "Number of basic blocks removed");






More information about the llvm-commits mailing list