[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Dec 2 15:57:02 PST 2002
Changes in directory llvm/include/llvm/CodeGen:
MachineCodeEmitter.h updated: 1.2 -> 1.3
---
Log message:
More support
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
diff -u llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.2 llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.3
--- llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.2 Mon Dec 2 15:44:13 2002
+++ llvm/include/llvm/CodeGen/MachineCodeEmitter.h Mon Dec 2 15:56:28 2002
@@ -12,6 +12,7 @@
class MachineFunction;
class MachineBasicBlock;
+class Value;
struct MachineCodeEmitter {
@@ -32,7 +33,14 @@
/// 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
More information about the llvm-commits
mailing list