| 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 { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 uint32_t word32_ctz_wrapper(uint32_t* input); | 54 uint32_t word32_ctz_wrapper(uint32_t* input); |
| 55 | 55 |
| 56 uint32_t word64_ctz_wrapper(uint64_t* input); | 56 uint32_t word64_ctz_wrapper(uint64_t* input); |
| 57 | 57 |
| 58 uint32_t word32_popcnt_wrapper(uint32_t* input); | 58 uint32_t word32_popcnt_wrapper(uint32_t* input); |
| 59 | 59 |
| 60 uint32_t word64_popcnt_wrapper(uint64_t* input); | 60 uint32_t word64_popcnt_wrapper(uint64_t* input); |
| 61 | 61 |
| 62 void float64_pow_wrapper(double* param0, double* param1); | 62 void float64_pow_wrapper(double* param0, double* param1); |
| 63 | 63 |
| 64 typedef void (*WasmTrapCallbackForTesting)(); |
| 65 |
| 66 void set_trap_callback_for_testing(WasmTrapCallbackForTesting callback); |
| 67 |
| 68 void call_trap_callback_for_testing(); |
| 69 |
| 64 } // namespace wasm | 70 } // namespace wasm |
| 65 } // namespace internal | 71 } // namespace internal |
| 66 } // namespace v8 | 72 } // namespace v8 |
| 67 #endif | 73 #endif |
| OLD | NEW |