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

Side by Side Diff: src/asmjs/asm-js.h

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 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
« no previous file with comments | « src/asmjs/OWNERS ('k') | src/asmjs/asm-js.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef V8_ASMJS_ASM_JS_H_
6 #define V8_ASMJS_ASM_JS_H_
7
8 #ifndef V8_SHARED
9 #include "src/allocation.h"
10 #include "src/base/hashmap.h"
11 #else
12 #include "include/v8.h"
13 #include "src/base/compiler-specific.h"
14 #endif // !V8_SHARED
15 #include "src/parsing/parser.h"
16
17 namespace v8 {
18 namespace internal {
19 // Interface to compile and instantiate for asmjs.
20 class AsmJs {
21 public:
22 static MaybeHandle<FixedArray> ConvertAsmToWasm(i::ParseInfo* info);
23 static MaybeHandle<Object> InstantiateAsmWasm(i::Isolate* isolate,
24 Handle<FixedArray> wasm_data,
25 Handle<JSArrayBuffer> memory,
26 Handle<JSObject> foreign);
27 };
28
29 } // namespace internal
30 } // namespace v8
31 #endif
OLDNEW
« no previous file with comments | « src/asmjs/OWNERS ('k') | src/asmjs/asm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698