forked from OSchip/llvm-project
BBVectorize: Add the const modifier to the VectorizeConfig because we won't
modify it. llvm-svn: 154098
This commit is contained in:
parent
7a8f5e4d1e
commit
31d33b8318
|
@ -141,7 +141,7 @@ namespace {
|
||||||
struct BBVectorize : public BasicBlockPass {
|
struct BBVectorize : public BasicBlockPass {
|
||||||
static char ID; // Pass identification, replacement for typeid
|
static char ID; // Pass identification, replacement for typeid
|
||||||
|
|
||||||
VectorizeConfig Config;
|
const VectorizeConfig Config;
|
||||||
|
|
||||||
BBVectorize(const VectorizeConfig &C = VectorizeConfig())
|
BBVectorize(const VectorizeConfig &C = VectorizeConfig())
|
||||||
: BasicBlockPass(ID), Config(C) {
|
: BasicBlockPass(ID), Config(C) {
|
||||||
|
|
Loading…
Reference in New Issue