OLD | NEW |
1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- C++ -*-===// | 1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- C++ -*-===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file declares the PNaCl bitcode file to ICE, to machine code | 10 // This file declares the PNaCl bitcode file to ICE, to machine code |
(...skipping 13 matching lines...) Expand all Loading... |
24 class PNaClTranslator : public Translator { | 24 class PNaClTranslator : public Translator { |
25 public: | 25 public: |
26 PNaClTranslator(GlobalContext *Ctx, const ClFlags &Flags) | 26 PNaClTranslator(GlobalContext *Ctx, const ClFlags &Flags) |
27 : Translator(Ctx, Flags) {} | 27 : Translator(Ctx, Flags) {} |
28 // Reads the PNaCl bitcode file and translates to ICE, which is then | 28 // Reads the PNaCl bitcode file and translates to ICE, which is then |
29 // converted to machine code. Sets ErrorStatus to true if any | 29 // converted to machine code. Sets ErrorStatus to true if any |
30 // errors occurred. | 30 // errors occurred. |
31 void translate(const std::string &IRFilename); | 31 void translate(const std::string &IRFilename); |
32 | 32 |
33 private: | 33 private: |
34 PNaClTranslator(const PNaClTranslator &) LLVM_DELETED_FUNCTION; | 34 PNaClTranslator(const PNaClTranslator &) = delete; |
35 PNaClTranslator &operator=(const PNaClTranslator &) LLVM_DELETED_FUNCTION; | 35 PNaClTranslator &operator=(const PNaClTranslator &) = delete; |
36 }; | 36 }; |
37 } | 37 } |
38 | 38 |
39 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H | 39 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H |
OLD | NEW |