From aaa3939476beb6ad10c973b06dff95bebd060763 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 31 Jul 2003 04:32:37 +0000 Subject: Tighten up interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7443 91177308-0d34-0410-b5e6-96231b3b80d8 --- support/tools/TableGen/CodeEmitterGen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'support/tools/TableGen') diff --git a/support/tools/TableGen/CodeEmitterGen.h b/support/tools/TableGen/CodeEmitterGen.h index cf000c4..7b3d201 100644 --- a/support/tools/TableGen/CodeEmitterGen.h +++ b/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 -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); }; -- cgit v1.1