mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
More support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8f04b0981f
commit
8562d4ec7c
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
class MachineFunction;
|
class MachineFunction;
|
||||||
class MachineBasicBlock;
|
class MachineBasicBlock;
|
||||||
|
class Value;
|
||||||
|
|
||||||
struct MachineCodeEmitter {
|
struct MachineCodeEmitter {
|
||||||
|
|
||||||
@ -32,7 +33,14 @@ struct MachineCodeEmitter {
|
|||||||
|
|
||||||
/// emitByte - This callback is invoked when a byte needs to be written to the
|
/// emitByte - This callback is invoked when a byte needs to be written to the
|
||||||
/// output stream.
|
/// output stream.
|
||||||
|
///
|
||||||
virtual void emitByte(unsigned char B) {}
|
virtual void emitByte(unsigned char B) {}
|
||||||
|
|
||||||
|
/// emitPCRelativeDisp - This callback is invoked when we need to write out a
|
||||||
|
/// PC relative displacement for the specified Value*. This is used for call
|
||||||
|
/// and jump instructions typically.
|
||||||
|
///
|
||||||
|
virtual void emitPCRelativeDisp(Value *V) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user