mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-07 08:24:27 +00:00
Make sure that print gets a targetmachine
CVS: ---------------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -98,7 +98,8 @@ public:
|
|||||||
/// target specific assembly language. If this method is not overridden, the
|
/// target specific assembly language. If this method is not overridden, the
|
||||||
/// default implementation uses the crummy machine independant printer.
|
/// default implementation uses the crummy machine independant printer.
|
||||||
///
|
///
|
||||||
virtual void print(const MachineInstr *MI, std::ostream &O) const;
|
virtual void print(const MachineInstr *MI, std::ostream &O,
|
||||||
|
const TargetMachine &TM) const;
|
||||||
|
|
||||||
const char *getName(MachineOpCode opCode) const {
|
const char *getName(MachineOpCode opCode) const {
|
||||||
return get(opCode).Name;
|
return get(opCode).Name;
|
||||||
|
@ -98,7 +98,8 @@ public:
|
|||||||
/// target specific assembly language. If this method is not overridden, the
|
/// target specific assembly language. If this method is not overridden, the
|
||||||
/// default implementation uses the crummy machine independant printer.
|
/// default implementation uses the crummy machine independant printer.
|
||||||
///
|
///
|
||||||
virtual void print(const MachineInstr *MI, std::ostream &O) const;
|
virtual void print(const MachineInstr *MI, std::ostream &O,
|
||||||
|
const TargetMachine &TM) const;
|
||||||
|
|
||||||
const char *getName(MachineOpCode opCode) const {
|
const char *getName(MachineOpCode opCode) const {
|
||||||
return get(opCode).Name;
|
return get(opCode).Name;
|
||||||
|
Reference in New Issue
Block a user