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

Side by Side Diff: src/PNaClTranslator.h

Issue 361733002: Update Subzero to start parsing PNaCl bitcode files. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Reformat IceConverter.cpp Created 6 years, 5 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
OLDNEW
(Empty)
1 //===- subzero/src/PNaClTranslator.h - ICE from bitcode ---------*- C++ -*-===//
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(GlobalContext *Ctx, ClFlags &Flags)
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
32 private:
33 PNaClTranslator(const PNaClTranslator &) LLVM_DELETED_FUNCTION;
34 PNaClTranslator &operator=(const PNaClTranslator &) LLVM_DELETED_FUNCTION;
35 };
36 }
37
38 #endif // SUBZERO_SRC_PNACLTRANSLATOR_H
OLDNEW
« no previous file with comments | « src/IceTranslator.cpp ('k') | src/PNaClTranslator.cpp » ('j') | src/PNaClTranslator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698