OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 the V8 project authors. All rights reserved. | |
Michael Starzinger
2017/01/18 10:47:24
nit: 2017
mattloring
2017/01/18 17:48:18
Done.
| |
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 SRC_FFI_FFI_COMPILER_H_ | |
6 #define SRC_FFI_FFI_COMPILER_H_ | |
7 | |
8 #include "src/machine-type.h" | |
9 | |
10 namespace v8 { | |
11 namespace internal { | |
12 | |
13 void InstallFFIMap(Isolate* isolate); | |
14 | |
15 namespace ffi { | |
16 | |
17 typedef Signature<MachineType> FFISignature; | |
18 | |
19 struct NativeFunction { | |
20 FFISignature* sig; | |
21 uint8_t* start; | |
22 }; | |
23 | |
24 Handle<JSFunction> CompileJSToNativeWrapper(Isolate* isolate, | |
25 Handle<String> name, | |
26 ffi::NativeFunction func); | |
27 } // namespace ffi | |
28 } // namespace internal | |
29 } // namespace v8 | |
30 | |
31 #endif // SRC_FFI_FFI_COMPILER_H_ | |
OLD | NEW |