aboutsummaryrefslogtreecommitdiff
path: root/support/tools/TableGen/CodeEmitterGen.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-31 04:38:26 +0000
committerChris Lattner <sabre@nondot.org>2003-07-31 04:38:26 +0000
commitf745a20deb40ba0113fe368efcba5393e9d3e99c (patch)
treeb61a228223b04846e921ff723a90fa6b0fc9323c /support/tools/TableGen/CodeEmitterGen.h
parent14d7c59491347a2f8f29e120fd75a4cad42f68e7 (diff)
Rename createEmitter to run because eventually all tablegen backends will
be subclasses of a common interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/tools/TableGen/CodeEmitterGen.h')
-rw-r--r--support/tools/TableGen/CodeEmitterGen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/support/tools/TableGen/CodeEmitterGen.h b/support/tools/TableGen/CodeEmitterGen.h
index 7b3d2017a9..60f11de1da 100644
--- a/support/tools/TableGen/CodeEmitterGen.h
+++ b/support/tools/TableGen/CodeEmitterGen.h
@@ -14,7 +14,8 @@ class CodeEmitterGen {
public:
CodeEmitterGen(RecordKeeper &R) : Records(R) {}
- int createEmitter(std::ostream &o);
+ // run - Output the code emitter, returning true on failure.
+ bool run(std::ostream &o);
private:
void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
void emitGetValueBit(std::ostream &o, const std::string &Namespace);