aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeEmitterGen.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-03 00:10:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-03 00:10:29 +0000
commit1a55180238dbcf11113f610aea010447e51f595b (patch)
treeb9769936054af70053271573496a228e18629946 /utils/TableGen/CodeEmitterGen.h
parent78236f8c8a0e6bd966afd7e461599336956f7772 (diff)
downloadexternal_llvm-1a55180238dbcf11113f610aea010447e51f595b.tar.gz
external_llvm-1a55180238dbcf11113f610aea010447e51f595b.tar.bz2
external_llvm-1a55180238dbcf11113f610aea010447e51f595b.zip
Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself. - No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.h')
-rw-r--r--utils/TableGen/CodeEmitterGen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/CodeEmitterGen.h b/utils/TableGen/CodeEmitterGen.h
index cb272bd56d..f0b3229c04 100644
--- a/utils/TableGen/CodeEmitterGen.h
+++ b/utils/TableGen/CodeEmitterGen.h
@@ -30,10 +30,10 @@ public:
CodeEmitterGen(RecordKeeper &R) : Records(R) {}
// run - Output the code emitter
- void run(std::ostream &o);
+ void run(raw_ostream &o);
private:
- void emitMachineOpEmitter(std::ostream &o, const std::string &Namespace);
- void emitGetValueBit(std::ostream &o, const std::string &Namespace);
+ void emitMachineOpEmitter(raw_ostream &o, const std::string &Namespace);
+ void emitGetValueBit(raw_ostream &o, const std::string &Namespace);
void reverseBits(std::vector<Record*> &Insts);
int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
};