diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-07-31 04:32:37 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-07-31 04:32:37 +0000 |
| commit | c33ca30544896eaab0b05aaa6517bf77a00cd2fb (patch) | |
| tree | 2517a8df0488a0688bb5ad34ccefb460798fcebf /llvm | |
| parent | a93c7aeb7eee9ac7c18a289941256f6eb5fa5cd7 (diff) | |
| download | bcm5719-llvm-c33ca30544896eaab0b05aaa6517bf77a00cd2fb.tar.gz bcm5719-llvm-c33ca30544896eaab0b05aaa6517bf77a00cd2fb.zip | |
Tighten up interface
llvm-svn: 7443
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/support/tools/TableGen/CodeEmitterGen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/support/tools/TableGen/CodeEmitterGen.h b/llvm/support/tools/TableGen/CodeEmitterGen.h index cf000c47b58..7b3d2017a98 100644 --- a/llvm/support/tools/TableGen/CodeEmitterGen.h +++ b/llvm/support/tools/TableGen/CodeEmitterGen.h @@ -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); }; |

