mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Instructions no longer need to have names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a35ce87e2e
commit
2d12b2cf75
@ -97,7 +97,12 @@ void InstrInfoEmitter::run(std::ostream &OS) {
|
||||
|
||||
void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
Record *InstrInfo, std::ostream &OS) {
|
||||
OS << " { \"" << Inst.Name << "\",\t-1, -1, 0, false, 0, 0, 0, 0";
|
||||
OS << " { \"";
|
||||
if (Inst.Name.empty())
|
||||
OS << Inst.TheDef->getName();
|
||||
else
|
||||
OS << Inst.Name;
|
||||
OS << "\",\t-1, -1, 0, false, 0, 0, 0, 0";
|
||||
|
||||
// Emit all of the target indepedent flags...
|
||||
if (Inst.isReturn) OS << "|M_RET_FLAG";
|
||||
|
Loading…
x
Reference in New Issue
Block a user