mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
rename printMachineInstruction -> EmitInstruction
llvm-svn: 95184
This commit is contained in:
parent
1e9d147461
commit
dda5d34934
@ -43,14 +43,9 @@ PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
|
||||
PTOF = (PIC16TargetObjectFile *)&PTLI->getObjFileLowering();
|
||||
}
|
||||
|
||||
bool PIC16AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
|
||||
processDebugLoc(MI, true);
|
||||
void PIC16AsmPrinter::EmitInstruction(const MachineInstr *MI) {
|
||||
printInstruction(MI);
|
||||
if (VerboseAsm)
|
||||
EmitComments(*MI);
|
||||
O << '\n';
|
||||
processDebugLoc(MI, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
static int getFunctionColor(const Function *F) {
|
||||
@ -148,7 +143,7 @@ bool PIC16AsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
}
|
||||
|
||||
// Print the assembly for the instruction.
|
||||
printMachineInstruction(II);
|
||||
EmitInstruction(II);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ namespace llvm {
|
||||
void printInstruction(const MachineInstr *MI); // definition autogenerated.
|
||||
static const char *getRegisterName(unsigned RegNo);
|
||||
|
||||
bool printMachineInstruction(const MachineInstr *MI);
|
||||
void EmitInstruction(const MachineInstr *MI);
|
||||
void EmitFunctionDecls (Module &M);
|
||||
void EmitUndefinedVars (Module &M);
|
||||
void EmitDefinedVars (Module &M);
|
||||
|
Loading…
Reference in New Issue
Block a user