summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/ADCE.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-01 17:16:21 +0000
committerChris Lattner <sabre@nondot.org>2006-06-01 17:16:21 +0000
commit5180b29cb0671afcfbf73e29c177c6a048b64cbb (patch)
treee57dea2932861c1c51c1ee9699303bb9f67e275e /lib/Transforms/Scalar/ADCE.cpp
parentb66925bb18bedf9ec4c7f821106038998720604b (diff)
downloadllvm-5180b29cb0671afcfbf73e29c177c6a048b64cbb.tar.gz
llvm-5180b29cb0671afcfbf73e29c177c6a048b64cbb.tar.bz2
llvm-5180b29cb0671afcfbf73e29c177c6a048b64cbb.tar.xz
Silence a -pedantic warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ADCE.cpp')
-rw-r--r--lib/Transforms/Scalar/ADCE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ADCE.cpp b/lib/Transforms/Scalar/ADCE.cpp
index 4452b4061c..bde4a3e8bf 100644
--- a/lib/Transforms/Scalar/ADCE.cpp
+++ b/lib/Transforms/Scalar/ADCE.cpp
@@ -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");