aboutsummaryrefslogtreecommitdiffstats
path: root/support/tools/TableGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-31 04:32:37 +0000
committerChris Lattner <sabre@nondot.org>2003-07-31 04:32:37 +0000
commitaaa3939476beb6ad10c973b06dff95bebd060763 (patch)
tree3621314b4317eb3b07f92081fb8b13e0b2a91281 /support/tools/TableGen
parent741bb0019de9aa28a731b4eef2422a3397f99cd0 (diff)
downloadexternal_llvm-aaa3939476beb6ad10c973b06dff95bebd060763.zip
external_llvm-aaa3939476beb6ad10c973b06dff95bebd060763.tar.gz
external_llvm-aaa3939476beb6ad10c973b06dff95bebd060763.tar.bz2
Tighten up interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/tools/TableGen')
-rw-r--r--support/tools/TableGen/CodeEmitterGen.h6
1 files changed, 3 insertions, 3 deletions
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 <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);
};