[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Apr 15 15:24:02 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9CodeEmitter.h updated: 1.17 -> 1.18
---
Log message:
Give SparcV9CodeEmitter a head-of-file comment and a PassName.
---
Diffs of the changes: (+6 -1)
Index: llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h
diff -u llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h:1.17 llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h:1.18
--- llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h:1.17 Tue Nov 11 16:41:33 2003
+++ llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h Thu Apr 15 15:23:13 2004
@@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
//
-// TODO: Need a description here.
+// Target-specific portions of the machine code emitter for the SparcV9.
+// This class interfaces with the JIT's Emitter in order to turn MachineInstrs
+// into words of binary machine code. Its code is partially generated by
+// TableGen's CodeEmitterGenerator.
//
//===----------------------------------------------------------------------===//
@@ -39,6 +42,8 @@
public:
SparcV9CodeEmitter(TargetMachine &T, MachineCodeEmitter &M);
~SparcV9CodeEmitter();
+
+ const char *getPassName() const { return "SparcV9 Machine Code Emitter"; }
/// runOnMachineFunction - emits the given machine function to memory.
///
More information about the llvm-commits
mailing list