inst_gen: Make invalid_instructions a static inline variable
This commit is contained in:
parent
f96e83c486
commit
12c6f841c2
2 changed files with 1 additions and 3 deletions
|
@ -36,5 +36,3 @@ u32 InstructionGenerator::Generate() const {
|
||||||
} while (IsInvalidInstruction(inst));
|
} while (IsInvalidInstruction(inst));
|
||||||
return inst;
|
return inst;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<InstructionGenerator> InstructionGenerator::invalid_instructions;
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static std::vector<InstructionGenerator> invalid_instructions;
|
static inline std::vector<InstructionGenerator> invalid_instructions;
|
||||||
|
|
||||||
u32 bits = 0;
|
u32 bits = 0;
|
||||||
u32 mask = 0;
|
u32 mask = 0;
|
||||||
|
|
Loading…
Reference in a new issue