|
35 | 35 | from common import env_modify, no_mac, no_windows, only_windows, requires_native_clang, with_env_modify |
36 | 36 | from common import create_file, parameterized, NON_ZERO, node_pthreads, TEST_ROOT, test_file |
37 | 37 | from common import compiler_for, EMBUILDER, requires_v8, requires_node, requires_wasm64, requires_node_canary |
38 | | -from common import requires_wasm_eh, crossplatform, with_all_eh_sjlj, with_all_sjlj |
| 38 | +from common import requires_wasm_eh, crossplatform, with_all_eh_sjlj, with_all_sjlj, requires_jspi |
39 | 39 | from common import also_with_standalone_wasm, also_with_wasm2js, also_with_noderawfs |
40 | 40 | from common import also_with_modularize, also_with_wasmfs, with_all_fs |
41 | 41 | from common import also_with_minimal_runtime, also_with_wasm_bigint, also_with_wasm64, also_with_asan, flaky |
@@ -195,17 +195,6 @@ def decorated(self, *args, **kwargs): |
195 | 195 | return decorated |
196 | 196 |
|
197 | 197 |
|
198 | | -def requires_jspi(func): |
199 | | - assert callable(func) |
200 | | - |
201 | | - @wraps(func) |
202 | | - def decorated(self, *args, **kwargs): |
203 | | - self.require_jspi() |
204 | | - return func(self, *args, **kwargs) |
205 | | - |
206 | | - return decorated |
207 | | - |
208 | | - |
209 | 198 | def llvm_nm(file): |
210 | 199 | output = shared.run_process([LLVM_NM, file], stdout=PIPE).stdout |
211 | 200 |
|
|
0 commit comments