OLD | NEW |
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 #include <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #ifndef WASM_EXTERNAL_REFS_H | 7 #ifndef WASM_EXTERNAL_REFS_H |
8 #define WASM_EXTERNAL_REFS_H | 8 #define WASM_EXTERNAL_REFS_H |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
| 12 |
| 13 // Forward declaration. |
| 14 class JSObject; |
| 15 |
12 namespace wasm { | 16 namespace wasm { |
13 | 17 |
14 void f32_trunc_wrapper(float* param); | 18 void f32_trunc_wrapper(float* param); |
15 | 19 |
16 void f32_floor_wrapper(float* param); | 20 void f32_floor_wrapper(float* param); |
17 | 21 |
18 void f32_ceil_wrapper(float* param); | 22 void f32_ceil_wrapper(float* param); |
19 | 23 |
20 void f32_nearest_int_wrapper(float* param); | 24 void f32_nearest_int_wrapper(float* param); |
21 | 25 |
(...skipping 29 matching lines...) Expand all Loading... |
51 | 55 |
52 int32_t uint64_mod_wrapper(uint64_t* dst, uint64_t* src); | 56 int32_t uint64_mod_wrapper(uint64_t* dst, uint64_t* src); |
53 | 57 |
54 uint32_t word32_ctz_wrapper(uint32_t* input); | 58 uint32_t word32_ctz_wrapper(uint32_t* input); |
55 | 59 |
56 uint32_t word64_ctz_wrapper(uint64_t* input); | 60 uint32_t word64_ctz_wrapper(uint64_t* input); |
57 | 61 |
58 uint32_t word32_popcnt_wrapper(uint32_t* input); | 62 uint32_t word32_popcnt_wrapper(uint32_t* input); |
59 | 63 |
60 uint32_t word64_popcnt_wrapper(uint64_t* input); | 64 uint32_t word64_popcnt_wrapper(uint64_t* input); |
| 65 |
61 } // namespace wasm | 66 } // namespace wasm |
62 } // namespace internal | 67 } // namespace internal |
63 } // namespace v8 | 68 } // namespace v8 |
64 #endif | 69 #endif |
OLD | NEW |