mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Remove unused field from FixedLenDecoderEmitter. Move NumberedInstructions declaration from class to run method since its only used there and was being reinitialized anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,8 +57,7 @@ public:
|
||||
std::string ROK = "MCDisassembler::Success",
|
||||
std::string RFail = "MCDisassembler::Fail",
|
||||
std::string L = "") :
|
||||
Records(R), Target(R),
|
||||
NumberedInstructions(Target.getInstructionsByEnumValue()),
|
||||
Target(R),
|
||||
PredicateNamespace(PredicateNamespace),
|
||||
GuardPrefix(GPrefix), GuardPostfix(GPostfix),
|
||||
ReturnOK(ROK), ReturnFail(RFail), Locals(L) {}
|
||||
@@ -67,9 +66,7 @@ public:
|
||||
void run(raw_ostream &o);
|
||||
|
||||
private:
|
||||
RecordKeeper &Records;
|
||||
CodeGenTarget Target;
|
||||
std::vector<const CodeGenInstruction*> NumberedInstructions;
|
||||
public:
|
||||
std::string PredicateNamespace;
|
||||
std::string GuardPrefix, GuardPostfix;
|
||||
|
||||
Reference in New Issue
Block a user