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

Side by Side Diff: src/wasm/wasm-external-refs.h

Issue 2562393002: [wasm] Introduce the TrapIf and TrapUnless operators to generate trap code. (Closed)
Patch Set: Rename UseSourcePosition to IsSourcePositionUsed 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 | « src/runtime/runtime-wasm.cc ('k') | src/wasm/wasm-external-refs.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 #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
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
OLDNEW
« no previous file with comments | « src/runtime/runtime-wasm.cc ('k') | src/wasm/wasm-external-refs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698