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

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

Issue 2583113002: Use preexisting SharedFunctionInfos in the asm-wasm builder (Closed)
Patch Set: comment Created 4 years 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 | « no previous file | 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
1 // Copyright 2016 the V8 project authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ASMJS_ASM_JS_H_ 5 #ifndef V8_ASMJS_ASM_JS_H_
6 #define V8_ASMJS_ASM_JS_H_ 6 #define V8_ASMJS_ASM_JS_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 class CompilationInfo;
13 class JSArrayBuffer; 14 class JSArrayBuffer;
14 class ParseInfo;
15 15
16 // Interface to compile and instantiate for asmjs. 16 // Interface to compile and instantiate for asmjs.
17 class AsmJs { 17 class AsmJs {
18 public: 18 public:
19 static MaybeHandle<FixedArray> CompileAsmViaWasm(ParseInfo* info); 19 static MaybeHandle<FixedArray> CompileAsmViaWasm(CompilationInfo* info);
20 static bool IsStdlibValid(Isolate* isolate, Handle<FixedArray> wasm_data, 20 static bool IsStdlibValid(Isolate* isolate, Handle<FixedArray> wasm_data,
21 Handle<JSReceiver> stdlib); 21 Handle<JSReceiver> stdlib);
22 static MaybeHandle<Object> InstantiateAsmWasm(Isolate* isolate, 22 static MaybeHandle<Object> InstantiateAsmWasm(Isolate* isolate,
23 Handle<FixedArray> wasm_data, 23 Handle<FixedArray> wasm_data,
24 Handle<JSArrayBuffer> memory, 24 Handle<JSArrayBuffer> memory,
25 Handle<JSReceiver> foreign); 25 Handle<JSReceiver> foreign);
26 }; 26 };
27 27
28 } // namespace internal 28 } // namespace internal
29 } // namespace v8 29 } // namespace v8
30 #endif 30 #endif
OLDNEW
« no previous file with comments | « no previous file | src/asmjs/asm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698