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

Side by Side Diff: src/WasmTranslator.h

Issue 1856323004: Subzero. Fixes Browser Build (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Removes Wasm translator from browser build Created 4 years, 8 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
1 //===- subzero/src/WasmTranslator.h - WASM to Subzero Translation ---------===// 1 //===- subzero/src/WasmTranslator.h - WASM to Subzero Translation ---------===//
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 /// \file 10 /// \file
11 /// \brief Declares a driver for translating Wasm bitcode into PNaCl bitcode. 11 /// \brief Declares a driver for translating Wasm bitcode into PNaCl bitcode.
12 /// 12 ///
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_WASMTRANSLATOR_H 15 #ifndef SUBZERO_SRC_WASMTRANSLATOR_H
16 #define SUBZERO_SRC_WASMTRANSLATOR_H 16 #define SUBZERO_SRC_WASMTRANSLATOR_H
17 17
18 #if ALLOW_WASM
19
18 #include "IceGlobalContext.h" 20 #include "IceGlobalContext.h"
19 #include "IceTranslator.h" 21 #include "IceTranslator.h"
20 22
21 namespace v8 { 23 namespace v8 {
22 namespace internal { 24 namespace internal {
23 class Zone; 25 class Zone;
24 namespace wasm { 26 namespace wasm {
25 class FunctionEnv; 27 class FunctionEnv;
26 } // end of namespace wasm 28 } // end of namespace wasm
27 } // end of namespace internal 29 } // end of namespace internal
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 v8::internal::wasm::FunctionEnv *Env, 61 v8::internal::wasm::FunctionEnv *Env,
60 const uint8_t *Base, 62 const uint8_t *Base,
61 const uint8_t *Start, 63 const uint8_t *Start,
62 const uint8_t *End); 64 const uint8_t *End);
63 65
64 private: 66 private:
65 std::unique_ptr<uint8_t[]> Buffer; 67 std::unique_ptr<uint8_t[]> Buffer;
66 SizeT BufferSize; 68 SizeT BufferSize;
67 }; 69 };
68 } 70 }
71
72 #endif // ALLOW_WASM
73
69 #endif // SUBZERO_SRC_WASMTRANSLATOR_H 74 #endif // SUBZERO_SRC_WASMTRANSLATOR_H
OLDNEW
« src/IceCompiler.cpp ('K') | « src/IceCompiler.cpp ('k') | src/WasmTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698