Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 //===- subzero/src/PNaClTranlator.h - Builds ICE from PNaCl bitcode -------===// | |
|
jvoung (off chromium)
2014/07/01 17:32:53
PNaClTranslator.h
Karl
2014/07/01 21:31:08
Done.
| |
| 2 // | |
| 3 // The Subzero Code Generator | |
| 4 // | |
| 5 // This file is distributed under the University of Illinois Open Source | |
| 6 // License. See LICENSE.TXT for details. | |
| 7 // | |
| 8 //===----------------------------------------------------------------------===// | |
| 9 // | |
| 10 // This file declares the PNaCl bitcode file to Ice translator. | |
| 11 // | |
| 12 //===----------------------------------------------------------------------===// | |
| 13 | |
| 14 #ifndef SUBZERO_SRC_ICEREADER_H | |
|
jvoung (off chromium)
2014/07/01 17:32:54
if-def guards don't match the filename
I guess cl
Karl
2014/07/01 21:31:08
Done.
| |
| 15 #define SUBZERO_SRC_ICEREADER_H | |
| 16 | |
| 17 #include "IceTranslator.h" | |
| 18 | |
| 19 namespace Ice { | |
| 20 | |
| 21 class PNaClTranslator : Translator { | |
| 22 public: | |
| 23 PNaClTranslator(Ice::GlobalContext *Ctx, Ice::ClFlags &Flags) | |
| 24 : Translator(Ctx, Flags) {} | |
| 25 // Reads the PNaCl bitcode file and translates to ICE. Returns exit | |
| 26 // status 0 if successul. Nonzero otherwise. | |
|
jvoung (off chromium)
2014/07/01 17:32:53
successful
Karl
2014/07/01 21:31:08
Done.
| |
| 27 int translate(std::string IRFilename); | |
|
jvoung (off chromium)
2014/07/01 17:32:53
Could this be: "const std::string &" ?
Karl
2014/07/01 21:31:08
Done.
| |
| 28 }; | |
| 29 | |
| 30 } | |
| 31 | |
| 32 #endif // SUBZERO_SRC_ICEREADER_H | |
| OLD | NEW |