Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Side by Side Diff: src/PNaClTranslator.h

Issue 656123003: Subzero: Class definition cleanup. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes for Karl Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceTranslator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 // translator. 11 // translator.
12 // 12 //
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_PNACLTRANSLATOR_H 15 #ifndef SUBZERO_SRC_PNACLTRANSLATOR_H
16 #define SUBZERO_SRC_PNACLTRANSLATOR_H 16 #define SUBZERO_SRC_PNACLTRANSLATOR_H
17 17
18 #include <string> 18 #include <string>
19 19
20 #include "IceTranslator.h" 20 #include "IceTranslator.h"
21 21
22 namespace Ice { 22 namespace Ice {
23 23
24 class PNaClTranslator : public Translator { 24 class PNaClTranslator : public Translator {
25 PNaClTranslator(const PNaClTranslator &) = delete;
26 PNaClTranslator &operator=(const PNaClTranslator &) = delete;
27
25 public: 28 public:
26 PNaClTranslator(GlobalContext *Ctx, const ClFlags &Flags) 29 PNaClTranslator(GlobalContext *Ctx, const ClFlags &Flags)
27 : Translator(Ctx, Flags) {} 30 : Translator(Ctx, Flags) {}
28 // Reads the PNaCl bitcode file and translates to ICE, which is then 31 // Reads the PNaCl bitcode file and translates to ICE, which is then
29 // converted to machine code. Sets ErrorStatus to true if any 32 // converted to machine code. Sets ErrorStatus to true if any
30 // errors occurred. 33 // errors occurred.
31 void translate(const std::string &IRFilename); 34 void translate(const std::string &IRFilename);
35 };
32 36
33 private: 37 } // end of namespace Ice
34 PNaClTranslator(const PNaClTranslator &) = delete;
35 PNaClTranslator &operator=(const PNaClTranslator &) = delete;
36 };
37 }
38 38
39 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H 39 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H
OLDNEW
« no previous file with comments | « src/IceTranslator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698