mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +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:
@ -258,11 +258,18 @@ getInstructionsByEnumValue(std::vector<const CodeGenInstruction*>
|
||||
if (I == Instructions.end()) throw "Could not find 'INLINEASM' instruction!";
|
||||
const CodeGenInstruction *INLINEASM = &I->second;
|
||||
|
||||
I = getInstructions().find("LABEL");
|
||||
if (I == Instructions.end()) throw "Could not find 'LABEL' instruction!";
|
||||
const CodeGenInstruction *LABEL = &I->second;
|
||||
|
||||
// Print out the rest of the instructions now.
|
||||
NumberedInstructions.push_back(PHI);
|
||||
NumberedInstructions.push_back(INLINEASM);
|
||||
NumberedInstructions.push_back(LABEL);
|
||||
for (inst_iterator II = inst_begin(), E = inst_end(); II != E; ++II)
|
||||
if (&II->second != PHI &&&II->second != INLINEASM)
|
||||
if (&II->second != PHI &&
|
||||
&II->second != INLINEASM &&
|
||||
&II->second != LABEL)
|
||||
NumberedInstructions.push_back(&II->second);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user