summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit38a22bffdc863f8680f17cb31874af3cf4ce67c2 (patch)
tree7c23168efc503cc591d314db12894a8c213cf8da /llvm/utils/TableGen/CodeEmitterGen.h
parentf30ee8820a9dc7dcdb28928af1adfb993b83dd1a (diff)
downloadbcm5719-llvm-38a22bffdc863f8680f17cb31874af3cf4ce67c2.tar.gz
bcm5719-llvm-38a22bffdc863f8680f17cb31874af3cf4ce67c2.zip
Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself. - No intended functionality change. llvm-svn: 74742
Diffstat (limited to 'llvm/utils/TableGen/CodeEmitterGen.h')
-rw-r--r--llvm/utils/TableGen/CodeEmitterGen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/CodeEmitterGen.h b/llvm/utils/TableGen/CodeEmitterGen.h
index cb272bd56d2..f0b3229c041 100644
--- a/llvm/utils/TableGen/CodeEmitterGen.h
+++ b/llvm/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);
};
OpenPOWER on IntegriCloud