Mercurial > hg > graal-compiler
diff src/share/vm/adlc/filebuff.hpp @ 6850:d336b3173277
8000592: Improve adlc usability
Summary: several changes to adlc to improve its usability
Reviewed-by: kvn
Contributed-by: goetz.lindenmaier@sap.com
author | kvn |
---|---|
date | Tue, 09 Oct 2012 16:09:31 -0700 |
parents | f95d63e2154a |
children |
line wrap: on
line diff
--- a/src/share/vm/adlc/filebuff.hpp Tue Oct 09 12:40:05 2012 -0700 +++ b/src/share/vm/adlc/filebuff.hpp Tue Oct 09 16:09:31 2012 -0700 @@ -31,10 +31,14 @@ using namespace std; // STRUCTURE FOR HANDLING INPUT AND OUTPUT FILES -typedef struct { + +class BufferedFile { + public: const char *_name; FILE *_fp; -} BufferedFile; + inline BufferedFile() { _name = NULL; _fp = NULL; }; + inline ~BufferedFile() {}; +}; class ArchDesc;