aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeEmitterGen.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.h')
-rw-r--r--utils/TableGen/CodeEmitterGen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/CodeEmitterGen.h b/utils/TableGen/CodeEmitterGen.h
index 7b3d2017a9..60f11de1da 100644
--- a/utils/TableGen/CodeEmitterGen.h
+++ b/utils/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);