[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineCodeEmitter.h

Misha Brukman brukman at cs.uiuc.edu
Fri May 30 15:33:08 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

MachineCodeEmitter.h updated: 1.10 -> 1.11

---
Log message:

Added saveBBreferences() for BasicBlock resolution.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/MachineCodeEmitter.h
diff -u llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.10 llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.11
--- llvm/include/llvm/CodeGen/MachineCodeEmitter.h:1.10	Tue May 27 16:46:56 2003
+++ llvm/include/llvm/CodeGen/MachineCodeEmitter.h	Fri May 30 15:32:44 2003
@@ -10,7 +10,10 @@
 #ifndef LLVM_CODEGEN_MACHINE_CODE_EMITTER_H
 #define LLVM_CODEGEN_MACHINE_CODE_EMITTER_H
 
+#include <iostream>
 #include <string>
+class BasicBlock;
+class MachineInstr;
 class MachineFunction;
 class MachineBasicBlock;
 class MachineConstantPool;
@@ -91,6 +94,11 @@
   ///
   static MachineCodeEmitter*
   createFilePrinterMachineCodeEmitter(MachineCodeEmitter&);
+
+  /// 
+  virtual void saveBBreference(BasicBlock* BB, MachineInstr &MI) {
+    std::cerr << "Save BB reference unimplemented\n";
+  }
 };
 
 #endif





More information about the llvm-commits mailing list