reimplement the regex matching strategy by building a single
[oota-llvm.git] / utils / TableGen / AsmWriterEmitter.h
index 302722d6df06fbd0ec763374a16a2b6dcfc6d6b9..7862caa25a8a03471faafa1ae348ff6543bccb67 100644 (file)
@@ -32,9 +32,12 @@ namespace llvm {
     AsmWriterEmitter(RecordKeeper &R) : Records(R) {}
 
     // run - Output the asmwriter, returning true on failure.
-    void run(std::ostream &o);
+    void run(raw_ostream &o);
 
 private:
+    void EmitPrintInstruction(raw_ostream &o);
+    void EmitGetRegisterName(raw_ostream &o);
+    
     AsmWriterInst *getAsmWriterInstByID(unsigned ID) const {
       assert(ID < NumberedInstructions.size());
       std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I =