1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

More support

llvm-svn: 4873
This commit is contained in:
Chris Lattner 2002-12-02 21:56:28 +00:00
parent e66d3e90ce
commit 2ebb6f1a57

View File

@ -12,6 +12,7 @@
class MachineFunction;
class MachineBasicBlock;
class Value;
struct MachineCodeEmitter {
@ -32,7 +33,14 @@ struct MachineCodeEmitter {
/// emitByte - This callback is invoked when a byte needs to be written to the
/// output stream.
///
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