From 8c78a0bff0c0e9d0594598bcb76cd623bb625083 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Thu, 3 May 2007 01:11:54 +0000 Subject: Drop 'const' llvm-svn: 36662 --- llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp') diff --git a/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp b/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp index c3f50226303..f772dd490b1 100644 --- a/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp @@ -33,11 +33,11 @@ using namespace llvm; namespace { class VISIBILITY_HIDDEN FunctionProfiler : public RSProfilers_std { public: - static const char ID; + static char ID; bool runOnModule(Module &M); }; - const char FunctionProfiler::ID = 0; + char FunctionProfiler::ID = 0; RegisterPass X("insert-function-profiling", "Insert instrumentation for function profiling"); @@ -84,10 +84,10 @@ namespace { class BlockProfiler : public RSProfilers_std { bool runOnModule(Module &M); public: - static const char ID; + static char ID; }; - const char BlockProfiler::ID = 0; + char BlockProfiler::ID = 0; RegisterPass Y("insert-block-profiling", "Insert instrumentation for block profiling"); RegisterAnalysisGroup YG(Y); -- cgit v1.2.3