BBVectorize: Add the const modifier to the VectorizeConfig because we won't

modify it.

llvm-svn: 154098
This commit is contained in:
Hongbin Zheng 2012-04-05 16:07:49 +00:00
parent 7a8f5e4d1e
commit 31d33b8318
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ namespace {
struct BBVectorize : public BasicBlockPass {
static char ID; // Pass identification, replacement for typeid
VectorizeConfig Config;
const VectorizeConfig Config;
BBVectorize(const VectorizeConfig &C = VectorizeConfig())
: BasicBlockPass(ID), Config(C) {