"with constant values");
namespace {
struct VISIBILITY_HIDDEN GCSE : public FunctionPass {
- static const char ID; // Pass identifcation, replacement for typeid
+ static char ID; // Pass identifcation, replacement for typeid
GCSE() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);
}
};
- const char GCSE::ID = 0;
+ char GCSE::ID = 0;
RegisterPass<GCSE> X("gcse", "Global Common Subexpression Elimination");
}