mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
BBVectorize: Add the const modifier to the VectorizeConfig because we won't
modify it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154098 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bef377b7d7
commit
940371bc65
@ -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…
x
Reference in New Issue
Block a user