mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Files missing from LABEL check in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -344,7 +344,7 @@ FindUniqueOperandCommands(std::vector<std::string> &UniqueOperandCommands,
|
||||
|
||||
for (unsigned i = 0, e = NumberedInstructions.size(); i != e; ++i) {
|
||||
const AsmWriterInst *Inst = getAsmWriterInstByID(i);
|
||||
if (Inst == 0) continue; // PHI, INLINEASM, etc.
|
||||
if (Inst == 0) continue; // PHI, INLINEASM, LABEL, etc.
|
||||
|
||||
std::string Command;
|
||||
if (Inst->Operands.empty())
|
||||
@@ -621,6 +621,9 @@ void AsmWriterEmitter::run(std::ostream &O) {
|
||||
O << " if (MI->getOpcode() == TargetInstrInfo::INLINEASM) {\n"
|
||||
<< " printInlineAsm(MI);\n"
|
||||
<< " return true;\n"
|
||||
<< " } else if (MI->getOpcode() == TargetInstrInfo::LABEL) {\n"
|
||||
<< " printLabel(MI);\n"
|
||||
<< " return true;\n"
|
||||
<< " }\n\n";
|
||||
|
||||
O << " // Emit the opcode for the instruction.\n"
|
||||
|
||||
Reference in New Issue
Block a user