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

Side by Side Diff: src/compiler/ffi-compiler.h

Issue 2607993003: FFI Compiler based on code stub assembler (Closed)
Patch Set: Rebase Created 3 years, 11 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 // 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_COMPILER_FFI_COMPILER_H_
6 #define V8_COMPILER_FFI_COMPILER_H_
7
8 #include "src/machine-type.h"
9
10 namespace v8 {
11 namespace internal {
12 namespace ffi {
13
14 typedef Signature<MachineType> FFISignature;
15
16 struct NativeFunction {
17 FFISignature* sig;
18 uint8_t* start;
19 };
20 } // namespace ffi
21
22 namespace compiler {
23
24 Handle<JSFunction> CompileJSToNativeWrapper(Isolate* isolate,
25 Handle<String> name,
26 ffi::NativeFunction func);
27 } // namespace compiler
28 } // namespace internal
29 } // namespace v8
30
31 #endif // V8_COMPILER_FFI_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698