[llvm-commits] CVS: llvm/utils/TableGen/CodeEmitterGen.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 30 23:33:01 PDT 2003
Changes in directory llvm/utils/TableGen:
CodeEmitterGen.h updated: 1.3 -> 1.4
---
Log message:
Tighten up interface
---
Diffs of the changes:
Index: llvm/utils/TableGen/CodeEmitterGen.h
diff -u llvm/utils/TableGen/CodeEmitterGen.h:1.3 llvm/utils/TableGen/CodeEmitterGen.h:1.4
--- llvm/utils/TableGen/CodeEmitterGen.h:1.3 Tue Jul 29 18:00:08 2003
+++ llvm/utils/TableGen/CodeEmitterGen.h Wed Jul 30 23:32:37 2003
@@ -1,5 +1,6 @@
//===- CodeEmitterGen.h - Code Emitter Generator ----------------*- C++ -*-===//
//
+// FIXME: document
//
//===----------------------------------------------------------------------===//
@@ -7,15 +8,14 @@
#define CODEMITTERGEN_H
#include "Record.h"
-#include <iostream>
-struct CodeEmitterGen {
+class CodeEmitterGen {
RecordKeeper &Records;
-
public:
CodeEmitterGen(RecordKeeper &R) : Records(R) {}
int createEmitter(std::ostream &o);
+private:
void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
void emitGetValueBit(std::ostream &o, const std::string &Namespace);
};
More information about the llvm-commits
mailing list