Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 //===- subzero/src/PNaClTranslator.h - Builds ICE from PNaCl bitcode ------===// | |
|
Jim Stichnoth
2014/07/07 20:50:25
Add the C++ emacs mode indicator.
Karl
2014/07/07 21:50:57
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, to machine code | |
| 11 // translator. | |
| 12 // | |
| 13 //===----------------------------------------------------------------------===// | |
| 14 | |
| 15 #ifndef SUBZERO_SRC_PNACLTRANSLATOR_H | |
| 16 #define SUBZERO_SRC_PNACLTRANSLATOR_H | |
| 17 | |
| 18 #include "IceTranslator.h" | |
| 19 #include <string> | |
| 20 | |
| 21 namespace Ice { | |
| 22 | |
| 23 class PNaClTranslator : public Translator { | |
| 24 public: | |
| 25 PNaClTranslator(Ice::GlobalContext *Ctx, Ice::ClFlags &Flags) | |
|
Jim Stichnoth
2014/07/07 20:50:24
Remove Ice::
Karl
2014/07/07 21:50:56
Done.
| |
| 26 : Translator(Ctx, Flags) {} | |
| 27 // Reads the PNaCl bitcode file and translates to ICE, which is then | |
| 28 // converted to machine code. Sets ExitStatus to non-zero if any | |
| 29 // errors occurred. | |
| 30 void translate(const std::string &IRFilename); | |
| 31 }; | |
|
Jim Stichnoth
2014/07/07 20:50:24
Disable default copy ctor and assignment operator.
Karl
2014/07/07 21:50:56
Done.
| |
| 32 | |
| 33 } | |
| 34 | |
| 35 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H | |
|
Jim Stichnoth
2014/07/07 20:50:24
Single space before comment. :)
Karl
2014/07/07 21:50:57
Letting the formatter decide.
| |
| OLD | NEW |