wasmtime 19.0.2 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +116 -120
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/anyhow-1.0.83/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/anyhow-1.0.83/Cargo.toml +130 -0
- data/ext/cargo-vendor/anyhow-1.0.83/README.md +181 -0
- data/ext/cargo-vendor/anyhow-1.0.83/build.rs +179 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/backtrace.rs +406 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/chain.rs +102 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/fmt.rs +158 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/kind.rs +121 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/lib.rs +702 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/macros.rs +241 -0
- data/ext/cargo-vendor/anyhow-1.0.83/src/wrapper.rs +84 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_ensure.rs +724 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_macros.rs +81 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/test_repr.rs +30 -0
- data/ext/cargo-vendor/anyhow-1.0.83/tests/ui/no-impl.stderr +32 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.107.2/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/Cargo.toml +178 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/build.rs +396 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/alias_analysis.rs +403 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/bitset.rs +187 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/context.rs +386 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph/elaborate.rs +835 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/egraph.rs +838 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/inst_predicates.rs +236 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/constant.rs +462 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/dfg.rs +1777 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/entities.rs +562 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/function.rs +490 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/instructions.rs +1019 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/memflags.rs +452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/mod.rs +108 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/trapcode.rs +149 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/ir/types.rs +629 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/abi.rs +1707 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/emit.rs +3932 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst/mod.rs +3083 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/inst.isle +4218 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower/isle.rs +884 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/lower.isle +2933 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/mod.rs +242 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/aarch64/pcc.rs +565 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/call_conv.rs +127 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/abi.rs +1109 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/args.rs +1968 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/emit.rs +3466 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst/encode.rs +654 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/inst.isle +2944 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower/isle.rs +625 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/riscv64/lower.isle +2872 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/abi.rs +1047 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/args.rs +347 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst/emit.rs +3646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/inst.isle +5033 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/s390x/lower.isle +3995 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/abi.rs +1369 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/evex.rs +748 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/rex.rs +596 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/encoding/vex.rs +491 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/args.rs +2289 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit.rs +4383 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/emit_state.rs +74 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst/mod.rs +2798 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/inst.isle +5304 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower/isle.rs +1066 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.isle +4809 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/lower.rs +339 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/mod.rs +234 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/isa/x64/pcc.rs +1003 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/legalizer/mod.rs +348 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/abi.rs +2594 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/buffer.rs +2512 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/inst_common.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/isle.rs +914 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/lower.rs +1452 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/mod.rs +555 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/pcc.rs +169 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/machinst/vcode.rs +1807 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/nan_canonicalization.rs +110 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/cprop.isle +281 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts/spectre.isle +14 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/opts.rs +295 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/prelude.isle +646 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/result.rs +111 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/settings.rs +591 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/verifier/mod.rs +1957 -0
- data/ext/cargo-vendor/cranelift-codegen-0.107.2/src/write.rs +631 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/entities.rs +101 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/formats.rs +205 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.107.2/src/shared/instructions.rs +3791 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.107.2/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.107.2/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.107.2/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.107.2/Cargo.toml +69 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.107.2/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.107.2/Cargo.toml +45 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/Cargo.toml +107 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/code_translator.rs +3683 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/dummy.rs +912 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/mod.rs +8 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/environ/spec.rs +945 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/func_translator.rs +296 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/lib.rs +58 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/state.rs +522 -0
- data/ext/cargo-vendor/cranelift-wasm-0.107.2/src/table.rs +104 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.21/Cargo.toml +48 -0
- data/ext/cargo-vendor/mach2-0.4.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/mach2-0.4.2/Cargo.toml +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-APACHE +176 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-BSD +23 -0
- data/ext/cargo-vendor/mach2-0.4.2/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/mach2-0.4.2/README.md +116 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/exc.rs +73 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/kern_return.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/lib.rs +59 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/mach_port.rs +50 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/message.rs +345 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/ndr.rs +19 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/port.rs +67 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/semaphore.rs +22 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/structs.rs +66 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/sync_policy.rs +9 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task.rs +46 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/task_info.rs +49 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_act.rs +36 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_policy.rs +121 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/thread_status.rs +53 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/traps.rs +37 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm.rs +248 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_attributes.rs +18 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_page_size.rs +40 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_prot.rs +13 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_purgable.rs +42 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_region.rs +238 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_statistics.rs +58 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_sync.rs +11 -0
- data/ext/cargo-vendor/mach2-0.4.2/src/vm_types.rs +19 -0
- data/ext/cargo-vendor/object-0.33.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/object-0.33.0/CHANGELOG.md +797 -0
- data/ext/cargo-vendor/object-0.33.0/Cargo.toml +179 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-APACHE +201 -0
- data/ext/cargo-vendor/object-0.33.0/LICENSE-MIT +25 -0
- data/ext/cargo-vendor/object-0.33.0/README.md +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/archive.rs +91 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/bytes.rs +141 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/elf.rs +3033 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/error.rs +41 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/mod.rs +18 -0
- data/ext/cargo-vendor/object-0.33.0/src/build/table.rs +128 -0
- data/ext/cargo-vendor/object-0.33.0/src/common.rs +568 -0
- data/ext/cargo-vendor/object-0.33.0/src/elf.rs +6291 -0
- data/ext/cargo-vendor/object-0.33.0/src/endian.rs +831 -0
- data/ext/cargo-vendor/object-0.33.0/src/lib.rs +107 -0
- data/ext/cargo-vendor/object-0.33.0/src/macho.rs +3309 -0
- data/ext/cargo-vendor/object-0.33.0/src/pe.rs +3056 -0
- data/ext/cargo-vendor/object-0.33.0/src/pod.rs +239 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/any.rs +1328 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/archive.rs +759 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/comdat.rs +211 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/file.rs +383 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/import.rs +223 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/mod.rs +66 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/relocation.rs +108 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/section.rs +585 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/coff/symbol.rs +635 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/attributes.rs +306 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/comdat.rs +162 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/compression.rs +56 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/dynamic.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/file.rs +918 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/hash.rs +224 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/mod.rs +78 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/note.rs +271 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/relocation.rs +629 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/section.rs +1150 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/segment.rs +356 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/symbol.rs +595 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/elf/version.rs +424 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/dyld_cache.rs +345 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/fat.rs +140 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/file.rs +783 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/load_command.rs +386 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/mod.rs +72 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/relocation.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/section.rs +389 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/segment.rs +303 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/macho/symbol.rs +492 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/mod.rs +880 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/data_directory.rs +214 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/export.rs +334 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/file.rs +1053 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/import.rs +339 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/mod.rs +68 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/relocation.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/resource.rs +210 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/rich.rs +92 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/pe/section.rs +440 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_cache.rs +213 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/read_ref.rs +149 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/traits.rs +551 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/util.rs +425 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/wasm.rs +966 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/comdat.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/file.rs +697 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/mod.rs +63 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/relocation.rs +134 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/section.rs +433 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/segment.rs +117 -0
- data/ext/cargo-vendor/object-0.33.0/src/read/xcoff/symbol.rs +784 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/mod.rs +10 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/object.rs +678 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/coff/writer.rs +518 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/mod.rs +9 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/object.rs +885 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/elf/writer.rs +2309 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/macho.rs +1107 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/mod.rs +990 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/pe.rs +847 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/string.rs +186 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/util.rs +261 -0
- data/ext/cargo-vendor/object-0.33.0/src/write/xcoff.rs +589 -0
- data/ext/cargo-vendor/object-0.33.0/src/xcoff.rs +905 -0
- data/ext/cargo-vendor/object-0.33.0/tests/integration.rs +2 -0
- data/ext/cargo-vendor/object-0.33.0/tests/parse_self.rs +25 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/coff.rs +23 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/elf.rs +47 -0
- data/ext/cargo-vendor/object-0.33.0/tests/read/mod.rs +4 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/bss.rs +255 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/coff.rs +58 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/comdat.rs +225 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/common.rs +245 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/elf.rs +289 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/macho.rs +64 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/mod.rs +704 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/section_flags.rs +90 -0
- data/ext/cargo-vendor/object-0.33.0/tests/round_trip/tls.rs +316 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/Cargo.toml +220 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/ctx.rs +128 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/lib.rs +193 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/src/snapshots/preview_1.rs +1497 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/async_.rs +293 -0
- data/ext/cargo-vendor/wasi-common-20.0.0/tests/all/sync.rs +279 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/wasm-encoder-0.202.0/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/README.md +80 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/aliases.rs +160 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/builder.rs +455 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/canonicals.rs +159 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/components.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/exports.rs +124 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/imports.rs +175 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/instances.rs +200 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/modules.rs +29 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/names.rs +149 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/start.rs +52 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component/types.rs +792 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/component.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/code.rs +3595 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/custom.rs +73 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/data.rs +186 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/dump.rs +627 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/elements.rs +221 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/exports.rs +98 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/functions.rs +63 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/globals.rs +112 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/imports.rs +157 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/linking.rs +263 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/memories.rs +128 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/names.rs +298 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/producers.rs +181 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/start.rs +39 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tables.rs +134 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/tags.rs +104 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core/types.rs +678 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/core.rs +168 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/lib.rs +215 -0
- data/ext/cargo-vendor/wasm-encoder-0.208.1/src/raw.rs +30 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.lock +744 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/Cargo.toml +66 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/readers/component/types.rs +549 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/operators.rs +4076 -0
- data/ext/cargo-vendor/wasmparser-0.202.0/src/validator/types.rs +4449 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/Cargo.toml +45 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/lib.rs +3202 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/src/operator.rs +1131 -0
- data/ext/cargo-vendor/wasmprinter-0.202.0/tests/all.rs +279 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/Cargo.toml +268 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/code_builder.rs +201 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/compile.rs +897 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/config.rs +2695 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine/serialization.rs +849 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/engine.rs +741 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/lib.rs +303 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/code_memory.rs +335 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/component.rs +661 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/host.rs +439 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/options.rs +554 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func/typed.rs +2484 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/func.rs +747 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/instance.rs +804 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/linker.rs +786 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/matching.rs +217 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/mod.rs +756 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/resources.rs +1133 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/types.rs +892 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/component/values.rs +978 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/coredump.rs +336 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/global.rs +300 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/externals/table.rs +480 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func/typed.rs +898 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/func.rs +2633 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/anyref.rs +46 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/externref.rs +50 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/i31.rs +14 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled/rooting.rs +222 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/disabled.rs +17 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/anyref.rs +472 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/externref.rs +644 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/i31.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled/rooting.rs +1543 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc/enabled.rs +12 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/gc.rs +87 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instance.rs +992 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/instantiate.rs +345 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/linker.rs +1521 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/memory.rs +999 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module/registry.rs +354 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/module.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/profiling.rs +224 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store/data.rs +289 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/store.rs +2796 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/func.rs +138 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/global.rs +68 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/memory.rs +286 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trampoline/table.rs +34 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/trap.rs +641 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/type_registry.rs +632 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types/matching.rs +367 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/types.rs +1378 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/v128.rs +131 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime/values.rs +945 -0
- data/ext/cargo-vendor/wasmtime-20.0.0/src/runtime.rs +112 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-20.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/src/component.rs +1295 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen/dead-code.wit +27 -0
- data/ext/cargo-vendor/wasmtime-component-macro-20.0.0/tests/codegen.rs +342 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-20.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/Cargo.toml +114 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/builder.rs +127 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiled_function.rs +225 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler/component.rs +962 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/compiler.rs +1369 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/address_transform.rs +783 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/func_environ.rs +2672 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/disabled.rs +116 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc/enabled.rs +649 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/gc.rs +198 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/lib.rs +505 -0
- data/ext/cargo-vendor/wasmtime-cranelift-20.0.0/src/obj.rs +545 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.lock +782 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/Cargo.toml +144 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/address_map.rs +125 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/builtin.rs +184 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/address_map.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/mod.rs +389 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/module_artifacts.rs +300 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/compile/trap_encoding.rs +69 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/artifacts.rs +72 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/compiler.rs +19 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/info.rs +672 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/adapt.rs +459 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/translate/inline.rs +1332 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component/types.rs +1972 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/component.rs +103 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/trampoline.rs +3233 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact/transcode.rs +89 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/fact.rs +711 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/gc.rs +60 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/lib.rs +70 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module.rs +780 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_artifacts.rs +145 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/module_environ.rs +1288 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/obj.rs +173 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/trap_encoding.rs +188 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/tunables.rs +158 -0
- data/ext/cargo-vendor/wasmtime-environ-20.0.0/src/vmoffsets.rs +952 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-20.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-20.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-20.0.0/Cargo.toml +47 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/Cargo.toml +147 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/build.rs +24 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/aarch64.rs +76 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/riscv64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.S +70 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/s390x.rs +34 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/arch/x86_64.rs +41 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/async_yield.rs +35 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component/libcalls.rs +571 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/component.rs +860 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/export.rs +108 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/disabled.rs +23 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/drc.rs +963 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/externref.rs +115 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled/free_list.rs +767 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/enabled.rs +18 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_ref.rs +486 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/gc_runtime.rs +503 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/host_data.rs +81 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc/i31.rs +86 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/gc.rs +244 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/on_demand.rs +217 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/gc_heap_pool.rs +92 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling/table_pool.rs +231 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator/pooling.rs +699 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance/allocator.rs +780 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/instance.rs +1566 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/lib.rs +289 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/libcalls.rs +777 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/memory.rs +751 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/send_sync_ptr.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/mmap.rs +111 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/custom/traphandlers.rs +55 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/miri/mmap.rs +94 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/machports.rs +416 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/mmap.rs +151 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/unix/signals.rs +401 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/sys/windows/traphandlers.rs +104 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/table.rs +851 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/mod.rs +12 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory.rs +230 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/threads/shared_memory_disabled.rs +100 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_disabled.rs +16 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers/coredump_enabled.rs +40 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/traphandlers.rs +785 -0
- data/ext/cargo-vendor/wasmtime-runtime-20.0.0/src/vmcontext.rs +1293 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/Cargo.toml +21 -0
- data/ext/cargo-vendor/wasmtime-slab-20.0.0/src/lib.rs +493 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-20.0.2/src/lib.rs +832 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-20.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/Cargo.toml +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/bindings.rs +283 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ctx.rs +659 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/filesystem.rs +433 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem/sync.rs +518 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/filesystem.rs +1079 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/io.rs +367 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/network.rs +539 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/host/tcp.rs +306 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/ip_name_lookup.rs +126 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/lib.rs +404 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/network.rs +107 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/pipe.rs +826 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/poll.rs +233 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview0.rs +879 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/preview1.rs +2601 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/runtime.rs +175 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio/worker_thread_stdin.rs +177 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/stdio.rs +507 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/tcp.rs +847 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/udp.rs +125 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/src/write_stream.rs +203 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/api.rs +194 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/async_.rs +397 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/main.rs +91 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/preview1.rs +251 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/tests/all/sync.rs +333 -0
- data/ext/cargo-vendor/wasmtime-wasi-20.0.0/wit/deps/io/poll.wit +41 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/builder.rs +85 -0
- data/ext/cargo-vendor/wasmtime-winch-20.0.0/src/compiler.rs +257 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/lib.rs +2213 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/rust.rs +421 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-20.0.0/src/types.rs +202 -0
- data/ext/cargo-vendor/wast-208.0.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wast-208.0.1/Cargo.toml +60 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/binary.rs +1000 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/resolve.rs +1007 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/types.rs +999 -0
- data/ext/cargo-vendor/wast-208.0.1/src/component/wast.rs +160 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/binary.rs +1396 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/expr.rs +2016 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/func.rs +136 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/memory.rs +284 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/deinline_import_export.rs +235 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/names.rs +751 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/resolve/types.rs +267 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/table.rs +302 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/types.rs +901 -0
- data/ext/cargo-vendor/wast-208.0.1/src/core/wast.rs +256 -0
- data/ext/cargo-vendor/wast-208.0.1/src/lib.rs +551 -0
- data/ext/cargo-vendor/wast-208.0.1/src/names.rs +67 -0
- data/ext/cargo-vendor/wast-208.0.1/src/parser.rs +1377 -0
- data/ext/cargo-vendor/wast-208.0.1/src/token.rs +737 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wast.rs +459 -0
- data/ext/cargo-vendor/wast-208.0.1/src/wat.rs +71 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/annotations.rs +200 -0
- data/ext/cargo-vendor/wast-208.0.1/tests/parse-fail.rs +80 -0
- data/ext/cargo-vendor/wat-1.208.1/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wat-1.208.1/Cargo.toml +34 -0
- data/ext/cargo-vendor/wiggle-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-20.0.0/Cargo.toml +122 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/borrow.rs +113 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/guest_type.rs +237 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/lib.rs +1184 -0
- data/ext/cargo-vendor/wiggle-20.0.0/src/wasmtime.rs +97 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-20.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/wiggle-macro-20.0.0/LICENSE +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/abi/mod.rs +671 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/bounds.rs +220 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/builtin.rs +263 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/call.rs +413 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/env.rs +435 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/codegen/mod.rs +756 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/abi.rs +291 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/asm.rs +252 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/masm.rs +573 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/mod.rs +154 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/aarch64/regs.rs +149 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/mod.rs +223 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/abi.rs +517 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/asm.rs +1423 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/masm.rs +1256 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/isa/x64/mod.rs +169 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/lib.rs +19 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/masm.rs +947 -0
- data/ext/cargo-vendor/winch-codegen-0.18.0/src/visitor.rs +2149 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/Cargo.toml +101 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/abi.rs +309 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/lex.rs +747 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast/resolve.rs +1443 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/ast.rs +1348 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/decoding.rs +1764 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/lib.rs +765 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/resolve.rs +2240 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/serde_.rs +108 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/src/sizealign.rs +179 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/all.rs +153 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit +14 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/functions.wit.json +166 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit +20 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/resources-multiple.wit.json +281 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit +60 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/types.wit.json +774 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit +12 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/union-fuzz-2.wit.json +72 -0
- data/ext/cargo-vendor/wit-parser-0.202.0/tests/ui/wasi.wit +178 -0
- data/ext/src/ruby_api/convert.rs +15 -7
- data/ext/src/ruby_api/func.rs +2 -2
- data/ext/src/ruby_api/global.rs +2 -2
- data/ext/src/ruby_api/params.rs +5 -5
- data/ext/src/ruby_api/table.rs +3 -3
- data/lib/wasmtime/version.rb +1 -1
- metadata +1737 -1630
- data/ext/cargo-vendor/anyhow-1.0.79/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/anyhow-1.0.79/Cargo.toml +0 -67
- data/ext/cargo-vendor/anyhow-1.0.79/README.md +0 -179
- data/ext/cargo-vendor/anyhow-1.0.79/build.rs +0 -167
- data/ext/cargo-vendor/anyhow-1.0.79/src/backtrace.rs +0 -405
- data/ext/cargo-vendor/anyhow-1.0.79/src/chain.rs +0 -102
- data/ext/cargo-vendor/anyhow-1.0.79/src/fmt.rs +0 -156
- data/ext/cargo-vendor/anyhow-1.0.79/src/kind.rs +0 -119
- data/ext/cargo-vendor/anyhow-1.0.79/src/lib.rs +0 -698
- data/ext/cargo-vendor/anyhow-1.0.79/src/macros.rs +0 -231
- data/ext/cargo-vendor/anyhow-1.0.79/src/wrapper.rs +0 -81
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_ensure.rs +0 -722
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_macros.rs +0 -80
- data/ext/cargo-vendor/anyhow-1.0.79/tests/test_repr.rs +0 -31
- data/ext/cargo-vendor/anyhow-1.0.79/tests/ui/no-impl.stderr +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.106.2/Cargo.toml +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/Cargo.toml +0 -175
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/build.rs +0 -395
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/alias_analysis.rs +0 -409
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/bitset.rs +0 -165
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/context.rs +0 -384
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph/elaborate.rs +0 -836
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/egraph.rs +0 -702
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/inst_predicates.rs +0 -217
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/constant.rs +0 -462
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/dfg.rs +0 -1734
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/entities.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/function.rs +0 -500
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/instructions.rs +0 -1000
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/memflags.rs +0 -310
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/mod.rs +0 -110
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/table.rs +0 -40
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/trapcode.rs +0 -144
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/ir/types.rs +0 -629
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/abi.rs +0 -1707
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/emit.rs +0 -3958
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst/mod.rs +0 -3082
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/inst.isle +0 -4197
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower/isle.rs +0 -879
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/lower.isle +0 -2917
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/mod.rs +0 -241
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/aarch64/pcc.rs +0 -565
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/call_conv.rs +0 -119
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/abi.rs +0 -1097
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/args.rs +0 -1974
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/emit.rs +0 -3485
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst/encode.rs +0 -654
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/inst.isle +0 -2928
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower/isle.rs +0 -620
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/riscv64/lower.isle +0 -2864
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/abi.rs +0 -1041
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/args.rs +0 -355
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst/emit.rs +0 -3663
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/inst.isle +0 -5031
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/s390x/lower.isle +0 -3979
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/abi.rs +0 -1303
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/evex.rs +0 -749
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/rex.rs +0 -598
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/encoding/vex.rs +0 -492
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/args.rs +0 -2269
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit.rs +0 -4390
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/emit_state.rs +0 -72
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst/mod.rs +0 -2852
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/inst.isle +0 -5232
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower/isle.rs +0 -1065
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.isle +0 -4770
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/lower.rs +0 -353
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/mod.rs +0 -233
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/isa/x64/pcc.rs +0 -939
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/mod.rs +0 -356
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/legalizer/table.rs +0 -114
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/abi.rs +0 -2657
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/buffer.rs +0 -2509
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/inst_common.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/isle.rs +0 -914
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/lower.rs +0 -1443
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/mod.rs +0 -558
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/pcc.rs +0 -159
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/machinst/vcode.rs +0 -1809
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/nan_canonicalization.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts/cprop.isle +0 -266
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/opts.rs +0 -284
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/prelude.isle +0 -641
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/result.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/settings.rs +0 -602
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/verifier/mod.rs +0 -2033
- data/ext/cargo-vendor/cranelift-codegen-0.106.2/src/write.rs +0 -647
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/Cargo.toml +0 -35
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/entities.rs +0 -106
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/formats.rs +0 -213
- data/ext/cargo-vendor/cranelift-codegen-meta-0.106.2/src/shared/instructions.rs +0 -3810
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.106.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-control-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.106.2/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.106.2/Cargo.toml +0 -50
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.106.2/Cargo.toml +0 -68
- data/ext/cargo-vendor/cranelift-isle-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.106.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/cranelift-native-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.106.2/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/Cargo.toml +0 -106
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/code_translator.rs +0 -3680
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/dummy.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/mod.rs +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/environ/spec.rs +0 -952
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/func_translator.rs +0 -432
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/lib.rs +0 -62
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/src/state.rs +0 -542
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/tests/wasm_testsuite.rs +0 -153
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/arith.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/br_table.wat +0 -30
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call-simd.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/call.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fannkuch.wat +0 -12180
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_fasta.wat +0 -12056
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_ifs.wat +0 -11505
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/embenchen_primes.wat +0 -11185
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fac-multi-value.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/fibonacci.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/globals.wat +0 -8
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall-simd.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/icall.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-1.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-2.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-3.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-4.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-5.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-reachability-translation-6.wat +0 -14
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params-2.wat +0 -18
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/if-unreachable-else-params.wat +0 -41
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/memory.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-0.wat +0 -3
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-1.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-10.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-11.wat +0 -7
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-12.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-13.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-14.wat +0 -10
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-15.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-16.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-17.wat +0 -26
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-2.wat +0 -6
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-3.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-4.wat +0 -13
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-5.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-6.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-7.wat +0 -9
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-8.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/multi-9.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/nullref.wat +0 -11
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/passive-data.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2303.wat +0 -15
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/pr2559.wat +0 -51
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/ref-func-0.wat +0 -12
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/rust_fannkuch.wat +0 -1723
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/select.wat +0 -19
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd-store.wat +0 -83
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/simd.wat +0 -29
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/table-copy.wat +0 -22
- data/ext/cargo-vendor/cranelift-wasm-0.106.2/wasmtests/unreachable_code.wat +0 -77
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/deterministic-wasi-ctx-0.1.20/Cargo.toml +0 -49
- data/ext/cargo-vendor/mach-0.3.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/mach-0.3.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/mach-0.3.2/LICENSE.md +0 -23
- data/ext/cargo-vendor/mach-0.3.2/README.md +0 -55
- data/ext/cargo-vendor/mach-0.3.2/ci/build_fail.sh +0 -7
- data/ext/cargo-vendor/mach-0.3.2/ci/deploy_and_run_on_ios_simulator.rs +0 -175
- data/ext/cargo-vendor/mach-0.3.2/ci/run.sh +0 -57
- data/ext/cargo-vendor/mach-0.3.2/examples/dump_process_registers.rs +0 -136
- data/ext/cargo-vendor/mach-0.3.2/src/exc.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/kern_return.rs +0 -58
- data/ext/cargo-vendor/mach-0.3.2/src/lib.rs +0 -60
- data/ext/cargo-vendor/mach-0.3.2/src/mach_port.rs +0 -29
- data/ext/cargo-vendor/mach-0.3.2/src/message.rs +0 -248
- data/ext/cargo-vendor/mach-0.3.2/src/port.rs +0 -26
- data/ext/cargo-vendor/mach-0.3.2/src/structs.rs +0 -62
- data/ext/cargo-vendor/mach-0.3.2/src/task.rs +0 -41
- data/ext/cargo-vendor/mach-0.3.2/src/task_info.rs +0 -44
- data/ext/cargo-vendor/mach-0.3.2/src/thread_act.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/thread_status.rs +0 -23
- data/ext/cargo-vendor/mach-0.3.2/src/traps.rs +0 -35
- data/ext/cargo-vendor/mach-0.3.2/src/vm.rs +0 -247
- data/ext/cargo-vendor/mach-0.3.2/src/vm_attributes.rs +0 -18
- data/ext/cargo-vendor/mach-0.3.2/src/vm_page_size.rs +0 -33
- data/ext/cargo-vendor/mach-0.3.2/src/vm_prot.rs +0 -14
- data/ext/cargo-vendor/mach-0.3.2/src/vm_purgable.rs +0 -42
- data/ext/cargo-vendor/mach-0.3.2/src/vm_region.rs +0 -238
- data/ext/cargo-vendor/mach-0.3.2/src/vm_statistics.rs +0 -78
- data/ext/cargo-vendor/mach-0.3.2/src/vm_sync.rs +0 -11
- data/ext/cargo-vendor/mach-0.3.2/src/vm_types.rs +0 -19
- data/ext/cargo-vendor/wasi-common-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-19.0.2/Cargo.toml +0 -221
- data/ext/cargo-vendor/wasi-common-19.0.2/src/ctx.rs +0 -128
- data/ext/cargo-vendor/wasi-common-19.0.2/src/lib.rs +0 -189
- data/ext/cargo-vendor/wasi-common-19.0.2/src/snapshots/preview_1.rs +0 -1491
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/async_.rs +0 -289
- data/ext/cargo-vendor/wasi-common-19.0.2/tests/all/sync.rs +0 -275
- data/ext/cargo-vendor/wasm-encoder-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.201.0/Cargo.toml +0 -43
- data/ext/cargo-vendor/wasm-encoder-0.201.0/src/component/types.rs +0 -792
- data/ext/cargo-vendor/wasmparser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.lock +0 -744
- data/ext/cargo-vendor/wasmparser-0.201.0/Cargo.toml +0 -66
- data/ext/cargo-vendor/wasmparser-0.201.0/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/operators.rs +0 -4074
- data/ext/cargo-vendor/wasmparser-0.201.0/src/validator/types.rs +0 -4449
- data/ext/cargo-vendor/wasmprinter-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmprinter-0.201.0/Cargo.toml +0 -45
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/lib.rs +0 -3143
- data/ext/cargo-vendor/wasmprinter-0.201.0/src/operator.rs +0 -1110
- data/ext/cargo-vendor/wasmprinter-0.201.0/tests/all.rs +0 -279
- data/ext/cargo-vendor/wasmtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-19.0.2/Cargo.toml +0 -261
- data/ext/cargo-vendor/wasmtime-19.0.2/src/compile.rs +0 -835
- data/ext/cargo-vendor/wasmtime-19.0.2/src/config.rs +0 -2649
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine/serialization.rs +0 -809
- data/ext/cargo-vendor/wasmtime-19.0.2/src/engine.rs +0 -735
- data/ext/cargo-vendor/wasmtime-19.0.2/src/lib.rs +0 -293
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/code_memory.rs +0 -335
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/component.rs +0 -586
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/host.rs +0 -456
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/options.rs +0 -541
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func/typed.rs +0 -2484
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/func.rs +0 -752
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/instance.rs +0 -818
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/linker.rs +0 -788
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/matching.rs +0 -212
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/mod.rs +0 -678
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/resources.rs +0 -1169
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/types.rs +0 -961
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/component/values.rs +0 -1388
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/coredump.rs +0 -321
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/global.rs +0 -249
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/externals/table.rs +0 -416
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func/typed.rs +0 -985
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/func.rs +0 -2585
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instance.rs +0 -981
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/instantiate.rs +0 -423
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/linker.rs +0 -1518
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/memory.rs +0 -997
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module/registry.rs +0 -360
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/module.rs +0 -1367
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/profiling.rs +0 -222
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/gc_ref.rs +0 -110
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref/no_gc_ref.rs +0 -60
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/ref.rs +0 -9
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store/data.rs +0 -289
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/store.rs +0 -2445
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/func.rs +0 -144
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/global.rs +0 -70
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/memory.rs +0 -268
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trampoline/table.rs +0 -20
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/trap.rs +0 -641
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/type_registry.rs +0 -640
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types/matching.rs +0 -334
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/types.rs +0 -1236
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/v128.rs +0 -131
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime/values.rs +0 -771
- data/ext/cargo-vendor/wasmtime-19.0.2/src/runtime.rs +0 -112
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-19.0.2/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-19.0.2/Cargo.toml +0 -81
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/src/component.rs +0 -1295
- data/ext/cargo-vendor/wasmtime-component-macro-19.0.2/tests/codegen.rs +0 -191
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-19.0.2/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/Cargo.toml +0 -114
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/builder.rs +0 -127
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler/component.rs +0 -960
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/compiler.rs +0 -1316
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/address_transform.rs +0 -784
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/debug/transform/expression.rs +0 -1252
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/func_environ.rs +0 -2846
- data/ext/cargo-vendor/wasmtime-cranelift-19.0.2/src/lib.rs +0 -186
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/Cargo.toml +0 -71
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/compiled_function.rs +0 -231
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/lib.rs +0 -130
- data/ext/cargo-vendor/wasmtime-cranelift-shared-19.0.2/src/obj.rs +0 -564
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.lock +0 -782
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/Cargo.toml +0 -141
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/address_map.rs +0 -191
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/builtin.rs +0 -155
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/artifacts.rs +0 -45
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/info.rs +0 -594
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/adapt.rs +0 -457
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/translate/inline.rs +0 -1332
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component/types.rs +0 -1933
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/component.rs +0 -97
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/trampoline.rs +0 -3229
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact/transcode.rs +0 -168
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/fact.rs +0 -713
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/lib.rs +0 -66
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module.rs +0 -1117
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_artifacts.rs +0 -377
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/module_environ.rs +0 -903
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/obj.rs +0 -172
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/trap_encoding.rs +0 -245
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/tunables.rs +0 -154
- data/ext/cargo-vendor/wasmtime-environ-19.0.2/src/vmoffsets.rs +0 -918
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/Cargo.toml +0 -63
- data/ext/cargo-vendor/wasmtime-fiber-19.0.2/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-19.0.2/Cargo.toml +0 -67
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-19.0.2/Cargo.toml +0 -46
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/Cargo.toml +0 -140
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/build.rs +0 -28
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/aarch64.rs +0 -120
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/riscv64.rs +0 -88
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.S +0 -70
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/s390x.rs +0 -61
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/arch/x86_64.rs +0 -104
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component/libcalls.rs +0 -572
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/component.rs +0 -864
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/export.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/gc.rs +0 -1058
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref/no_gc.rs +0 -125
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/externref.rs +0 -24
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/on_demand.rs +0 -196
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling/table_pool.rs +0 -227
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator/pooling.rs +0 -658
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance/allocator.rs +0 -730
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/instance.rs +0 -1527
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/lib.rs +0 -264
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/libcalls.rs +0 -776
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/memory.rs +0 -972
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/send_sync_ptr.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/mmap.rs +0 -111
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/custom/traphandlers.rs +0 -51
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/miri/mmap.rs +0 -94
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/machports.rs +0 -488
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/mmap.rs +0 -151
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/unix/signals.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/sys/windows/traphandlers.rs +0 -105
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/table.rs +0 -643
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers/coredump.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/traphandlers.rs +0 -736
- data/ext/cargo-vendor/wasmtime-runtime-19.0.2/src/vmcontext.rs +0 -1215
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/Cargo.toml +0 -21
- data/ext/cargo-vendor/wasmtime-slab-19.0.2/src/lib.rs +0 -450
- data/ext/cargo-vendor/wasmtime-types-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-19.0.2/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-19.0.2/src/lib.rs +0 -640
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-19.0.2/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/Cargo.toml +0 -194
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/command.rs +0 -122
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ctx.rs +0 -353
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/filesystem.rs +0 -373
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem/sync.rs +0 -517
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/filesystem.rs +0 -1081
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/io.rs +0 -366
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/network.rs +0 -519
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/host/tcp.rs +0 -677
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/ip_name_lookup.rs +0 -123
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/lib.rs +0 -323
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/network.rs +0 -108
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/p1ctx.rs +0 -37
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/pipe.rs +0 -826
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/poll.rs +0 -179
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview0.rs +0 -872
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/preview1.rs +0 -2361
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio/worker_thread_stdin.rs +0 -173
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/stdio.rs +0 -443
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/tcp.rs +0 -350
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/udp.rs +0 -125
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/src/write_stream.rs +0 -203
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/api.rs +0 -210
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/async_.rs +0 -380
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/main.rs +0 -106
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/preview1.rs +0 -243
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/tests/all/sync.rs +0 -315
- data/ext/cargo-vendor/wasmtime-wasi-19.0.2/wit/deps/io/poll.wit +0 -42
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/builder.rs +0 -65
- data/ext/cargo-vendor/wasmtime-winch-19.0.2/src/compiler.rs +0 -283
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/Cargo.toml +0 -41
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/lib.rs +0 -2104
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/rust.rs +0 -421
- data/ext/cargo-vendor/wasmtime-wit-bindgen-19.0.2/src/types.rs +0 -194
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/Cargo.toml +0 -29
- data/ext/cargo-vendor/wasmtime-wmemcheck-19.0.2/src/lib.rs +0 -404
- data/ext/cargo-vendor/wast-201.0.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wast-201.0.0/Cargo.toml +0 -59
- data/ext/cargo-vendor/wast-201.0.0/src/component/binary.rs +0 -1004
- data/ext/cargo-vendor/wast-201.0.0/src/component/resolve.rs +0 -1006
- data/ext/cargo-vendor/wast-201.0.0/src/component/types.rs +0 -991
- data/ext/cargo-vendor/wast-201.0.0/src/component/wast.rs +0 -160
- data/ext/cargo-vendor/wast-201.0.0/src/core/binary.rs +0 -1365
- data/ext/cargo-vendor/wast-201.0.0/src/core/expr.rs +0 -1993
- data/ext/cargo-vendor/wast-201.0.0/src/core/func.rs +0 -136
- data/ext/cargo-vendor/wast-201.0.0/src/core/memory.rs +0 -281
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/deinline_import_export.rs +0 -233
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/names.rs +0 -763
- data/ext/cargo-vendor/wast-201.0.0/src/core/resolve/types.rs +0 -271
- data/ext/cargo-vendor/wast-201.0.0/src/core/table.rs +0 -289
- data/ext/cargo-vendor/wast-201.0.0/src/core/types.rs +0 -861
- data/ext/cargo-vendor/wast-201.0.0/src/core/wast.rs +0 -256
- data/ext/cargo-vendor/wast-201.0.0/src/lib.rs +0 -542
- data/ext/cargo-vendor/wast-201.0.0/src/names.rs +0 -89
- data/ext/cargo-vendor/wast-201.0.0/src/parser.rs +0 -1374
- data/ext/cargo-vendor/wast-201.0.0/src/token.rs +0 -718
- data/ext/cargo-vendor/wast-201.0.0/src/wast.rs +0 -420
- data/ext/cargo-vendor/wast-201.0.0/src/wat.rs +0 -63
- data/ext/cargo-vendor/wast-201.0.0/tests/annotations.rs +0 -200
- data/ext/cargo-vendor/wast-201.0.0/tests/parse-fail.rs +0 -98
- data/ext/cargo-vendor/wat-1.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wat-1.201.0/Cargo.toml +0 -33
- data/ext/cargo-vendor/wiggle-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-19.0.2/Cargo.toml +0 -122
- data/ext/cargo-vendor/wiggle-19.0.2/src/borrow.rs +0 -259
- data/ext/cargo-vendor/wiggle-19.0.2/src/guest_type.rs +0 -237
- data/ext/cargo-vendor/wiggle-19.0.2/src/lib.rs +0 -1199
- data/ext/cargo-vendor/wiggle-19.0.2/src/wasmtime.rs +0 -101
- data/ext/cargo-vendor/wiggle-generate-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-19.0.2/Cargo.toml +0 -65
- data/ext/cargo-vendor/wiggle-macro-19.0.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-19.0.2/Cargo.toml +0 -55
- data/ext/cargo-vendor/winch-codegen-0.17.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.17.2/Cargo.toml +0 -77
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/abi/mod.rs +0 -737
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/bounds.rs +0 -220
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/builtin.rs +0 -272
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/call.rs +0 -413
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/env.rs +0 -399
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/codegen/mod.rs +0 -672
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/abi.rs +0 -309
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/asm.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/masm.rs +0 -557
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/mod.rs +0 -152
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/aarch64/regs.rs +0 -183
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/mod.rs +0 -232
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/abi.rs +0 -543
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/asm.rs +0 -1418
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/masm.rs +0 -1300
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/isa/x64/mod.rs +0 -192
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/lib.rs +0 -21
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/masm.rs +0 -955
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/trampoline.rs +0 -626
- data/ext/cargo-vendor/winch-codegen-0.17.2/src/visitor.rs +0 -2101
- data/ext/cargo-vendor/wit-parser-0.201.0/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wit-parser-0.201.0/Cargo.toml +0 -101
- data/ext/cargo-vendor/wit-parser-0.201.0/src/abi.rs +0 -295
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/lex.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast/resolve.rs +0 -1427
- data/ext/cargo-vendor/wit-parser-0.201.0/src/ast.rs +0 -1348
- data/ext/cargo-vendor/wit-parser-0.201.0/src/decoding.rs +0 -1764
- data/ext/cargo-vendor/wit-parser-0.201.0/src/lib.rs +0 -747
- data/ext/cargo-vendor/wit-parser-0.201.0/src/resolve.rs +0 -2239
- data/ext/cargo-vendor/wit-parser-0.201.0/src/serde_.rs +0 -108
- data/ext/cargo-vendor/wit-parser-0.201.0/src/sizealign.rs +0 -144
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/all.rs +0 -185
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit +0 -14
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/functions.wit.json +0 -166
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit +0 -20
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/resources-multiple.wit.json +0 -281
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit +0 -60
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/types.wit.json +0 -774
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit +0 -12
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/union-fuzz-2.wit.json +0 -72
- data/ext/cargo-vendor/wit-parser-0.201.0/tests/ui/wasi.wit +0 -178
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-APACHE +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/LICENSE-MIT +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/build/probe.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/rust-toolchain.toml +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/src/ptr.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/compiletest.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/drop/mod.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_autotrait.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_backtrace.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_boxed.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_chain.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_context.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_convert.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_downcast.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_ffi.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_fmt.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/test_source.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/chained-comparison.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/empty-ensure.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/must-use.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/no-impl.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/temporary-value.stderr +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.rs +0 -0
- /data/ext/cargo-vendor/{anyhow-1.0.79 → anyhow-1.0.83}/tests/ui/wrong-interpolation.stderr +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.106.2 → cranelift-bforest-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/egraph/cost.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/isle_prelude.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/arithmetic.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/icmp.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/selects.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/spaceship.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/timing.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unionfind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.106.2 → cranelift-codegen-0.107.2}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.106.2 → cranelift-codegen-meta-0.107.2}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.106.2 → cranelift-codegen-shared-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.106.2 → cranelift-control-0.107.2}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/primary.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.106.2 → cranelift-entity-0.107.2}/src/unsigned.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.106.2 → cranelift-frontend-0.107.2}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_constructor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/multi_extractor_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/codegen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.106.2 → cranelift-isle-0.107.2}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.106.2 → cranelift-native-0.107.2}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.106.2 → cranelift-wasm-0.107.2}/src/translation_utils.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/README.md +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/src/noop_scheduler.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/clocks.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/common/mod.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/random.rs +0 -0
- /data/ext/cargo-vendor/{deterministic-wasi-ctx-0.1.20 → deterministic-wasi-ctx-0.1.21}/tests/scheduler.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/boolean.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/bootstrap.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_priv.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_reply.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/clock_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/dyld_kernel.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/exception_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_init.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_time.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/mach_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/memory_object_types.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_behavior.rs +0 -0
- /data/ext/cargo-vendor/{mach-0.3.2 → mach2-0.4.2}/src/vm_inherit.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/sync/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/src/tokio/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/tests/all/main.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-19.0.2 → wasi-common-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/components.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/modules.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/dump.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/start.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.201.0 → wasm-encoder-0.202.0}/src/raw.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasm-encoder-0.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmparser-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/benches/benchmark.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/examples/simple.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/binary_reader.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/aliases.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/canonicals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/instances.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component/start.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/branch_hinting.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/coredumps.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/dylink0.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/elements.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/exports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/functions.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/globals.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/init.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/linking.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/memories.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/operators.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/producers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tables.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/tags.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types/matches.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/readers.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core/canonical.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/core.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator/names.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/src/validator.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.201.0 → wasmparser-0.202.0}/tests/big-module.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmprinter-0.202.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmprinter-0.201.0 → wasmprinter-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/profiling_agent.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/resource_table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/stack.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/uninhabited.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-19.0.2 → wasmtime-20.0.0}/src/runtime/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-19.0.2 → wasmtime-asm-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cache-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/src/worker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-19.0.2 → wasmtime-cache-20.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/unversioned-foo.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/wat.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-19.0.2 → wasmtime-component-macro-20.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-19.0.2 → wasmtime-component-util-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-cranelift-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/simulate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-19.0.2 → wasmtime-cranelift-20.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-19.0.2 → wasmtime-cranelift-20.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-environ-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/translate.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/module_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/scopevec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-19.0.2 → wasmtime-environ-20.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-fiber-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-19.0.2 → wasmtime-fiber-20.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-19.0.2 → wasmtime-jit-debug-20.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-19.0.2 → wasmtime-jit-icache-coherence-20.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-runtime-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/arch/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/cow.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/helpers.c +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/memory_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/instance/allocator/pooling/stack_pool.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/enabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/pkru.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/capi.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/custom/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/miri/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/macos_traphandlers.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/unix/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/unwind.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/sys/windows/vm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2/src → wasmtime-runtime-20.0.0/src/threads}/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/traphandlers/backtrace.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-19.0.2 → wasmtime-runtime-20.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-types-20.0.2}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-19.0.2 → wasmtime-types-20.0.2}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-19.0.2 → wasmtime-versioned-export-macros-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wasmtime-wasi-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/src/stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/tests/process_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/command-extended.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/command.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/imports.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/proxy.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/http/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/wit/test.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview0/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-19.0.2 → wasmtime-wasi-20.0.0}/witx/preview1/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-19.0.2 → wasmtime-winch-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-19.0.2 → wasmtime-wit-bindgen-20.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wast-208.0.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/alias.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/expand.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/item_ref.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/custom.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/export.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/global.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/import.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/module.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/resolve/mod.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core/tag.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/core.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/encode.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/gensym.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/comments.rs +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-core-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-func-alias.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-index.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/bad-name3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/block3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-block-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-line-comment8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string0.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/confusing-string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/inline1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/newline-in-string.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string1.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string10.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string11.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string12.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string13.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string14.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string15.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string16.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string2.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string3.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string4.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string5.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string6.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string7.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string8.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/string9.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/parse-fail/unbalanced.wat.err +0 -0
- /data/ext/cargo-vendor/{wast-201.0.0 → wast-208.0.1}/tests/recursive.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wat-1.208.1}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/README.md +0 -0
- /data/ext/cargo-vendor/{wat-1.201.0 → wat-1.208.1}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-19.0.2 → wiggle-20.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-generate-20.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/handle.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/record.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/types/variant.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-19.0.2 → wiggle-generate-20.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-19.0.2 → wiggle-macro-20.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/abi/local.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/context.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/codegen/control.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/frame/mod.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/isa/x64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/regset.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.17.2 → winch-codegen-0.18.0}/src/stack.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/ast/toposort.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/docs.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/src/live.rs +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/comments.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/bar/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/deps/baz/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/complex-include.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/cross-package-resource.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep1/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/deps/dep2/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1/join.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/diamond1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/shared2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/disambiguate-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/another-pkg/other-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/corp/saas.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/different-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/foreign-pkg/the-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/some-pkg/some-doc.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/clocks.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/filesystem.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/deps/wasi/wasi.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps-union.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/foreign-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/bar/types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/deps/ignore-me.txt +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps/world.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/ignore-files-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/import-export-overlap2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/include-reps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kebab-name-include-with.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/b/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/c.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/d.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps/deps/e.wasm +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/kinds-of-deps.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/many-names.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/cycle-b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/multi-file.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/name-both-resource-and-type.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/package-syntax4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/alias-no-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/async1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-function2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-include3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-list.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-pkg6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource11.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource12.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource13.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource14.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/deps/foo/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource15.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource6.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-resource9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/bad-world-type1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/conflicting-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/cycle5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/dangling-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-function-params.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-functions.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2/foo2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/duplicate-type.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-enum.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/empty-variant1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/export-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-and-export5.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/import-twice.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/deps/bar/empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-foreign.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/include-with-on-id.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-toplevel.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/invalid-type-reference2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include-not-found.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/kebab-name-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/keyword.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/missing-package.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/a.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs/b.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/multiple-package-docs.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/no-access-to-sibling-use.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/non-existance-world-include.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a1/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/deps/a2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/pkg-cycle2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/deps/dep/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/type-and-resource-same-name.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/undefined-typed.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unknown-interface.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-interface4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/bar.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use10.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use7.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use8.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unresolved-use9.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/unterminated-string.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-and-include-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-conflict3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-cycle4.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-shadow1.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/deps/bar/baz.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world/root.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/use-world.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-interface-clash.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-same-fields3.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/parse-fail/world-top-level-func2.wit.result +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/random.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-empty.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-multiple-returns-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-borrow.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources-return-own.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/resources1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/same-name-import-export.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/shared-types.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wat +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/simple-wasm-text.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/stress-export-elaborate.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/type-then-eof.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/union-fuzz-1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use-chain.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/use.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a1/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/deps/a2/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions/foo.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/versions.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/wasi.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-diamond.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-iface-no-collide.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import1.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import2.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-implicit-import3.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-same-fields4.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-funcs.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/world-top-level-resources.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-union-dedup.wit.json +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wit-parser-0.201.0 → wit-parser-0.202.0}/tests/ui/worlds-with-types.wit.json +0 -0
@@ -1,3680 +0,0 @@
|
|
1
|
-
//! This module contains the bulk of the interesting code performing the translation between
|
2
|
-
//! WebAssembly and Cranelift IR.
|
3
|
-
//!
|
4
|
-
//! The translation is done in one pass, opcode by opcode. Two main data structures are used during
|
5
|
-
//! code translations: the value stack and the control stack. The value stack mimics the execution
|
6
|
-
//! of the WebAssembly stack machine: each instruction result is pushed onto the stack and
|
7
|
-
//! instruction arguments are popped off the stack. Similarly, when encountering a control flow
|
8
|
-
//! block, it is pushed onto the control stack and popped off when encountering the corresponding
|
9
|
-
//! `End`.
|
10
|
-
//!
|
11
|
-
//! Another data structure, the translation state, records information concerning unreachable code
|
12
|
-
//! status and about if inserting a return at the end of the function is necessary.
|
13
|
-
//!
|
14
|
-
//! Some of the WebAssembly instructions need information about the environment for which they
|
15
|
-
//! are being translated:
|
16
|
-
//!
|
17
|
-
//! - the loads and stores need the memory base address;
|
18
|
-
//! - the `get_global` and `set_global` instructions depend on how the globals are implemented;
|
19
|
-
//! - `memory.size` and `memory.grow` are runtime functions;
|
20
|
-
//! - `call_indirect` has to translate the function index into the address of where this
|
21
|
-
//! is;
|
22
|
-
//!
|
23
|
-
//! That is why `translate_function_body` takes an object having the `WasmRuntime` trait as
|
24
|
-
//! argument.
|
25
|
-
//!
|
26
|
-
//! There is extra complexity associated with translation of 128-bit SIMD instructions.
|
27
|
-
//! Wasm only considers there to be a single 128-bit vector type. But CLIF's type system
|
28
|
-
//! distinguishes different lane configurations, so considers 8X16, 16X8, 32X4 and 64X2 to be
|
29
|
-
//! different types. The result is that, in wasm, it's perfectly OK to take the output of (eg)
|
30
|
-
//! an `add.16x8` and use that as an operand of a `sub.32x4`, without using any cast. But when
|
31
|
-
//! translated into CLIF, that will cause a verifier error due to the apparent type mismatch.
|
32
|
-
//!
|
33
|
-
//! This file works around that problem by liberally inserting `bitcast` instructions in many
|
34
|
-
//! places -- mostly, before the use of vector values, either as arguments to CLIF instructions
|
35
|
-
//! or as block actual parameters. These are no-op casts which nevertheless have different
|
36
|
-
//! input and output types, and are used (mostly) to "convert" 16X8, 32X4 and 64X2-typed vectors
|
37
|
-
//! to the "canonical" type, 8X16. Hence the functions `optionally_bitcast_vector`,
|
38
|
-
//! `bitcast_arguments`, `pop*_with_bitcast`, `canonicalise_then_jump`,
|
39
|
-
//! `canonicalise_then_br{z,nz}`, `is_non_canonical_v128` and `canonicalise_v128_values`.
|
40
|
-
//! Note that the `bitcast*` functions are occasionally used to convert to some type other than
|
41
|
-
//! 8X16, but the `canonicalise*` functions always convert to type 8X16.
|
42
|
-
//!
|
43
|
-
//! Be careful when adding support for new vector instructions. And when adding new jumps, even
|
44
|
-
//! if they are apparently don't have any connection to vectors. Never generate any kind of
|
45
|
-
//! (inter-block) jump directly. Instead use `canonicalise_then_jump` and
|
46
|
-
//! `canonicalise_then_br{z,nz}`.
|
47
|
-
//!
|
48
|
-
//! The use of bitcasts is ugly and inefficient, but currently unavoidable:
|
49
|
-
//!
|
50
|
-
//! * they make the logic in this file fragile: miss out a bitcast for any reason, and there is
|
51
|
-
//! the risk of the system failing in the verifier. At least for debug builds.
|
52
|
-
//!
|
53
|
-
//! * in the new backends, they potentially interfere with pattern matching on CLIF -- the
|
54
|
-
//! patterns need to take into account the presence of bitcast nodes.
|
55
|
-
//!
|
56
|
-
//! * in the new backends, they get translated into machine-level vector-register-copy
|
57
|
-
//! instructions, none of which are actually necessary. We then depend on the register
|
58
|
-
//! allocator to coalesce them all out.
|
59
|
-
//!
|
60
|
-
//! * they increase the total number of CLIF nodes that have to be processed, hence slowing down
|
61
|
-
//! the compilation pipeline. Also, the extra coalescing work generates a slowdown.
|
62
|
-
//!
|
63
|
-
//! A better solution which would avoid all four problems would be to remove the 8X16, 16X8,
|
64
|
-
//! 32X4 and 64X2 types from CLIF and instead have a single V128 type.
|
65
|
-
//!
|
66
|
-
//! For further background see also:
|
67
|
-
//! <https://github.com/bytecodealliance/wasmtime/issues/1147>
|
68
|
-
//! ("Too many raw_bitcasts in SIMD code")
|
69
|
-
//! <https://github.com/bytecodealliance/cranelift/pull/1251>
|
70
|
-
//! ("Add X128 type to represent WebAssembly's V128 type")
|
71
|
-
//! <https://github.com/bytecodealliance/cranelift/pull/1236>
|
72
|
-
//! ("Relax verification to allow I8X16 to act as a default vector type")
|
73
|
-
|
74
|
-
mod bounds_checks;
|
75
|
-
|
76
|
-
use super::{hash_map, HashMap};
|
77
|
-
use crate::environ::{FuncEnvironment, GlobalVariable};
|
78
|
-
use crate::state::{ControlStackFrame, ElseData, FuncTranslationState};
|
79
|
-
use crate::translation_utils::{
|
80
|
-
block_with_params, blocktype_params_results, f32_translation, f64_translation,
|
81
|
-
};
|
82
|
-
use crate::wasm_unsupported;
|
83
|
-
use crate::{FuncIndex, GlobalIndex, MemoryIndex, TableIndex, TypeIndex, WasmResult};
|
84
|
-
use core::{i32, u32};
|
85
|
-
use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
|
86
|
-
use cranelift_codegen::ir::immediates::Offset32;
|
87
|
-
use cranelift_codegen::ir::types::*;
|
88
|
-
use cranelift_codegen::ir::{
|
89
|
-
self, AtomicRmwOp, ConstantData, InstBuilder, JumpTableData, MemFlags, Value, ValueLabel,
|
90
|
-
};
|
91
|
-
use cranelift_codegen::packed_option::ReservedValue;
|
92
|
-
use cranelift_frontend::{FunctionBuilder, Variable};
|
93
|
-
use itertools::Itertools;
|
94
|
-
use smallvec::SmallVec;
|
95
|
-
use std::vec::Vec;
|
96
|
-
use wasmparser::{FuncValidator, MemArg, Operator, WasmModuleResources};
|
97
|
-
|
98
|
-
/// Given a `Reachability<T>`, unwrap the inner `T` or, when unreachable, set
|
99
|
-
/// `state.reachable = false` and return.
|
100
|
-
///
|
101
|
-
/// Used in combination with calling `prepare_addr` and `prepare_atomic_addr`
|
102
|
-
/// when we can statically determine that a Wasm access will unconditionally
|
103
|
-
/// trap.
|
104
|
-
macro_rules! unwrap_or_return_unreachable_state {
|
105
|
-
($state:ident, $value:expr) => {
|
106
|
-
match $value {
|
107
|
-
Reachability::Reachable(x) => x,
|
108
|
-
Reachability::Unreachable => {
|
109
|
-
$state.reachable = false;
|
110
|
-
return Ok(());
|
111
|
-
}
|
112
|
-
}
|
113
|
-
};
|
114
|
-
}
|
115
|
-
|
116
|
-
/// Translates wasm operators into Cranelift IR instructions.
|
117
|
-
pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
118
|
-
validator: &mut FuncValidator<impl WasmModuleResources>,
|
119
|
-
op: &Operator,
|
120
|
-
builder: &mut FunctionBuilder,
|
121
|
-
state: &mut FuncTranslationState,
|
122
|
-
environ: &mut FE,
|
123
|
-
) -> WasmResult<()> {
|
124
|
-
if !state.reachable {
|
125
|
-
translate_unreachable_operator(validator, &op, builder, state, environ)?;
|
126
|
-
return Ok(());
|
127
|
-
}
|
128
|
-
|
129
|
-
// Given that we believe the current block is reachable, the FunctionBuilder ought to agree.
|
130
|
-
debug_assert!(!builder.is_unreachable());
|
131
|
-
|
132
|
-
// This big match treats all Wasm code operators.
|
133
|
-
match op {
|
134
|
-
/********************************** Locals ****************************************
|
135
|
-
* `get_local` and `set_local` are treated as non-SSA variables and will completely
|
136
|
-
* disappear in the Cranelift Code
|
137
|
-
***********************************************************************************/
|
138
|
-
Operator::LocalGet { local_index } => {
|
139
|
-
let val = builder.use_var(Variable::from_u32(*local_index));
|
140
|
-
state.push1(val);
|
141
|
-
let label = ValueLabel::from_u32(*local_index);
|
142
|
-
builder.set_val_label(val, label);
|
143
|
-
}
|
144
|
-
Operator::LocalSet { local_index } => {
|
145
|
-
let mut val = state.pop1();
|
146
|
-
|
147
|
-
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
148
|
-
let ty = builder.func.dfg.value_type(val);
|
149
|
-
if ty.is_vector() {
|
150
|
-
val = optionally_bitcast_vector(val, I8X16, builder);
|
151
|
-
}
|
152
|
-
|
153
|
-
builder.def_var(Variable::from_u32(*local_index), val);
|
154
|
-
let label = ValueLabel::from_u32(*local_index);
|
155
|
-
builder.set_val_label(val, label);
|
156
|
-
}
|
157
|
-
Operator::LocalTee { local_index } => {
|
158
|
-
let mut val = state.peek1();
|
159
|
-
|
160
|
-
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
161
|
-
let ty = builder.func.dfg.value_type(val);
|
162
|
-
if ty.is_vector() {
|
163
|
-
val = optionally_bitcast_vector(val, I8X16, builder);
|
164
|
-
}
|
165
|
-
|
166
|
-
builder.def_var(Variable::from_u32(*local_index), val);
|
167
|
-
let label = ValueLabel::from_u32(*local_index);
|
168
|
-
builder.set_val_label(val, label);
|
169
|
-
}
|
170
|
-
/********************************** Globals ****************************************
|
171
|
-
* `get_global` and `set_global` are handled by the environment.
|
172
|
-
***********************************************************************************/
|
173
|
-
Operator::GlobalGet { global_index } => {
|
174
|
-
let val = match state.get_global(builder.func, *global_index, environ)? {
|
175
|
-
GlobalVariable::Const(val) => val,
|
176
|
-
GlobalVariable::Memory { gv, offset, ty } => {
|
177
|
-
let addr = builder.ins().global_value(environ.pointer_type(), gv);
|
178
|
-
let mut flags = ir::MemFlags::trusted();
|
179
|
-
// Put globals in the "table" abstract heap category as well.
|
180
|
-
flags.set_table();
|
181
|
-
builder.ins().load(ty, flags, addr, offset)
|
182
|
-
}
|
183
|
-
GlobalVariable::Custom => environ.translate_custom_global_get(
|
184
|
-
builder.cursor(),
|
185
|
-
GlobalIndex::from_u32(*global_index),
|
186
|
-
)?,
|
187
|
-
};
|
188
|
-
state.push1(val);
|
189
|
-
}
|
190
|
-
Operator::GlobalSet { global_index } => {
|
191
|
-
match state.get_global(builder.func, *global_index, environ)? {
|
192
|
-
GlobalVariable::Const(_) => panic!("global #{} is a constant", *global_index),
|
193
|
-
GlobalVariable::Memory { gv, offset, ty } => {
|
194
|
-
let addr = builder.ins().global_value(environ.pointer_type(), gv);
|
195
|
-
let mut flags = ir::MemFlags::trusted();
|
196
|
-
// Put globals in the "table" abstract heap category as well.
|
197
|
-
flags.set_table();
|
198
|
-
let mut val = state.pop1();
|
199
|
-
// Ensure SIMD values are cast to their default Cranelift type, I8x16.
|
200
|
-
if ty.is_vector() {
|
201
|
-
val = optionally_bitcast_vector(val, I8X16, builder);
|
202
|
-
}
|
203
|
-
debug_assert_eq!(ty, builder.func.dfg.value_type(val));
|
204
|
-
builder.ins().store(flags, val, addr, offset);
|
205
|
-
environ.update_global(builder, *global_index, val);
|
206
|
-
}
|
207
|
-
GlobalVariable::Custom => {
|
208
|
-
let val = state.pop1();
|
209
|
-
environ.translate_custom_global_set(
|
210
|
-
builder.cursor(),
|
211
|
-
GlobalIndex::from_u32(*global_index),
|
212
|
-
val,
|
213
|
-
)?;
|
214
|
-
}
|
215
|
-
}
|
216
|
-
}
|
217
|
-
/********************************* Stack misc ***************************************
|
218
|
-
* `drop`, `nop`, `unreachable` and `select`.
|
219
|
-
***********************************************************************************/
|
220
|
-
Operator::Drop => {
|
221
|
-
state.pop1();
|
222
|
-
}
|
223
|
-
Operator::Select => {
|
224
|
-
let (mut arg1, mut arg2, cond) = state.pop3();
|
225
|
-
if builder.func.dfg.value_type(arg1).is_vector() {
|
226
|
-
arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
|
227
|
-
}
|
228
|
-
if builder.func.dfg.value_type(arg2).is_vector() {
|
229
|
-
arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
|
230
|
-
}
|
231
|
-
state.push1(builder.ins().select(cond, arg1, arg2));
|
232
|
-
}
|
233
|
-
Operator::TypedSelect { ty: _ } => {
|
234
|
-
// We ignore the explicit type parameter as it is only needed for
|
235
|
-
// validation, which we require to have been performed before
|
236
|
-
// translation.
|
237
|
-
let (mut arg1, mut arg2, cond) = state.pop3();
|
238
|
-
if builder.func.dfg.value_type(arg1).is_vector() {
|
239
|
-
arg1 = optionally_bitcast_vector(arg1, I8X16, builder);
|
240
|
-
}
|
241
|
-
if builder.func.dfg.value_type(arg2).is_vector() {
|
242
|
-
arg2 = optionally_bitcast_vector(arg2, I8X16, builder);
|
243
|
-
}
|
244
|
-
state.push1(builder.ins().select(cond, arg1, arg2));
|
245
|
-
}
|
246
|
-
Operator::Nop => {
|
247
|
-
// We do nothing
|
248
|
-
}
|
249
|
-
Operator::Unreachable => {
|
250
|
-
builder.ins().trap(ir::TrapCode::UnreachableCodeReached);
|
251
|
-
state.reachable = false;
|
252
|
-
}
|
253
|
-
/***************************** Control flow blocks **********************************
|
254
|
-
* When starting a control flow block, we create a new `Block` that will hold the code
|
255
|
-
* after the block, and we push a frame on the control stack. Depending on the type
|
256
|
-
* of block, we create a new `Block` for the body of the block with an associated
|
257
|
-
* jump instruction.
|
258
|
-
*
|
259
|
-
* The `End` instruction pops the last control frame from the control stack, seals
|
260
|
-
* the destination block (since `br` instructions targeting it only appear inside the
|
261
|
-
* block and have already been translated) and modify the value stack to use the
|
262
|
-
* possible `Block`'s arguments values.
|
263
|
-
***********************************************************************************/
|
264
|
-
Operator::Block { blockty } => {
|
265
|
-
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
266
|
-
let next = block_with_params(builder, results.clone(), environ)?;
|
267
|
-
state.push_block(next, params.len(), results.len());
|
268
|
-
}
|
269
|
-
Operator::Loop { blockty } => {
|
270
|
-
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
271
|
-
let loop_body = block_with_params(builder, params.clone(), environ)?;
|
272
|
-
let next = block_with_params(builder, results.clone(), environ)?;
|
273
|
-
canonicalise_then_jump(builder, loop_body, state.peekn(params.len()));
|
274
|
-
state.push_loop(loop_body, next, params.len(), results.len());
|
275
|
-
|
276
|
-
// Pop the initial `Block` actuals and replace them with the `Block`'s
|
277
|
-
// params since control flow joins at the top of the loop.
|
278
|
-
state.popn(params.len());
|
279
|
-
state
|
280
|
-
.stack
|
281
|
-
.extend_from_slice(builder.block_params(loop_body));
|
282
|
-
|
283
|
-
builder.switch_to_block(loop_body);
|
284
|
-
environ.translate_loop_header(builder)?;
|
285
|
-
}
|
286
|
-
Operator::If { blockty } => {
|
287
|
-
let val = state.pop1();
|
288
|
-
|
289
|
-
let next_block = builder.create_block();
|
290
|
-
let (params, results) = blocktype_params_results(validator, *blockty)?;
|
291
|
-
let (destination, else_data) = if params.clone().eq(results.clone()) {
|
292
|
-
// It is possible there is no `else` block, so we will only
|
293
|
-
// allocate a block for it if/when we find the `else`. For now,
|
294
|
-
// we if the condition isn't true, then we jump directly to the
|
295
|
-
// destination block following the whole `if...end`. If we do end
|
296
|
-
// up discovering an `else`, then we will allocate a block for it
|
297
|
-
// and go back and patch the jump.
|
298
|
-
let destination = block_with_params(builder, results.clone(), environ)?;
|
299
|
-
let branch_inst = canonicalise_brif(
|
300
|
-
builder,
|
301
|
-
val,
|
302
|
-
next_block,
|
303
|
-
&[],
|
304
|
-
destination,
|
305
|
-
state.peekn(params.len()),
|
306
|
-
);
|
307
|
-
(
|
308
|
-
destination,
|
309
|
-
ElseData::NoElse {
|
310
|
-
branch_inst,
|
311
|
-
placeholder: destination,
|
312
|
-
},
|
313
|
-
)
|
314
|
-
} else {
|
315
|
-
// The `if` type signature is not valid without an `else` block,
|
316
|
-
// so we eagerly allocate the `else` block here.
|
317
|
-
let destination = block_with_params(builder, results.clone(), environ)?;
|
318
|
-
let else_block = block_with_params(builder, params.clone(), environ)?;
|
319
|
-
canonicalise_brif(
|
320
|
-
builder,
|
321
|
-
val,
|
322
|
-
next_block,
|
323
|
-
&[],
|
324
|
-
else_block,
|
325
|
-
state.peekn(params.len()),
|
326
|
-
);
|
327
|
-
builder.seal_block(else_block);
|
328
|
-
(destination, ElseData::WithElse { else_block })
|
329
|
-
};
|
330
|
-
|
331
|
-
builder.seal_block(next_block); // Only predecessor is the current block.
|
332
|
-
builder.switch_to_block(next_block);
|
333
|
-
|
334
|
-
// Here we append an argument to a Block targeted by an argumentless jump instruction
|
335
|
-
// But in fact there are two cases:
|
336
|
-
// - either the If does not have a Else clause, in that case ty = EmptyBlock
|
337
|
-
// and we add nothing;
|
338
|
-
// - either the If have an Else clause, in that case the destination of this jump
|
339
|
-
// instruction will be changed later when we translate the Else operator.
|
340
|
-
state.push_if(
|
341
|
-
destination,
|
342
|
-
else_data,
|
343
|
-
params.len(),
|
344
|
-
results.len(),
|
345
|
-
*blockty,
|
346
|
-
);
|
347
|
-
}
|
348
|
-
Operator::Else => {
|
349
|
-
let i = state.control_stack.len() - 1;
|
350
|
-
match state.control_stack[i] {
|
351
|
-
ControlStackFrame::If {
|
352
|
-
ref else_data,
|
353
|
-
head_is_reachable,
|
354
|
-
ref mut consequent_ends_reachable,
|
355
|
-
num_return_values,
|
356
|
-
blocktype,
|
357
|
-
destination,
|
358
|
-
..
|
359
|
-
} => {
|
360
|
-
// We finished the consequent, so record its final
|
361
|
-
// reachability state.
|
362
|
-
debug_assert!(consequent_ends_reachable.is_none());
|
363
|
-
*consequent_ends_reachable = Some(state.reachable);
|
364
|
-
|
365
|
-
if head_is_reachable {
|
366
|
-
// We have a branch from the head of the `if` to the `else`.
|
367
|
-
state.reachable = true;
|
368
|
-
|
369
|
-
// Ensure we have a block for the `else` block (it may have
|
370
|
-
// already been pre-allocated, see `ElseData` for details).
|
371
|
-
let else_block = match *else_data {
|
372
|
-
ElseData::NoElse {
|
373
|
-
branch_inst,
|
374
|
-
placeholder,
|
375
|
-
} => {
|
376
|
-
let (params, _results) =
|
377
|
-
blocktype_params_results(validator, blocktype)?;
|
378
|
-
debug_assert_eq!(params.len(), num_return_values);
|
379
|
-
let else_block =
|
380
|
-
block_with_params(builder, params.clone(), environ)?;
|
381
|
-
canonicalise_then_jump(
|
382
|
-
builder,
|
383
|
-
destination,
|
384
|
-
state.peekn(params.len()),
|
385
|
-
);
|
386
|
-
state.popn(params.len());
|
387
|
-
|
388
|
-
builder.change_jump_destination(
|
389
|
-
branch_inst,
|
390
|
-
placeholder,
|
391
|
-
else_block,
|
392
|
-
);
|
393
|
-
builder.seal_block(else_block);
|
394
|
-
else_block
|
395
|
-
}
|
396
|
-
ElseData::WithElse { else_block } => {
|
397
|
-
canonicalise_then_jump(
|
398
|
-
builder,
|
399
|
-
destination,
|
400
|
-
state.peekn(num_return_values),
|
401
|
-
);
|
402
|
-
state.popn(num_return_values);
|
403
|
-
else_block
|
404
|
-
}
|
405
|
-
};
|
406
|
-
|
407
|
-
// You might be expecting that we push the parameters for this
|
408
|
-
// `else` block here, something like this:
|
409
|
-
//
|
410
|
-
// state.pushn(&control_stack_frame.params);
|
411
|
-
//
|
412
|
-
// We don't do that because they are already on the top of the stack
|
413
|
-
// for us: we pushed the parameters twice when we saw the initial
|
414
|
-
// `if` so that we wouldn't have to save the parameters in the
|
415
|
-
// `ControlStackFrame` as another `Vec` allocation.
|
416
|
-
|
417
|
-
builder.switch_to_block(else_block);
|
418
|
-
|
419
|
-
// We don't bother updating the control frame's `ElseData`
|
420
|
-
// to `WithElse` because nothing else will read it.
|
421
|
-
}
|
422
|
-
}
|
423
|
-
_ => unreachable!(),
|
424
|
-
}
|
425
|
-
}
|
426
|
-
Operator::End => {
|
427
|
-
let frame = state.control_stack.pop().unwrap();
|
428
|
-
let next_block = frame.following_code();
|
429
|
-
let return_count = frame.num_return_values();
|
430
|
-
let return_args = state.peekn_mut(return_count);
|
431
|
-
|
432
|
-
canonicalise_then_jump(builder, next_block, return_args);
|
433
|
-
// You might expect that if we just finished an `if` block that
|
434
|
-
// didn't have a corresponding `else` block, then we would clean
|
435
|
-
// up our duplicate set of parameters that we pushed earlier
|
436
|
-
// right here. However, we don't have to explicitly do that,
|
437
|
-
// since we truncate the stack back to the original height
|
438
|
-
// below.
|
439
|
-
|
440
|
-
builder.switch_to_block(next_block);
|
441
|
-
builder.seal_block(next_block);
|
442
|
-
|
443
|
-
// If it is a loop we also have to seal the body loop block
|
444
|
-
if let ControlStackFrame::Loop { header, .. } = frame {
|
445
|
-
builder.seal_block(header)
|
446
|
-
}
|
447
|
-
|
448
|
-
frame.truncate_value_stack_to_original_size(&mut state.stack);
|
449
|
-
state
|
450
|
-
.stack
|
451
|
-
.extend_from_slice(builder.block_params(next_block));
|
452
|
-
}
|
453
|
-
/**************************** Branch instructions *********************************
|
454
|
-
* The branch instructions all have as arguments a target nesting level, which
|
455
|
-
* corresponds to how many control stack frames do we have to pop to get the
|
456
|
-
* destination `Block`.
|
457
|
-
*
|
458
|
-
* Once the destination `Block` is found, we sometimes have to declare a certain depth
|
459
|
-
* of the stack unreachable, because some branch instructions are terminator.
|
460
|
-
*
|
461
|
-
* The `br_table` case is much more complicated because Cranelift's `br_table` instruction
|
462
|
-
* does not support jump arguments like all the other branch instructions. That is why, in
|
463
|
-
* the case where we would use jump arguments for every other branch instruction, we
|
464
|
-
* need to split the critical edges leaving the `br_tables` by creating one `Block` per
|
465
|
-
* table destination; the `br_table` will point to these newly created `Blocks` and these
|
466
|
-
* `Block`s contain only a jump instruction pointing to the final destination, this time with
|
467
|
-
* jump arguments.
|
468
|
-
*
|
469
|
-
* This system is also implemented in Cranelift's SSA construction algorithm, because
|
470
|
-
* `use_var` located in a destination `Block` of a `br_table` might trigger the addition
|
471
|
-
* of jump arguments in each predecessor branch instruction, one of which might be a
|
472
|
-
* `br_table`.
|
473
|
-
***********************************************************************************/
|
474
|
-
Operator::Br { relative_depth } => {
|
475
|
-
let i = state.control_stack.len() - 1 - (*relative_depth as usize);
|
476
|
-
let (return_count, br_destination) = {
|
477
|
-
let frame = &mut state.control_stack[i];
|
478
|
-
// We signal that all the code that follows until the next End is unreachable
|
479
|
-
frame.set_branched_to_exit();
|
480
|
-
let return_count = if frame.is_loop() {
|
481
|
-
frame.num_param_values()
|
482
|
-
} else {
|
483
|
-
frame.num_return_values()
|
484
|
-
};
|
485
|
-
(return_count, frame.br_destination())
|
486
|
-
};
|
487
|
-
let destination_args = state.peekn_mut(return_count);
|
488
|
-
canonicalise_then_jump(builder, br_destination, destination_args);
|
489
|
-
state.popn(return_count);
|
490
|
-
state.reachable = false;
|
491
|
-
}
|
492
|
-
Operator::BrIf { relative_depth } => translate_br_if(*relative_depth, builder, state),
|
493
|
-
Operator::BrTable { targets } => {
|
494
|
-
let default = targets.default();
|
495
|
-
let mut min_depth = default;
|
496
|
-
for depth in targets.targets() {
|
497
|
-
let depth = depth?;
|
498
|
-
if depth < min_depth {
|
499
|
-
min_depth = depth;
|
500
|
-
}
|
501
|
-
}
|
502
|
-
let jump_args_count = {
|
503
|
-
let i = state.control_stack.len() - 1 - (min_depth as usize);
|
504
|
-
let min_depth_frame = &state.control_stack[i];
|
505
|
-
if min_depth_frame.is_loop() {
|
506
|
-
min_depth_frame.num_param_values()
|
507
|
-
} else {
|
508
|
-
min_depth_frame.num_return_values()
|
509
|
-
}
|
510
|
-
};
|
511
|
-
let val = state.pop1();
|
512
|
-
let mut data = Vec::with_capacity(targets.len() as usize);
|
513
|
-
if jump_args_count == 0 {
|
514
|
-
// No jump arguments
|
515
|
-
for depth in targets.targets() {
|
516
|
-
let depth = depth?;
|
517
|
-
let block = {
|
518
|
-
let i = state.control_stack.len() - 1 - (depth as usize);
|
519
|
-
let frame = &mut state.control_stack[i];
|
520
|
-
frame.set_branched_to_exit();
|
521
|
-
frame.br_destination()
|
522
|
-
};
|
523
|
-
data.push(builder.func.dfg.block_call(block, &[]));
|
524
|
-
}
|
525
|
-
let block = {
|
526
|
-
let i = state.control_stack.len() - 1 - (default as usize);
|
527
|
-
let frame = &mut state.control_stack[i];
|
528
|
-
frame.set_branched_to_exit();
|
529
|
-
frame.br_destination()
|
530
|
-
};
|
531
|
-
let block = builder.func.dfg.block_call(block, &[]);
|
532
|
-
let jt = builder.create_jump_table(JumpTableData::new(block, &data));
|
533
|
-
builder.ins().br_table(val, jt);
|
534
|
-
} else {
|
535
|
-
// Here we have jump arguments, but Cranelift's br_table doesn't support them
|
536
|
-
// We then proceed to split the edges going out of the br_table
|
537
|
-
let return_count = jump_args_count;
|
538
|
-
let mut dest_block_sequence = vec![];
|
539
|
-
let mut dest_block_map = HashMap::new();
|
540
|
-
for depth in targets.targets() {
|
541
|
-
let depth = depth?;
|
542
|
-
let branch_block = match dest_block_map.entry(depth as usize) {
|
543
|
-
hash_map::Entry::Occupied(entry) => *entry.get(),
|
544
|
-
hash_map::Entry::Vacant(entry) => {
|
545
|
-
let block = builder.create_block();
|
546
|
-
dest_block_sequence.push((depth as usize, block));
|
547
|
-
*entry.insert(block)
|
548
|
-
}
|
549
|
-
};
|
550
|
-
data.push(builder.func.dfg.block_call(branch_block, &[]));
|
551
|
-
}
|
552
|
-
let default_branch_block = match dest_block_map.entry(default as usize) {
|
553
|
-
hash_map::Entry::Occupied(entry) => *entry.get(),
|
554
|
-
hash_map::Entry::Vacant(entry) => {
|
555
|
-
let block = builder.create_block();
|
556
|
-
dest_block_sequence.push((default as usize, block));
|
557
|
-
*entry.insert(block)
|
558
|
-
}
|
559
|
-
};
|
560
|
-
let default_branch_block = builder.func.dfg.block_call(default_branch_block, &[]);
|
561
|
-
let jt = builder.create_jump_table(JumpTableData::new(default_branch_block, &data));
|
562
|
-
builder.ins().br_table(val, jt);
|
563
|
-
for (depth, dest_block) in dest_block_sequence {
|
564
|
-
builder.switch_to_block(dest_block);
|
565
|
-
builder.seal_block(dest_block);
|
566
|
-
let real_dest_block = {
|
567
|
-
let i = state.control_stack.len() - 1 - depth;
|
568
|
-
let frame = &mut state.control_stack[i];
|
569
|
-
frame.set_branched_to_exit();
|
570
|
-
frame.br_destination()
|
571
|
-
};
|
572
|
-
let destination_args = state.peekn_mut(return_count);
|
573
|
-
canonicalise_then_jump(builder, real_dest_block, destination_args);
|
574
|
-
}
|
575
|
-
state.popn(return_count);
|
576
|
-
}
|
577
|
-
state.reachable = false;
|
578
|
-
}
|
579
|
-
Operator::Return => {
|
580
|
-
let return_count = {
|
581
|
-
let frame = &mut state.control_stack[0];
|
582
|
-
frame.num_return_values()
|
583
|
-
};
|
584
|
-
{
|
585
|
-
let return_args = state.peekn_mut(return_count);
|
586
|
-
environ.handle_before_return(&return_args, builder);
|
587
|
-
bitcast_wasm_returns(environ, return_args, builder);
|
588
|
-
builder.ins().return_(return_args);
|
589
|
-
}
|
590
|
-
state.popn(return_count);
|
591
|
-
state.reachable = false;
|
592
|
-
}
|
593
|
-
/********************************** Exception handing **********************************/
|
594
|
-
Operator::Try { .. }
|
595
|
-
| Operator::Catch { .. }
|
596
|
-
| Operator::Throw { .. }
|
597
|
-
| Operator::Rethrow { .. }
|
598
|
-
| Operator::Delegate { .. }
|
599
|
-
| Operator::CatchAll => {
|
600
|
-
return Err(wasm_unsupported!(
|
601
|
-
"proposed exception handling operator {:?}",
|
602
|
-
op
|
603
|
-
));
|
604
|
-
}
|
605
|
-
/************************************ Calls ****************************************
|
606
|
-
* The call instructions pop off their arguments from the stack and append their
|
607
|
-
* return values to it. `call_indirect` needs environment support because there is an
|
608
|
-
* argument referring to an index in the external functions table of the module.
|
609
|
-
************************************************************************************/
|
610
|
-
Operator::Call { function_index } => {
|
611
|
-
let (fref, num_args) = state.get_direct_func(builder.func, *function_index, environ)?;
|
612
|
-
|
613
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
614
|
-
let args = state.peekn_mut(num_args);
|
615
|
-
bitcast_wasm_params(
|
616
|
-
environ,
|
617
|
-
builder.func.dfg.ext_funcs[fref].signature,
|
618
|
-
args,
|
619
|
-
builder,
|
620
|
-
);
|
621
|
-
|
622
|
-
let call = environ.translate_call(
|
623
|
-
builder,
|
624
|
-
FuncIndex::from_u32(*function_index),
|
625
|
-
fref,
|
626
|
-
args,
|
627
|
-
)?;
|
628
|
-
let inst_results = builder.inst_results(call);
|
629
|
-
debug_assert_eq!(
|
630
|
-
inst_results.len(),
|
631
|
-
builder.func.dfg.signatures[builder.func.dfg.ext_funcs[fref].signature]
|
632
|
-
.returns
|
633
|
-
.len(),
|
634
|
-
"translate_call results should match the call signature"
|
635
|
-
);
|
636
|
-
state.popn(num_args);
|
637
|
-
state.pushn(inst_results);
|
638
|
-
}
|
639
|
-
Operator::CallIndirect {
|
640
|
-
type_index,
|
641
|
-
table_index,
|
642
|
-
table_byte: _,
|
643
|
-
} => {
|
644
|
-
// `type_index` is the index of the function's signature and
|
645
|
-
// `table_index` is the index of the table to search the function
|
646
|
-
// in.
|
647
|
-
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
648
|
-
let table = state.get_or_create_table(builder.func, *table_index, environ)?;
|
649
|
-
let callee = state.pop1();
|
650
|
-
|
651
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
652
|
-
let args = state.peekn_mut(num_args);
|
653
|
-
bitcast_wasm_params(environ, sigref, args, builder);
|
654
|
-
|
655
|
-
let call = environ.translate_call_indirect(
|
656
|
-
builder,
|
657
|
-
TableIndex::from_u32(*table_index),
|
658
|
-
table,
|
659
|
-
TypeIndex::from_u32(*type_index),
|
660
|
-
sigref,
|
661
|
-
callee,
|
662
|
-
state.peekn(num_args),
|
663
|
-
)?;
|
664
|
-
let inst_results = builder.inst_results(call);
|
665
|
-
debug_assert_eq!(
|
666
|
-
inst_results.len(),
|
667
|
-
builder.func.dfg.signatures[sigref].returns.len(),
|
668
|
-
"translate_call_indirect results should match the call signature"
|
669
|
-
);
|
670
|
-
state.popn(num_args);
|
671
|
-
state.pushn(inst_results);
|
672
|
-
}
|
673
|
-
/******************************* Tail Calls ******************************************
|
674
|
-
* The tail call instructions pop their arguments from the stack and
|
675
|
-
* then permanently transfer control to their callee. The indirect
|
676
|
-
* version requires environment support (while the direct version can
|
677
|
-
* optionally be hooked but doesn't require it) it interacts with the
|
678
|
-
* VM's runtime state via tables.
|
679
|
-
************************************************************************************/
|
680
|
-
Operator::ReturnCall { function_index } => {
|
681
|
-
let (fref, num_args) = state.get_direct_func(builder.func, *function_index, environ)?;
|
682
|
-
|
683
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
684
|
-
let args = state.peekn_mut(num_args);
|
685
|
-
bitcast_wasm_params(
|
686
|
-
environ,
|
687
|
-
builder.func.dfg.ext_funcs[fref].signature,
|
688
|
-
args,
|
689
|
-
builder,
|
690
|
-
);
|
691
|
-
|
692
|
-
environ.translate_return_call(
|
693
|
-
builder,
|
694
|
-
FuncIndex::from_u32(*function_index),
|
695
|
-
fref,
|
696
|
-
args,
|
697
|
-
)?;
|
698
|
-
|
699
|
-
state.popn(num_args);
|
700
|
-
state.reachable = false;
|
701
|
-
}
|
702
|
-
Operator::ReturnCallIndirect {
|
703
|
-
type_index,
|
704
|
-
table_index,
|
705
|
-
} => {
|
706
|
-
// `type_index` is the index of the function's signature and
|
707
|
-
// `table_index` is the index of the table to search the function
|
708
|
-
// in.
|
709
|
-
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
710
|
-
let table = state.get_or_create_table(builder.func, *table_index, environ)?;
|
711
|
-
let callee = state.pop1();
|
712
|
-
|
713
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
714
|
-
let args = state.peekn_mut(num_args);
|
715
|
-
bitcast_wasm_params(environ, sigref, args, builder);
|
716
|
-
|
717
|
-
environ.translate_return_call_indirect(
|
718
|
-
builder,
|
719
|
-
TableIndex::from_u32(*table_index),
|
720
|
-
table,
|
721
|
-
TypeIndex::from_u32(*type_index),
|
722
|
-
sigref,
|
723
|
-
callee,
|
724
|
-
state.peekn(num_args),
|
725
|
-
)?;
|
726
|
-
|
727
|
-
state.popn(num_args);
|
728
|
-
state.reachable = false;
|
729
|
-
}
|
730
|
-
Operator::ReturnCallRef { type_index } => {
|
731
|
-
// Get function signature
|
732
|
-
// `index` is the index of the function's signature and `table_index` is the index of
|
733
|
-
// the table to search the function in.
|
734
|
-
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
735
|
-
let callee = state.pop1();
|
736
|
-
|
737
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
738
|
-
let args = state.peekn_mut(num_args);
|
739
|
-
bitcast_wasm_params(environ, sigref, args, builder);
|
740
|
-
|
741
|
-
environ.translate_return_call_ref(builder, sigref, callee, state.peekn(num_args))?;
|
742
|
-
|
743
|
-
state.popn(num_args);
|
744
|
-
state.reachable = false;
|
745
|
-
}
|
746
|
-
/******************************* Memory management ***********************************
|
747
|
-
* Memory management is handled by environment. It is usually translated into calls to
|
748
|
-
* special functions.
|
749
|
-
************************************************************************************/
|
750
|
-
Operator::MemoryGrow { mem, mem_byte: _ } => {
|
751
|
-
// The WebAssembly MVP only supports one linear memory, but we expect the reserved
|
752
|
-
// argument to be a memory index.
|
753
|
-
let heap_index = MemoryIndex::from_u32(*mem);
|
754
|
-
let heap = state.get_heap(builder.func, *mem, environ)?;
|
755
|
-
let val = state.pop1();
|
756
|
-
environ.before_memory_grow(builder, val, heap_index);
|
757
|
-
state.push1(environ.translate_memory_grow(builder.cursor(), heap_index, heap, val)?)
|
758
|
-
}
|
759
|
-
Operator::MemorySize { mem, mem_byte: _ } => {
|
760
|
-
let heap_index = MemoryIndex::from_u32(*mem);
|
761
|
-
let heap = state.get_heap(builder.func, *mem, environ)?;
|
762
|
-
state.push1(environ.translate_memory_size(builder.cursor(), heap_index, heap)?);
|
763
|
-
}
|
764
|
-
/******************************* Load instructions ***********************************
|
765
|
-
* Wasm specifies an integer alignment flag but we drop it in Cranelift.
|
766
|
-
* The memory base address is provided by the environment.
|
767
|
-
************************************************************************************/
|
768
|
-
Operator::I32Load8U { memarg } => {
|
769
|
-
unwrap_or_return_unreachable_state!(
|
770
|
-
state,
|
771
|
-
translate_load(memarg, ir::Opcode::Uload8, I32, builder, state, environ)?
|
772
|
-
);
|
773
|
-
}
|
774
|
-
Operator::I32Load16U { memarg } => {
|
775
|
-
unwrap_or_return_unreachable_state!(
|
776
|
-
state,
|
777
|
-
translate_load(memarg, ir::Opcode::Uload16, I32, builder, state, environ)?
|
778
|
-
);
|
779
|
-
}
|
780
|
-
Operator::I32Load8S { memarg } => {
|
781
|
-
unwrap_or_return_unreachable_state!(
|
782
|
-
state,
|
783
|
-
translate_load(memarg, ir::Opcode::Sload8, I32, builder, state, environ)?
|
784
|
-
);
|
785
|
-
}
|
786
|
-
Operator::I32Load16S { memarg } => {
|
787
|
-
unwrap_or_return_unreachable_state!(
|
788
|
-
state,
|
789
|
-
translate_load(memarg, ir::Opcode::Sload16, I32, builder, state, environ)?
|
790
|
-
);
|
791
|
-
}
|
792
|
-
Operator::I64Load8U { memarg } => {
|
793
|
-
unwrap_or_return_unreachable_state!(
|
794
|
-
state,
|
795
|
-
translate_load(memarg, ir::Opcode::Uload8, I64, builder, state, environ)?
|
796
|
-
);
|
797
|
-
}
|
798
|
-
Operator::I64Load16U { memarg } => {
|
799
|
-
unwrap_or_return_unreachable_state!(
|
800
|
-
state,
|
801
|
-
translate_load(memarg, ir::Opcode::Uload16, I64, builder, state, environ)?
|
802
|
-
);
|
803
|
-
}
|
804
|
-
Operator::I64Load8S { memarg } => {
|
805
|
-
unwrap_or_return_unreachable_state!(
|
806
|
-
state,
|
807
|
-
translate_load(memarg, ir::Opcode::Sload8, I64, builder, state, environ)?
|
808
|
-
);
|
809
|
-
}
|
810
|
-
Operator::I64Load16S { memarg } => {
|
811
|
-
unwrap_or_return_unreachable_state!(
|
812
|
-
state,
|
813
|
-
translate_load(memarg, ir::Opcode::Sload16, I64, builder, state, environ)?
|
814
|
-
);
|
815
|
-
}
|
816
|
-
Operator::I64Load32S { memarg } => {
|
817
|
-
unwrap_or_return_unreachable_state!(
|
818
|
-
state,
|
819
|
-
translate_load(memarg, ir::Opcode::Sload32, I64, builder, state, environ)?
|
820
|
-
);
|
821
|
-
}
|
822
|
-
Operator::I64Load32U { memarg } => {
|
823
|
-
unwrap_or_return_unreachable_state!(
|
824
|
-
state,
|
825
|
-
translate_load(memarg, ir::Opcode::Uload32, I64, builder, state, environ)?
|
826
|
-
);
|
827
|
-
}
|
828
|
-
Operator::I32Load { memarg } => {
|
829
|
-
unwrap_or_return_unreachable_state!(
|
830
|
-
state,
|
831
|
-
translate_load(memarg, ir::Opcode::Load, I32, builder, state, environ)?
|
832
|
-
);
|
833
|
-
}
|
834
|
-
Operator::F32Load { memarg } => {
|
835
|
-
unwrap_or_return_unreachable_state!(
|
836
|
-
state,
|
837
|
-
translate_load(memarg, ir::Opcode::Load, F32, builder, state, environ)?
|
838
|
-
);
|
839
|
-
}
|
840
|
-
Operator::I64Load { memarg } => {
|
841
|
-
unwrap_or_return_unreachable_state!(
|
842
|
-
state,
|
843
|
-
translate_load(memarg, ir::Opcode::Load, I64, builder, state, environ)?
|
844
|
-
);
|
845
|
-
}
|
846
|
-
Operator::F64Load { memarg } => {
|
847
|
-
unwrap_or_return_unreachable_state!(
|
848
|
-
state,
|
849
|
-
translate_load(memarg, ir::Opcode::Load, F64, builder, state, environ)?
|
850
|
-
);
|
851
|
-
}
|
852
|
-
Operator::V128Load { memarg } => {
|
853
|
-
unwrap_or_return_unreachable_state!(
|
854
|
-
state,
|
855
|
-
translate_load(memarg, ir::Opcode::Load, I8X16, builder, state, environ)?
|
856
|
-
);
|
857
|
-
}
|
858
|
-
Operator::V128Load8x8S { memarg } => {
|
859
|
-
//TODO(#6829): add before_load() and before_store() hooks for SIMD loads and stores.
|
860
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
861
|
-
state,
|
862
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
863
|
-
);
|
864
|
-
let loaded = builder.ins().sload8x8(flags, base, 0);
|
865
|
-
state.push1(loaded);
|
866
|
-
}
|
867
|
-
Operator::V128Load8x8U { memarg } => {
|
868
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
869
|
-
state,
|
870
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
871
|
-
);
|
872
|
-
let loaded = builder.ins().uload8x8(flags, base, 0);
|
873
|
-
state.push1(loaded);
|
874
|
-
}
|
875
|
-
Operator::V128Load16x4S { memarg } => {
|
876
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
877
|
-
state,
|
878
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
879
|
-
);
|
880
|
-
let loaded = builder.ins().sload16x4(flags, base, 0);
|
881
|
-
state.push1(loaded);
|
882
|
-
}
|
883
|
-
Operator::V128Load16x4U { memarg } => {
|
884
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
885
|
-
state,
|
886
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
887
|
-
);
|
888
|
-
let loaded = builder.ins().uload16x4(flags, base, 0);
|
889
|
-
state.push1(loaded);
|
890
|
-
}
|
891
|
-
Operator::V128Load32x2S { memarg } => {
|
892
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
893
|
-
state,
|
894
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
895
|
-
);
|
896
|
-
let loaded = builder.ins().sload32x2(flags, base, 0);
|
897
|
-
state.push1(loaded);
|
898
|
-
}
|
899
|
-
Operator::V128Load32x2U { memarg } => {
|
900
|
-
let (flags, _, base) = unwrap_or_return_unreachable_state!(
|
901
|
-
state,
|
902
|
-
prepare_addr(memarg, 8, builder, state, environ)?
|
903
|
-
);
|
904
|
-
let loaded = builder.ins().uload32x2(flags, base, 0);
|
905
|
-
state.push1(loaded);
|
906
|
-
}
|
907
|
-
/****************************** Store instructions ***********************************
|
908
|
-
* Wasm specifies an integer alignment flag but we drop it in Cranelift.
|
909
|
-
* The memory base address is provided by the environment.
|
910
|
-
************************************************************************************/
|
911
|
-
Operator::I32Store { memarg }
|
912
|
-
| Operator::I64Store { memarg }
|
913
|
-
| Operator::F32Store { memarg }
|
914
|
-
| Operator::F64Store { memarg } => {
|
915
|
-
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
916
|
-
}
|
917
|
-
Operator::I32Store8 { memarg } | Operator::I64Store8 { memarg } => {
|
918
|
-
translate_store(memarg, ir::Opcode::Istore8, builder, state, environ)?;
|
919
|
-
}
|
920
|
-
Operator::I32Store16 { memarg } | Operator::I64Store16 { memarg } => {
|
921
|
-
translate_store(memarg, ir::Opcode::Istore16, builder, state, environ)?;
|
922
|
-
}
|
923
|
-
Operator::I64Store32 { memarg } => {
|
924
|
-
translate_store(memarg, ir::Opcode::Istore32, builder, state, environ)?;
|
925
|
-
}
|
926
|
-
Operator::V128Store { memarg } => {
|
927
|
-
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
928
|
-
}
|
929
|
-
/****************************** Nullary Operators ************************************/
|
930
|
-
Operator::I32Const { value } => {
|
931
|
-
state.push1(builder.ins().iconst(I32, *value as u32 as i64))
|
932
|
-
}
|
933
|
-
Operator::I64Const { value } => state.push1(builder.ins().iconst(I64, *value)),
|
934
|
-
Operator::F32Const { value } => {
|
935
|
-
state.push1(builder.ins().f32const(f32_translation(*value)));
|
936
|
-
}
|
937
|
-
Operator::F64Const { value } => {
|
938
|
-
state.push1(builder.ins().f64const(f64_translation(*value)));
|
939
|
-
}
|
940
|
-
/******************************* Unary Operators *************************************/
|
941
|
-
Operator::I32Clz | Operator::I64Clz => {
|
942
|
-
let arg = state.pop1();
|
943
|
-
state.push1(builder.ins().clz(arg));
|
944
|
-
}
|
945
|
-
Operator::I32Ctz | Operator::I64Ctz => {
|
946
|
-
let arg = state.pop1();
|
947
|
-
state.push1(builder.ins().ctz(arg));
|
948
|
-
}
|
949
|
-
Operator::I32Popcnt | Operator::I64Popcnt => {
|
950
|
-
let arg = state.pop1();
|
951
|
-
state.push1(builder.ins().popcnt(arg));
|
952
|
-
}
|
953
|
-
Operator::I64ExtendI32S => {
|
954
|
-
let val = state.pop1();
|
955
|
-
state.push1(builder.ins().sextend(I64, val));
|
956
|
-
}
|
957
|
-
Operator::I64ExtendI32U => {
|
958
|
-
let val = state.pop1();
|
959
|
-
state.push1(builder.ins().uextend(I64, val));
|
960
|
-
}
|
961
|
-
Operator::I32WrapI64 => {
|
962
|
-
let val = state.pop1();
|
963
|
-
state.push1(builder.ins().ireduce(I32, val));
|
964
|
-
}
|
965
|
-
Operator::F32Sqrt | Operator::F64Sqrt => {
|
966
|
-
let arg = state.pop1();
|
967
|
-
state.push1(builder.ins().sqrt(arg));
|
968
|
-
}
|
969
|
-
Operator::F32Ceil | Operator::F64Ceil => {
|
970
|
-
let arg = state.pop1();
|
971
|
-
state.push1(builder.ins().ceil(arg));
|
972
|
-
}
|
973
|
-
Operator::F32Floor | Operator::F64Floor => {
|
974
|
-
let arg = state.pop1();
|
975
|
-
state.push1(builder.ins().floor(arg));
|
976
|
-
}
|
977
|
-
Operator::F32Trunc | Operator::F64Trunc => {
|
978
|
-
let arg = state.pop1();
|
979
|
-
state.push1(builder.ins().trunc(arg));
|
980
|
-
}
|
981
|
-
Operator::F32Nearest | Operator::F64Nearest => {
|
982
|
-
let arg = state.pop1();
|
983
|
-
state.push1(builder.ins().nearest(arg));
|
984
|
-
}
|
985
|
-
Operator::F32Abs | Operator::F64Abs => {
|
986
|
-
let val = state.pop1();
|
987
|
-
state.push1(builder.ins().fabs(val));
|
988
|
-
}
|
989
|
-
Operator::F32Neg | Operator::F64Neg => {
|
990
|
-
let arg = state.pop1();
|
991
|
-
state.push1(builder.ins().fneg(arg));
|
992
|
-
}
|
993
|
-
Operator::F64ConvertI64U | Operator::F64ConvertI32U => {
|
994
|
-
let val = state.pop1();
|
995
|
-
state.push1(builder.ins().fcvt_from_uint(F64, val));
|
996
|
-
}
|
997
|
-
Operator::F64ConvertI64S | Operator::F64ConvertI32S => {
|
998
|
-
let val = state.pop1();
|
999
|
-
state.push1(builder.ins().fcvt_from_sint(F64, val));
|
1000
|
-
}
|
1001
|
-
Operator::F32ConvertI64S | Operator::F32ConvertI32S => {
|
1002
|
-
let val = state.pop1();
|
1003
|
-
state.push1(builder.ins().fcvt_from_sint(F32, val));
|
1004
|
-
}
|
1005
|
-
Operator::F32ConvertI64U | Operator::F32ConvertI32U => {
|
1006
|
-
let val = state.pop1();
|
1007
|
-
state.push1(builder.ins().fcvt_from_uint(F32, val));
|
1008
|
-
}
|
1009
|
-
Operator::F64PromoteF32 => {
|
1010
|
-
let val = state.pop1();
|
1011
|
-
state.push1(builder.ins().fpromote(F64, val));
|
1012
|
-
}
|
1013
|
-
Operator::F32DemoteF64 => {
|
1014
|
-
let val = state.pop1();
|
1015
|
-
state.push1(builder.ins().fdemote(F32, val));
|
1016
|
-
}
|
1017
|
-
Operator::I64TruncF64S | Operator::I64TruncF32S => {
|
1018
|
-
let val = state.pop1();
|
1019
|
-
state.push1(builder.ins().fcvt_to_sint(I64, val));
|
1020
|
-
}
|
1021
|
-
Operator::I32TruncF64S | Operator::I32TruncF32S => {
|
1022
|
-
let val = state.pop1();
|
1023
|
-
state.push1(builder.ins().fcvt_to_sint(I32, val));
|
1024
|
-
}
|
1025
|
-
Operator::I64TruncF64U | Operator::I64TruncF32U => {
|
1026
|
-
let val = state.pop1();
|
1027
|
-
state.push1(builder.ins().fcvt_to_uint(I64, val));
|
1028
|
-
}
|
1029
|
-
Operator::I32TruncF64U | Operator::I32TruncF32U => {
|
1030
|
-
let val = state.pop1();
|
1031
|
-
state.push1(builder.ins().fcvt_to_uint(I32, val));
|
1032
|
-
}
|
1033
|
-
Operator::I64TruncSatF64S | Operator::I64TruncSatF32S => {
|
1034
|
-
let val = state.pop1();
|
1035
|
-
state.push1(builder.ins().fcvt_to_sint_sat(I64, val));
|
1036
|
-
}
|
1037
|
-
Operator::I32TruncSatF64S | Operator::I32TruncSatF32S => {
|
1038
|
-
let val = state.pop1();
|
1039
|
-
state.push1(builder.ins().fcvt_to_sint_sat(I32, val));
|
1040
|
-
}
|
1041
|
-
Operator::I64TruncSatF64U | Operator::I64TruncSatF32U => {
|
1042
|
-
let val = state.pop1();
|
1043
|
-
state.push1(builder.ins().fcvt_to_uint_sat(I64, val));
|
1044
|
-
}
|
1045
|
-
Operator::I32TruncSatF64U | Operator::I32TruncSatF32U => {
|
1046
|
-
let val = state.pop1();
|
1047
|
-
state.push1(builder.ins().fcvt_to_uint_sat(I32, val));
|
1048
|
-
}
|
1049
|
-
Operator::F32ReinterpretI32 => {
|
1050
|
-
let val = state.pop1();
|
1051
|
-
state.push1(builder.ins().bitcast(F32, MemFlags::new(), val));
|
1052
|
-
}
|
1053
|
-
Operator::F64ReinterpretI64 => {
|
1054
|
-
let val = state.pop1();
|
1055
|
-
state.push1(builder.ins().bitcast(F64, MemFlags::new(), val));
|
1056
|
-
}
|
1057
|
-
Operator::I32ReinterpretF32 => {
|
1058
|
-
let val = state.pop1();
|
1059
|
-
state.push1(builder.ins().bitcast(I32, MemFlags::new(), val));
|
1060
|
-
}
|
1061
|
-
Operator::I64ReinterpretF64 => {
|
1062
|
-
let val = state.pop1();
|
1063
|
-
state.push1(builder.ins().bitcast(I64, MemFlags::new(), val));
|
1064
|
-
}
|
1065
|
-
Operator::I32Extend8S => {
|
1066
|
-
let val = state.pop1();
|
1067
|
-
state.push1(builder.ins().ireduce(I8, val));
|
1068
|
-
let val = state.pop1();
|
1069
|
-
state.push1(builder.ins().sextend(I32, val));
|
1070
|
-
}
|
1071
|
-
Operator::I32Extend16S => {
|
1072
|
-
let val = state.pop1();
|
1073
|
-
state.push1(builder.ins().ireduce(I16, val));
|
1074
|
-
let val = state.pop1();
|
1075
|
-
state.push1(builder.ins().sextend(I32, val));
|
1076
|
-
}
|
1077
|
-
Operator::I64Extend8S => {
|
1078
|
-
let val = state.pop1();
|
1079
|
-
state.push1(builder.ins().ireduce(I8, val));
|
1080
|
-
let val = state.pop1();
|
1081
|
-
state.push1(builder.ins().sextend(I64, val));
|
1082
|
-
}
|
1083
|
-
Operator::I64Extend16S => {
|
1084
|
-
let val = state.pop1();
|
1085
|
-
state.push1(builder.ins().ireduce(I16, val));
|
1086
|
-
let val = state.pop1();
|
1087
|
-
state.push1(builder.ins().sextend(I64, val));
|
1088
|
-
}
|
1089
|
-
Operator::I64Extend32S => {
|
1090
|
-
let val = state.pop1();
|
1091
|
-
state.push1(builder.ins().ireduce(I32, val));
|
1092
|
-
let val = state.pop1();
|
1093
|
-
state.push1(builder.ins().sextend(I64, val));
|
1094
|
-
}
|
1095
|
-
/****************************** Binary Operators ************************************/
|
1096
|
-
Operator::I32Add | Operator::I64Add => {
|
1097
|
-
let (arg1, arg2) = state.pop2();
|
1098
|
-
state.push1(builder.ins().iadd(arg1, arg2));
|
1099
|
-
}
|
1100
|
-
Operator::I32And | Operator::I64And => {
|
1101
|
-
let (arg1, arg2) = state.pop2();
|
1102
|
-
state.push1(builder.ins().band(arg1, arg2));
|
1103
|
-
}
|
1104
|
-
Operator::I32Or | Operator::I64Or => {
|
1105
|
-
let (arg1, arg2) = state.pop2();
|
1106
|
-
state.push1(builder.ins().bor(arg1, arg2));
|
1107
|
-
}
|
1108
|
-
Operator::I32Xor | Operator::I64Xor => {
|
1109
|
-
let (arg1, arg2) = state.pop2();
|
1110
|
-
state.push1(builder.ins().bxor(arg1, arg2));
|
1111
|
-
}
|
1112
|
-
Operator::I32Shl | Operator::I64Shl => {
|
1113
|
-
let (arg1, arg2) = state.pop2();
|
1114
|
-
state.push1(builder.ins().ishl(arg1, arg2));
|
1115
|
-
}
|
1116
|
-
Operator::I32ShrS | Operator::I64ShrS => {
|
1117
|
-
let (arg1, arg2) = state.pop2();
|
1118
|
-
state.push1(builder.ins().sshr(arg1, arg2));
|
1119
|
-
}
|
1120
|
-
Operator::I32ShrU | Operator::I64ShrU => {
|
1121
|
-
let (arg1, arg2) = state.pop2();
|
1122
|
-
state.push1(builder.ins().ushr(arg1, arg2));
|
1123
|
-
}
|
1124
|
-
Operator::I32Rotl | Operator::I64Rotl => {
|
1125
|
-
let (arg1, arg2) = state.pop2();
|
1126
|
-
state.push1(builder.ins().rotl(arg1, arg2));
|
1127
|
-
}
|
1128
|
-
Operator::I32Rotr | Operator::I64Rotr => {
|
1129
|
-
let (arg1, arg2) = state.pop2();
|
1130
|
-
state.push1(builder.ins().rotr(arg1, arg2));
|
1131
|
-
}
|
1132
|
-
Operator::F32Add | Operator::F64Add => {
|
1133
|
-
let (arg1, arg2) = state.pop2();
|
1134
|
-
state.push1(builder.ins().fadd(arg1, arg2));
|
1135
|
-
}
|
1136
|
-
Operator::I32Sub | Operator::I64Sub => {
|
1137
|
-
let (arg1, arg2) = state.pop2();
|
1138
|
-
state.push1(builder.ins().isub(arg1, arg2));
|
1139
|
-
}
|
1140
|
-
Operator::F32Sub | Operator::F64Sub => {
|
1141
|
-
let (arg1, arg2) = state.pop2();
|
1142
|
-
state.push1(builder.ins().fsub(arg1, arg2));
|
1143
|
-
}
|
1144
|
-
Operator::I32Mul | Operator::I64Mul => {
|
1145
|
-
let (arg1, arg2) = state.pop2();
|
1146
|
-
state.push1(builder.ins().imul(arg1, arg2));
|
1147
|
-
}
|
1148
|
-
Operator::F32Mul | Operator::F64Mul => {
|
1149
|
-
let (arg1, arg2) = state.pop2();
|
1150
|
-
state.push1(builder.ins().fmul(arg1, arg2));
|
1151
|
-
}
|
1152
|
-
Operator::F32Div | Operator::F64Div => {
|
1153
|
-
let (arg1, arg2) = state.pop2();
|
1154
|
-
state.push1(builder.ins().fdiv(arg1, arg2));
|
1155
|
-
}
|
1156
|
-
Operator::I32DivS | Operator::I64DivS => {
|
1157
|
-
let (arg1, arg2) = state.pop2();
|
1158
|
-
state.push1(builder.ins().sdiv(arg1, arg2));
|
1159
|
-
}
|
1160
|
-
Operator::I32DivU | Operator::I64DivU => {
|
1161
|
-
let (arg1, arg2) = state.pop2();
|
1162
|
-
state.push1(builder.ins().udiv(arg1, arg2));
|
1163
|
-
}
|
1164
|
-
Operator::I32RemS | Operator::I64RemS => {
|
1165
|
-
let (arg1, arg2) = state.pop2();
|
1166
|
-
state.push1(builder.ins().srem(arg1, arg2));
|
1167
|
-
}
|
1168
|
-
Operator::I32RemU | Operator::I64RemU => {
|
1169
|
-
let (arg1, arg2) = state.pop2();
|
1170
|
-
state.push1(builder.ins().urem(arg1, arg2));
|
1171
|
-
}
|
1172
|
-
Operator::F32Min | Operator::F64Min => {
|
1173
|
-
let (arg1, arg2) = state.pop2();
|
1174
|
-
state.push1(builder.ins().fmin(arg1, arg2));
|
1175
|
-
}
|
1176
|
-
Operator::F32Max | Operator::F64Max => {
|
1177
|
-
let (arg1, arg2) = state.pop2();
|
1178
|
-
state.push1(builder.ins().fmax(arg1, arg2));
|
1179
|
-
}
|
1180
|
-
Operator::F32Copysign | Operator::F64Copysign => {
|
1181
|
-
let (arg1, arg2) = state.pop2();
|
1182
|
-
state.push1(builder.ins().fcopysign(arg1, arg2));
|
1183
|
-
}
|
1184
|
-
/**************************** Comparison Operators **********************************/
|
1185
|
-
Operator::I32LtS | Operator::I64LtS => {
|
1186
|
-
translate_icmp(IntCC::SignedLessThan, builder, state)
|
1187
|
-
}
|
1188
|
-
Operator::I32LtU | Operator::I64LtU => {
|
1189
|
-
translate_icmp(IntCC::UnsignedLessThan, builder, state)
|
1190
|
-
}
|
1191
|
-
Operator::I32LeS | Operator::I64LeS => {
|
1192
|
-
translate_icmp(IntCC::SignedLessThanOrEqual, builder, state)
|
1193
|
-
}
|
1194
|
-
Operator::I32LeU | Operator::I64LeU => {
|
1195
|
-
translate_icmp(IntCC::UnsignedLessThanOrEqual, builder, state)
|
1196
|
-
}
|
1197
|
-
Operator::I32GtS | Operator::I64GtS => {
|
1198
|
-
translate_icmp(IntCC::SignedGreaterThan, builder, state)
|
1199
|
-
}
|
1200
|
-
Operator::I32GtU | Operator::I64GtU => {
|
1201
|
-
translate_icmp(IntCC::UnsignedGreaterThan, builder, state)
|
1202
|
-
}
|
1203
|
-
Operator::I32GeS | Operator::I64GeS => {
|
1204
|
-
translate_icmp(IntCC::SignedGreaterThanOrEqual, builder, state)
|
1205
|
-
}
|
1206
|
-
Operator::I32GeU | Operator::I64GeU => {
|
1207
|
-
translate_icmp(IntCC::UnsignedGreaterThanOrEqual, builder, state)
|
1208
|
-
}
|
1209
|
-
Operator::I32Eqz | Operator::I64Eqz => {
|
1210
|
-
let arg = state.pop1();
|
1211
|
-
let val = builder.ins().icmp_imm(IntCC::Equal, arg, 0);
|
1212
|
-
state.push1(builder.ins().uextend(I32, val));
|
1213
|
-
}
|
1214
|
-
Operator::I32Eq | Operator::I64Eq => translate_icmp(IntCC::Equal, builder, state),
|
1215
|
-
Operator::F32Eq | Operator::F64Eq => translate_fcmp(FloatCC::Equal, builder, state),
|
1216
|
-
Operator::I32Ne | Operator::I64Ne => translate_icmp(IntCC::NotEqual, builder, state),
|
1217
|
-
Operator::F32Ne | Operator::F64Ne => translate_fcmp(FloatCC::NotEqual, builder, state),
|
1218
|
-
Operator::F32Gt | Operator::F64Gt => translate_fcmp(FloatCC::GreaterThan, builder, state),
|
1219
|
-
Operator::F32Ge | Operator::F64Ge => {
|
1220
|
-
translate_fcmp(FloatCC::GreaterThanOrEqual, builder, state)
|
1221
|
-
}
|
1222
|
-
Operator::F32Lt | Operator::F64Lt => translate_fcmp(FloatCC::LessThan, builder, state),
|
1223
|
-
Operator::F32Le | Operator::F64Le => {
|
1224
|
-
translate_fcmp(FloatCC::LessThanOrEqual, builder, state)
|
1225
|
-
}
|
1226
|
-
Operator::RefNull { hty } => {
|
1227
|
-
let hty = environ.convert_heap_type(*hty);
|
1228
|
-
state.push1(environ.translate_ref_null(builder.cursor(), hty)?)
|
1229
|
-
}
|
1230
|
-
Operator::RefIsNull => {
|
1231
|
-
let value = state.pop1();
|
1232
|
-
state.push1(environ.translate_ref_is_null(builder.cursor(), value)?);
|
1233
|
-
}
|
1234
|
-
Operator::RefFunc { function_index } => {
|
1235
|
-
let index = FuncIndex::from_u32(*function_index);
|
1236
|
-
state.push1(environ.translate_ref_func(builder.cursor(), index)?);
|
1237
|
-
}
|
1238
|
-
Operator::MemoryAtomicWait32 { memarg } | Operator::MemoryAtomicWait64 { memarg } => {
|
1239
|
-
// The WebAssembly MVP only supports one linear memory and
|
1240
|
-
// wasmparser will ensure that the memory indices specified are
|
1241
|
-
// zero.
|
1242
|
-
let implied_ty = match op {
|
1243
|
-
Operator::MemoryAtomicWait64 { .. } => I64,
|
1244
|
-
Operator::MemoryAtomicWait32 { .. } => I32,
|
1245
|
-
_ => unreachable!(),
|
1246
|
-
};
|
1247
|
-
let heap_index = MemoryIndex::from_u32(memarg.memory);
|
1248
|
-
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
1249
|
-
let timeout = state.pop1(); // 64 (fixed)
|
1250
|
-
let expected = state.pop1(); // 32 or 64 (per the `Ixx` in `IxxAtomicWait`)
|
1251
|
-
assert!(builder.func.dfg.value_type(expected) == implied_ty);
|
1252
|
-
let addr = state.pop1();
|
1253
|
-
let effective_addr = if memarg.offset == 0 {
|
1254
|
-
addr
|
1255
|
-
} else {
|
1256
|
-
let index_type = environ.heaps()[heap].index_type;
|
1257
|
-
let offset = builder.ins().iconst(index_type, memarg.offset as i64);
|
1258
|
-
builder
|
1259
|
-
.ins()
|
1260
|
-
.uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
|
1261
|
-
};
|
1262
|
-
// `fn translate_atomic_wait` can inspect the type of `expected` to figure out what
|
1263
|
-
// code it needs to generate, if it wants.
|
1264
|
-
let res = environ.translate_atomic_wait(
|
1265
|
-
builder.cursor(),
|
1266
|
-
heap_index,
|
1267
|
-
heap,
|
1268
|
-
effective_addr,
|
1269
|
-
expected,
|
1270
|
-
timeout,
|
1271
|
-
)?;
|
1272
|
-
state.push1(res);
|
1273
|
-
}
|
1274
|
-
Operator::MemoryAtomicNotify { memarg } => {
|
1275
|
-
let heap_index = MemoryIndex::from_u32(memarg.memory);
|
1276
|
-
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
1277
|
-
let count = state.pop1(); // 32 (fixed)
|
1278
|
-
let addr = state.pop1();
|
1279
|
-
let effective_addr = if memarg.offset == 0 {
|
1280
|
-
addr
|
1281
|
-
} else {
|
1282
|
-
let index_type = environ.heaps()[heap].index_type;
|
1283
|
-
let offset = builder.ins().iconst(index_type, memarg.offset as i64);
|
1284
|
-
builder
|
1285
|
-
.ins()
|
1286
|
-
.uadd_overflow_trap(addr, offset, ir::TrapCode::HeapOutOfBounds)
|
1287
|
-
};
|
1288
|
-
let res = environ.translate_atomic_notify(
|
1289
|
-
builder.cursor(),
|
1290
|
-
heap_index,
|
1291
|
-
heap,
|
1292
|
-
effective_addr,
|
1293
|
-
count,
|
1294
|
-
)?;
|
1295
|
-
state.push1(res);
|
1296
|
-
}
|
1297
|
-
Operator::I32AtomicLoad { memarg } => {
|
1298
|
-
translate_atomic_load(I32, I32, memarg, builder, state, environ)?
|
1299
|
-
}
|
1300
|
-
Operator::I64AtomicLoad { memarg } => {
|
1301
|
-
translate_atomic_load(I64, I64, memarg, builder, state, environ)?
|
1302
|
-
}
|
1303
|
-
Operator::I32AtomicLoad8U { memarg } => {
|
1304
|
-
translate_atomic_load(I32, I8, memarg, builder, state, environ)?
|
1305
|
-
}
|
1306
|
-
Operator::I32AtomicLoad16U { memarg } => {
|
1307
|
-
translate_atomic_load(I32, I16, memarg, builder, state, environ)?
|
1308
|
-
}
|
1309
|
-
Operator::I64AtomicLoad8U { memarg } => {
|
1310
|
-
translate_atomic_load(I64, I8, memarg, builder, state, environ)?
|
1311
|
-
}
|
1312
|
-
Operator::I64AtomicLoad16U { memarg } => {
|
1313
|
-
translate_atomic_load(I64, I16, memarg, builder, state, environ)?
|
1314
|
-
}
|
1315
|
-
Operator::I64AtomicLoad32U { memarg } => {
|
1316
|
-
translate_atomic_load(I64, I32, memarg, builder, state, environ)?
|
1317
|
-
}
|
1318
|
-
|
1319
|
-
Operator::I32AtomicStore { memarg } => {
|
1320
|
-
translate_atomic_store(I32, memarg, builder, state, environ)?
|
1321
|
-
}
|
1322
|
-
Operator::I64AtomicStore { memarg } => {
|
1323
|
-
translate_atomic_store(I64, memarg, builder, state, environ)?
|
1324
|
-
}
|
1325
|
-
Operator::I32AtomicStore8 { memarg } => {
|
1326
|
-
translate_atomic_store(I8, memarg, builder, state, environ)?
|
1327
|
-
}
|
1328
|
-
Operator::I32AtomicStore16 { memarg } => {
|
1329
|
-
translate_atomic_store(I16, memarg, builder, state, environ)?
|
1330
|
-
}
|
1331
|
-
Operator::I64AtomicStore8 { memarg } => {
|
1332
|
-
translate_atomic_store(I8, memarg, builder, state, environ)?
|
1333
|
-
}
|
1334
|
-
Operator::I64AtomicStore16 { memarg } => {
|
1335
|
-
translate_atomic_store(I16, memarg, builder, state, environ)?
|
1336
|
-
}
|
1337
|
-
Operator::I64AtomicStore32 { memarg } => {
|
1338
|
-
translate_atomic_store(I32, memarg, builder, state, environ)?
|
1339
|
-
}
|
1340
|
-
|
1341
|
-
Operator::I32AtomicRmwAdd { memarg } => {
|
1342
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1343
|
-
}
|
1344
|
-
Operator::I64AtomicRmwAdd { memarg } => {
|
1345
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1346
|
-
}
|
1347
|
-
Operator::I32AtomicRmw8AddU { memarg } => {
|
1348
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1349
|
-
}
|
1350
|
-
Operator::I32AtomicRmw16AddU { memarg } => {
|
1351
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1352
|
-
}
|
1353
|
-
Operator::I64AtomicRmw8AddU { memarg } => {
|
1354
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1355
|
-
}
|
1356
|
-
Operator::I64AtomicRmw16AddU { memarg } => {
|
1357
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1358
|
-
}
|
1359
|
-
Operator::I64AtomicRmw32AddU { memarg } => {
|
1360
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::Add, memarg, builder, state, environ)?
|
1361
|
-
}
|
1362
|
-
|
1363
|
-
Operator::I32AtomicRmwSub { memarg } => {
|
1364
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1365
|
-
}
|
1366
|
-
Operator::I64AtomicRmwSub { memarg } => {
|
1367
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1368
|
-
}
|
1369
|
-
Operator::I32AtomicRmw8SubU { memarg } => {
|
1370
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1371
|
-
}
|
1372
|
-
Operator::I32AtomicRmw16SubU { memarg } => {
|
1373
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1374
|
-
}
|
1375
|
-
Operator::I64AtomicRmw8SubU { memarg } => {
|
1376
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1377
|
-
}
|
1378
|
-
Operator::I64AtomicRmw16SubU { memarg } => {
|
1379
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1380
|
-
}
|
1381
|
-
Operator::I64AtomicRmw32SubU { memarg } => {
|
1382
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::Sub, memarg, builder, state, environ)?
|
1383
|
-
}
|
1384
|
-
|
1385
|
-
Operator::I32AtomicRmwAnd { memarg } => {
|
1386
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1387
|
-
}
|
1388
|
-
Operator::I64AtomicRmwAnd { memarg } => {
|
1389
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1390
|
-
}
|
1391
|
-
Operator::I32AtomicRmw8AndU { memarg } => {
|
1392
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1393
|
-
}
|
1394
|
-
Operator::I32AtomicRmw16AndU { memarg } => {
|
1395
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1396
|
-
}
|
1397
|
-
Operator::I64AtomicRmw8AndU { memarg } => {
|
1398
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1399
|
-
}
|
1400
|
-
Operator::I64AtomicRmw16AndU { memarg } => {
|
1401
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1402
|
-
}
|
1403
|
-
Operator::I64AtomicRmw32AndU { memarg } => {
|
1404
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::And, memarg, builder, state, environ)?
|
1405
|
-
}
|
1406
|
-
|
1407
|
-
Operator::I32AtomicRmwOr { memarg } => {
|
1408
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1409
|
-
}
|
1410
|
-
Operator::I64AtomicRmwOr { memarg } => {
|
1411
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1412
|
-
}
|
1413
|
-
Operator::I32AtomicRmw8OrU { memarg } => {
|
1414
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1415
|
-
}
|
1416
|
-
Operator::I32AtomicRmw16OrU { memarg } => {
|
1417
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1418
|
-
}
|
1419
|
-
Operator::I64AtomicRmw8OrU { memarg } => {
|
1420
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1421
|
-
}
|
1422
|
-
Operator::I64AtomicRmw16OrU { memarg } => {
|
1423
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1424
|
-
}
|
1425
|
-
Operator::I64AtomicRmw32OrU { memarg } => {
|
1426
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::Or, memarg, builder, state, environ)?
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
Operator::I32AtomicRmwXor { memarg } => {
|
1430
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1431
|
-
}
|
1432
|
-
Operator::I64AtomicRmwXor { memarg } => {
|
1433
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1434
|
-
}
|
1435
|
-
Operator::I32AtomicRmw8XorU { memarg } => {
|
1436
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1437
|
-
}
|
1438
|
-
Operator::I32AtomicRmw16XorU { memarg } => {
|
1439
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1440
|
-
}
|
1441
|
-
Operator::I64AtomicRmw8XorU { memarg } => {
|
1442
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1443
|
-
}
|
1444
|
-
Operator::I64AtomicRmw16XorU { memarg } => {
|
1445
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1446
|
-
}
|
1447
|
-
Operator::I64AtomicRmw32XorU { memarg } => {
|
1448
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::Xor, memarg, builder, state, environ)?
|
1449
|
-
}
|
1450
|
-
|
1451
|
-
Operator::I32AtomicRmwXchg { memarg } => {
|
1452
|
-
translate_atomic_rmw(I32, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1453
|
-
}
|
1454
|
-
Operator::I64AtomicRmwXchg { memarg } => {
|
1455
|
-
translate_atomic_rmw(I64, I64, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1456
|
-
}
|
1457
|
-
Operator::I32AtomicRmw8XchgU { memarg } => {
|
1458
|
-
translate_atomic_rmw(I32, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1459
|
-
}
|
1460
|
-
Operator::I32AtomicRmw16XchgU { memarg } => {
|
1461
|
-
translate_atomic_rmw(I32, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1462
|
-
}
|
1463
|
-
Operator::I64AtomicRmw8XchgU { memarg } => {
|
1464
|
-
translate_atomic_rmw(I64, I8, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1465
|
-
}
|
1466
|
-
Operator::I64AtomicRmw16XchgU { memarg } => {
|
1467
|
-
translate_atomic_rmw(I64, I16, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1468
|
-
}
|
1469
|
-
Operator::I64AtomicRmw32XchgU { memarg } => {
|
1470
|
-
translate_atomic_rmw(I64, I32, AtomicRmwOp::Xchg, memarg, builder, state, environ)?
|
1471
|
-
}
|
1472
|
-
|
1473
|
-
Operator::I32AtomicRmwCmpxchg { memarg } => {
|
1474
|
-
translate_atomic_cas(I32, I32, memarg, builder, state, environ)?
|
1475
|
-
}
|
1476
|
-
Operator::I64AtomicRmwCmpxchg { memarg } => {
|
1477
|
-
translate_atomic_cas(I64, I64, memarg, builder, state, environ)?
|
1478
|
-
}
|
1479
|
-
Operator::I32AtomicRmw8CmpxchgU { memarg } => {
|
1480
|
-
translate_atomic_cas(I32, I8, memarg, builder, state, environ)?
|
1481
|
-
}
|
1482
|
-
Operator::I32AtomicRmw16CmpxchgU { memarg } => {
|
1483
|
-
translate_atomic_cas(I32, I16, memarg, builder, state, environ)?
|
1484
|
-
}
|
1485
|
-
Operator::I64AtomicRmw8CmpxchgU { memarg } => {
|
1486
|
-
translate_atomic_cas(I64, I8, memarg, builder, state, environ)?
|
1487
|
-
}
|
1488
|
-
Operator::I64AtomicRmw16CmpxchgU { memarg } => {
|
1489
|
-
translate_atomic_cas(I64, I16, memarg, builder, state, environ)?
|
1490
|
-
}
|
1491
|
-
Operator::I64AtomicRmw32CmpxchgU { memarg } => {
|
1492
|
-
translate_atomic_cas(I64, I32, memarg, builder, state, environ)?
|
1493
|
-
}
|
1494
|
-
|
1495
|
-
Operator::AtomicFence { .. } => {
|
1496
|
-
builder.ins().fence();
|
1497
|
-
}
|
1498
|
-
Operator::MemoryCopy { src_mem, dst_mem } => {
|
1499
|
-
let src_index = MemoryIndex::from_u32(*src_mem);
|
1500
|
-
let dst_index = MemoryIndex::from_u32(*dst_mem);
|
1501
|
-
let src_heap = state.get_heap(builder.func, *src_mem, environ)?;
|
1502
|
-
let dst_heap = state.get_heap(builder.func, *dst_mem, environ)?;
|
1503
|
-
let len = state.pop1();
|
1504
|
-
let src_pos = state.pop1();
|
1505
|
-
let dst_pos = state.pop1();
|
1506
|
-
environ.translate_memory_copy(
|
1507
|
-
builder.cursor(),
|
1508
|
-
src_index,
|
1509
|
-
src_heap,
|
1510
|
-
dst_index,
|
1511
|
-
dst_heap,
|
1512
|
-
dst_pos,
|
1513
|
-
src_pos,
|
1514
|
-
len,
|
1515
|
-
)?;
|
1516
|
-
}
|
1517
|
-
Operator::MemoryFill { mem } => {
|
1518
|
-
let heap_index = MemoryIndex::from_u32(*mem);
|
1519
|
-
let heap = state.get_heap(builder.func, *mem, environ)?;
|
1520
|
-
let len = state.pop1();
|
1521
|
-
let val = state.pop1();
|
1522
|
-
let dest = state.pop1();
|
1523
|
-
environ.translate_memory_fill(builder.cursor(), heap_index, heap, dest, val, len)?;
|
1524
|
-
}
|
1525
|
-
Operator::MemoryInit { data_index, mem } => {
|
1526
|
-
let heap_index = MemoryIndex::from_u32(*mem);
|
1527
|
-
let heap = state.get_heap(builder.func, *mem, environ)?;
|
1528
|
-
let len = state.pop1();
|
1529
|
-
let src = state.pop1();
|
1530
|
-
let dest = state.pop1();
|
1531
|
-
environ.translate_memory_init(
|
1532
|
-
builder.cursor(),
|
1533
|
-
heap_index,
|
1534
|
-
heap,
|
1535
|
-
*data_index,
|
1536
|
-
dest,
|
1537
|
-
src,
|
1538
|
-
len,
|
1539
|
-
)?;
|
1540
|
-
}
|
1541
|
-
Operator::DataDrop { data_index } => {
|
1542
|
-
environ.translate_data_drop(builder.cursor(), *data_index)?;
|
1543
|
-
}
|
1544
|
-
Operator::TableSize { table: index } => {
|
1545
|
-
let table = state.get_or_create_table(builder.func, *index, environ)?;
|
1546
|
-
state.push1(environ.translate_table_size(
|
1547
|
-
builder.cursor(),
|
1548
|
-
TableIndex::from_u32(*index),
|
1549
|
-
table,
|
1550
|
-
)?);
|
1551
|
-
}
|
1552
|
-
Operator::TableGrow { table: index } => {
|
1553
|
-
let table_index = TableIndex::from_u32(*index);
|
1554
|
-
let table = state.get_or_create_table(builder.func, *index, environ)?;
|
1555
|
-
let delta = state.pop1();
|
1556
|
-
let init_value = state.pop1();
|
1557
|
-
state.push1(environ.translate_table_grow(
|
1558
|
-
builder.cursor(),
|
1559
|
-
table_index,
|
1560
|
-
table,
|
1561
|
-
delta,
|
1562
|
-
init_value,
|
1563
|
-
)?);
|
1564
|
-
}
|
1565
|
-
Operator::TableGet { table: index } => {
|
1566
|
-
let table_index = TableIndex::from_u32(*index);
|
1567
|
-
let table = state.get_or_create_table(builder.func, *index, environ)?;
|
1568
|
-
let index = state.pop1();
|
1569
|
-
state.push1(environ.translate_table_get(builder, table_index, table, index)?);
|
1570
|
-
}
|
1571
|
-
Operator::TableSet { table: index } => {
|
1572
|
-
let table_index = TableIndex::from_u32(*index);
|
1573
|
-
let table = state.get_or_create_table(builder.func, *index, environ)?;
|
1574
|
-
let value = state.pop1();
|
1575
|
-
let index = state.pop1();
|
1576
|
-
environ.translate_table_set(builder, table_index, table, value, index)?;
|
1577
|
-
}
|
1578
|
-
Operator::TableCopy {
|
1579
|
-
dst_table: dst_table_index,
|
1580
|
-
src_table: src_table_index,
|
1581
|
-
} => {
|
1582
|
-
let dst_table = state.get_or_create_table(builder.func, *dst_table_index, environ)?;
|
1583
|
-
let src_table = state.get_or_create_table(builder.func, *src_table_index, environ)?;
|
1584
|
-
let len = state.pop1();
|
1585
|
-
let src = state.pop1();
|
1586
|
-
let dest = state.pop1();
|
1587
|
-
environ.translate_table_copy(
|
1588
|
-
builder.cursor(),
|
1589
|
-
TableIndex::from_u32(*dst_table_index),
|
1590
|
-
dst_table,
|
1591
|
-
TableIndex::from_u32(*src_table_index),
|
1592
|
-
src_table,
|
1593
|
-
dest,
|
1594
|
-
src,
|
1595
|
-
len,
|
1596
|
-
)?;
|
1597
|
-
}
|
1598
|
-
Operator::TableFill { table } => {
|
1599
|
-
let table_index = TableIndex::from_u32(*table);
|
1600
|
-
let len = state.pop1();
|
1601
|
-
let val = state.pop1();
|
1602
|
-
let dest = state.pop1();
|
1603
|
-
environ.translate_table_fill(builder.cursor(), table_index, dest, val, len)?;
|
1604
|
-
}
|
1605
|
-
Operator::TableInit {
|
1606
|
-
elem_index,
|
1607
|
-
table: table_index,
|
1608
|
-
} => {
|
1609
|
-
let table = state.get_or_create_table(builder.func, *table_index, environ)?;
|
1610
|
-
let len = state.pop1();
|
1611
|
-
let src = state.pop1();
|
1612
|
-
let dest = state.pop1();
|
1613
|
-
environ.translate_table_init(
|
1614
|
-
builder.cursor(),
|
1615
|
-
*elem_index,
|
1616
|
-
TableIndex::from_u32(*table_index),
|
1617
|
-
table,
|
1618
|
-
dest,
|
1619
|
-
src,
|
1620
|
-
len,
|
1621
|
-
)?;
|
1622
|
-
}
|
1623
|
-
Operator::ElemDrop { elem_index } => {
|
1624
|
-
environ.translate_elem_drop(builder.cursor(), *elem_index)?;
|
1625
|
-
}
|
1626
|
-
Operator::V128Const { value } => {
|
1627
|
-
let data = value.bytes().to_vec().into();
|
1628
|
-
let handle = builder.func.dfg.constants.insert(data);
|
1629
|
-
let value = builder.ins().vconst(I8X16, handle);
|
1630
|
-
// the v128.const is typed in CLIF as a I8x16 but bitcast to a different type
|
1631
|
-
// before use
|
1632
|
-
state.push1(value)
|
1633
|
-
}
|
1634
|
-
Operator::I8x16Splat | Operator::I16x8Splat => {
|
1635
|
-
let reduced = builder.ins().ireduce(type_of(op).lane_type(), state.pop1());
|
1636
|
-
let splatted = builder.ins().splat(type_of(op), reduced);
|
1637
|
-
state.push1(splatted)
|
1638
|
-
}
|
1639
|
-
Operator::I32x4Splat
|
1640
|
-
| Operator::I64x2Splat
|
1641
|
-
| Operator::F32x4Splat
|
1642
|
-
| Operator::F64x2Splat => {
|
1643
|
-
let splatted = builder.ins().splat(type_of(op), state.pop1());
|
1644
|
-
state.push1(splatted)
|
1645
|
-
}
|
1646
|
-
Operator::V128Load8Splat { memarg }
|
1647
|
-
| Operator::V128Load16Splat { memarg }
|
1648
|
-
| Operator::V128Load32Splat { memarg }
|
1649
|
-
| Operator::V128Load64Splat { memarg } => {
|
1650
|
-
unwrap_or_return_unreachable_state!(
|
1651
|
-
state,
|
1652
|
-
translate_load(
|
1653
|
-
memarg,
|
1654
|
-
ir::Opcode::Load,
|
1655
|
-
type_of(op).lane_type(),
|
1656
|
-
builder,
|
1657
|
-
state,
|
1658
|
-
environ,
|
1659
|
-
)?
|
1660
|
-
);
|
1661
|
-
let splatted = builder.ins().splat(type_of(op), state.pop1());
|
1662
|
-
state.push1(splatted)
|
1663
|
-
}
|
1664
|
-
Operator::V128Load32Zero { memarg } | Operator::V128Load64Zero { memarg } => {
|
1665
|
-
unwrap_or_return_unreachable_state!(
|
1666
|
-
state,
|
1667
|
-
translate_load(
|
1668
|
-
memarg,
|
1669
|
-
ir::Opcode::Load,
|
1670
|
-
type_of(op).lane_type(),
|
1671
|
-
builder,
|
1672
|
-
state,
|
1673
|
-
environ,
|
1674
|
-
)?
|
1675
|
-
);
|
1676
|
-
let as_vector = builder.ins().scalar_to_vector(type_of(op), state.pop1());
|
1677
|
-
state.push1(as_vector)
|
1678
|
-
}
|
1679
|
-
Operator::V128Load8Lane { memarg, lane }
|
1680
|
-
| Operator::V128Load16Lane { memarg, lane }
|
1681
|
-
| Operator::V128Load32Lane { memarg, lane }
|
1682
|
-
| Operator::V128Load64Lane { memarg, lane } => {
|
1683
|
-
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1684
|
-
unwrap_or_return_unreachable_state!(
|
1685
|
-
state,
|
1686
|
-
translate_load(
|
1687
|
-
memarg,
|
1688
|
-
ir::Opcode::Load,
|
1689
|
-
type_of(op).lane_type(),
|
1690
|
-
builder,
|
1691
|
-
state,
|
1692
|
-
environ,
|
1693
|
-
)?
|
1694
|
-
);
|
1695
|
-
let replacement = state.pop1();
|
1696
|
-
state.push1(builder.ins().insertlane(vector, replacement, *lane))
|
1697
|
-
}
|
1698
|
-
Operator::V128Store8Lane { memarg, lane }
|
1699
|
-
| Operator::V128Store16Lane { memarg, lane }
|
1700
|
-
| Operator::V128Store32Lane { memarg, lane }
|
1701
|
-
| Operator::V128Store64Lane { memarg, lane } => {
|
1702
|
-
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1703
|
-
state.push1(builder.ins().extractlane(vector, lane.clone()));
|
1704
|
-
translate_store(memarg, ir::Opcode::Store, builder, state, environ)?;
|
1705
|
-
}
|
1706
|
-
Operator::I8x16ExtractLaneS { lane } | Operator::I16x8ExtractLaneS { lane } => {
|
1707
|
-
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1708
|
-
let extracted = builder.ins().extractlane(vector, lane.clone());
|
1709
|
-
state.push1(builder.ins().sextend(I32, extracted))
|
1710
|
-
}
|
1711
|
-
Operator::I8x16ExtractLaneU { lane } | Operator::I16x8ExtractLaneU { lane } => {
|
1712
|
-
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1713
|
-
let extracted = builder.ins().extractlane(vector, lane.clone());
|
1714
|
-
state.push1(builder.ins().uextend(I32, extracted));
|
1715
|
-
// On x86, PEXTRB zeroes the upper bits of the destination register of extractlane so
|
1716
|
-
// uextend could be elided; for now, uextend is needed for Cranelift's type checks to
|
1717
|
-
// work.
|
1718
|
-
}
|
1719
|
-
Operator::I32x4ExtractLane { lane }
|
1720
|
-
| Operator::I64x2ExtractLane { lane }
|
1721
|
-
| Operator::F32x4ExtractLane { lane }
|
1722
|
-
| Operator::F64x2ExtractLane { lane } => {
|
1723
|
-
let vector = pop1_with_bitcast(state, type_of(op), builder);
|
1724
|
-
state.push1(builder.ins().extractlane(vector, lane.clone()))
|
1725
|
-
}
|
1726
|
-
Operator::I8x16ReplaceLane { lane } | Operator::I16x8ReplaceLane { lane } => {
|
1727
|
-
let (vector, replacement) = state.pop2();
|
1728
|
-
let ty = type_of(op);
|
1729
|
-
let reduced = builder.ins().ireduce(ty.lane_type(), replacement);
|
1730
|
-
let vector = optionally_bitcast_vector(vector, ty, builder);
|
1731
|
-
state.push1(builder.ins().insertlane(vector, reduced, *lane))
|
1732
|
-
}
|
1733
|
-
Operator::I32x4ReplaceLane { lane }
|
1734
|
-
| Operator::I64x2ReplaceLane { lane }
|
1735
|
-
| Operator::F32x4ReplaceLane { lane }
|
1736
|
-
| Operator::F64x2ReplaceLane { lane } => {
|
1737
|
-
let (vector, replacement) = state.pop2();
|
1738
|
-
let vector = optionally_bitcast_vector(vector, type_of(op), builder);
|
1739
|
-
state.push1(builder.ins().insertlane(vector, replacement, *lane))
|
1740
|
-
}
|
1741
|
-
Operator::I8x16Shuffle { lanes, .. } => {
|
1742
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
1743
|
-
let lanes = ConstantData::from(lanes.as_ref());
|
1744
|
-
let mask = builder.func.dfg.immediates.push(lanes);
|
1745
|
-
let shuffled = builder.ins().shuffle(a, b, mask);
|
1746
|
-
state.push1(shuffled)
|
1747
|
-
// At this point the original types of a and b are lost; users of this value (i.e. this
|
1748
|
-
// WASM-to-CLIF translator) may need to bitcast for type-correctness. This is due
|
1749
|
-
// to WASM using the less specific v128 type for certain operations and more specific
|
1750
|
-
// types (e.g. i8x16) for others.
|
1751
|
-
}
|
1752
|
-
Operator::I8x16Swizzle => {
|
1753
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
1754
|
-
state.push1(builder.ins().swizzle(a, b))
|
1755
|
-
}
|
1756
|
-
Operator::I8x16Add | Operator::I16x8Add | Operator::I32x4Add | Operator::I64x2Add => {
|
1757
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1758
|
-
state.push1(builder.ins().iadd(a, b))
|
1759
|
-
}
|
1760
|
-
Operator::I8x16AddSatS | Operator::I16x8AddSatS => {
|
1761
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1762
|
-
state.push1(builder.ins().sadd_sat(a, b))
|
1763
|
-
}
|
1764
|
-
Operator::I8x16AddSatU | Operator::I16x8AddSatU => {
|
1765
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1766
|
-
state.push1(builder.ins().uadd_sat(a, b))
|
1767
|
-
}
|
1768
|
-
Operator::I8x16Sub | Operator::I16x8Sub | Operator::I32x4Sub | Operator::I64x2Sub => {
|
1769
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1770
|
-
state.push1(builder.ins().isub(a, b))
|
1771
|
-
}
|
1772
|
-
Operator::I8x16SubSatS | Operator::I16x8SubSatS => {
|
1773
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1774
|
-
state.push1(builder.ins().ssub_sat(a, b))
|
1775
|
-
}
|
1776
|
-
Operator::I8x16SubSatU | Operator::I16x8SubSatU => {
|
1777
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1778
|
-
state.push1(builder.ins().usub_sat(a, b))
|
1779
|
-
}
|
1780
|
-
Operator::I8x16MinS | Operator::I16x8MinS | Operator::I32x4MinS => {
|
1781
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1782
|
-
state.push1(builder.ins().smin(a, b))
|
1783
|
-
}
|
1784
|
-
Operator::I8x16MinU | Operator::I16x8MinU | Operator::I32x4MinU => {
|
1785
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1786
|
-
state.push1(builder.ins().umin(a, b))
|
1787
|
-
}
|
1788
|
-
Operator::I8x16MaxS | Operator::I16x8MaxS | Operator::I32x4MaxS => {
|
1789
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1790
|
-
state.push1(builder.ins().smax(a, b))
|
1791
|
-
}
|
1792
|
-
Operator::I8x16MaxU | Operator::I16x8MaxU | Operator::I32x4MaxU => {
|
1793
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1794
|
-
state.push1(builder.ins().umax(a, b))
|
1795
|
-
}
|
1796
|
-
Operator::I8x16AvgrU | Operator::I16x8AvgrU => {
|
1797
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1798
|
-
state.push1(builder.ins().avg_round(a, b))
|
1799
|
-
}
|
1800
|
-
Operator::I8x16Neg | Operator::I16x8Neg | Operator::I32x4Neg | Operator::I64x2Neg => {
|
1801
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1802
|
-
state.push1(builder.ins().ineg(a))
|
1803
|
-
}
|
1804
|
-
Operator::I8x16Abs | Operator::I16x8Abs | Operator::I32x4Abs | Operator::I64x2Abs => {
|
1805
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1806
|
-
state.push1(builder.ins().iabs(a))
|
1807
|
-
}
|
1808
|
-
Operator::I16x8Mul | Operator::I32x4Mul | Operator::I64x2Mul => {
|
1809
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1810
|
-
state.push1(builder.ins().imul(a, b))
|
1811
|
-
}
|
1812
|
-
Operator::V128Or => {
|
1813
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1814
|
-
state.push1(builder.ins().bor(a, b))
|
1815
|
-
}
|
1816
|
-
Operator::V128Xor => {
|
1817
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1818
|
-
state.push1(builder.ins().bxor(a, b))
|
1819
|
-
}
|
1820
|
-
Operator::V128And => {
|
1821
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1822
|
-
state.push1(builder.ins().band(a, b))
|
1823
|
-
}
|
1824
|
-
Operator::V128AndNot => {
|
1825
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1826
|
-
state.push1(builder.ins().band_not(a, b))
|
1827
|
-
}
|
1828
|
-
Operator::V128Not => {
|
1829
|
-
let a = state.pop1();
|
1830
|
-
state.push1(builder.ins().bnot(a));
|
1831
|
-
}
|
1832
|
-
Operator::I8x16Shl | Operator::I16x8Shl | Operator::I32x4Shl | Operator::I64x2Shl => {
|
1833
|
-
let (a, b) = state.pop2();
|
1834
|
-
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1835
|
-
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1836
|
-
// with cranelift's instruction.
|
1837
|
-
state.push1(builder.ins().ishl(bitcast_a, b))
|
1838
|
-
}
|
1839
|
-
Operator::I8x16ShrU | Operator::I16x8ShrU | Operator::I32x4ShrU | Operator::I64x2ShrU => {
|
1840
|
-
let (a, b) = state.pop2();
|
1841
|
-
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1842
|
-
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1843
|
-
// with cranelift's instruction.
|
1844
|
-
state.push1(builder.ins().ushr(bitcast_a, b))
|
1845
|
-
}
|
1846
|
-
Operator::I8x16ShrS | Operator::I16x8ShrS | Operator::I32x4ShrS | Operator::I64x2ShrS => {
|
1847
|
-
let (a, b) = state.pop2();
|
1848
|
-
let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
|
1849
|
-
// The spec expects to shift with `b mod lanewidth`; This is directly compatible
|
1850
|
-
// with cranelift's instruction.
|
1851
|
-
state.push1(builder.ins().sshr(bitcast_a, b))
|
1852
|
-
}
|
1853
|
-
Operator::V128Bitselect => {
|
1854
|
-
let (a, b, c) = pop3_with_bitcast(state, I8X16, builder);
|
1855
|
-
// The CLIF operand ordering is slightly different and the types of all three
|
1856
|
-
// operands must match (hence the bitcast).
|
1857
|
-
state.push1(builder.ins().bitselect(c, a, b))
|
1858
|
-
}
|
1859
|
-
Operator::V128AnyTrue => {
|
1860
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1861
|
-
let bool_result = builder.ins().vany_true(a);
|
1862
|
-
state.push1(builder.ins().uextend(I32, bool_result))
|
1863
|
-
}
|
1864
|
-
Operator::I8x16AllTrue
|
1865
|
-
| Operator::I16x8AllTrue
|
1866
|
-
| Operator::I32x4AllTrue
|
1867
|
-
| Operator::I64x2AllTrue => {
|
1868
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1869
|
-
let bool_result = builder.ins().vall_true(a);
|
1870
|
-
state.push1(builder.ins().uextend(I32, bool_result))
|
1871
|
-
}
|
1872
|
-
Operator::I8x16Bitmask
|
1873
|
-
| Operator::I16x8Bitmask
|
1874
|
-
| Operator::I32x4Bitmask
|
1875
|
-
| Operator::I64x2Bitmask => {
|
1876
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1877
|
-
state.push1(builder.ins().vhigh_bits(I32, a));
|
1878
|
-
}
|
1879
|
-
Operator::I8x16Eq | Operator::I16x8Eq | Operator::I32x4Eq | Operator::I64x2Eq => {
|
1880
|
-
translate_vector_icmp(IntCC::Equal, type_of(op), builder, state)
|
1881
|
-
}
|
1882
|
-
Operator::I8x16Ne | Operator::I16x8Ne | Operator::I32x4Ne | Operator::I64x2Ne => {
|
1883
|
-
translate_vector_icmp(IntCC::NotEqual, type_of(op), builder, state)
|
1884
|
-
}
|
1885
|
-
Operator::I8x16GtS | Operator::I16x8GtS | Operator::I32x4GtS | Operator::I64x2GtS => {
|
1886
|
-
translate_vector_icmp(IntCC::SignedGreaterThan, type_of(op), builder, state)
|
1887
|
-
}
|
1888
|
-
Operator::I8x16LtS | Operator::I16x8LtS | Operator::I32x4LtS | Operator::I64x2LtS => {
|
1889
|
-
translate_vector_icmp(IntCC::SignedLessThan, type_of(op), builder, state)
|
1890
|
-
}
|
1891
|
-
Operator::I8x16GtU | Operator::I16x8GtU | Operator::I32x4GtU => {
|
1892
|
-
translate_vector_icmp(IntCC::UnsignedGreaterThan, type_of(op), builder, state)
|
1893
|
-
}
|
1894
|
-
Operator::I8x16LtU | Operator::I16x8LtU | Operator::I32x4LtU => {
|
1895
|
-
translate_vector_icmp(IntCC::UnsignedLessThan, type_of(op), builder, state)
|
1896
|
-
}
|
1897
|
-
Operator::I8x16GeS | Operator::I16x8GeS | Operator::I32x4GeS | Operator::I64x2GeS => {
|
1898
|
-
translate_vector_icmp(IntCC::SignedGreaterThanOrEqual, type_of(op), builder, state)
|
1899
|
-
}
|
1900
|
-
Operator::I8x16LeS | Operator::I16x8LeS | Operator::I32x4LeS | Operator::I64x2LeS => {
|
1901
|
-
translate_vector_icmp(IntCC::SignedLessThanOrEqual, type_of(op), builder, state)
|
1902
|
-
}
|
1903
|
-
Operator::I8x16GeU | Operator::I16x8GeU | Operator::I32x4GeU => translate_vector_icmp(
|
1904
|
-
IntCC::UnsignedGreaterThanOrEqual,
|
1905
|
-
type_of(op),
|
1906
|
-
builder,
|
1907
|
-
state,
|
1908
|
-
),
|
1909
|
-
Operator::I8x16LeU | Operator::I16x8LeU | Operator::I32x4LeU => {
|
1910
|
-
translate_vector_icmp(IntCC::UnsignedLessThanOrEqual, type_of(op), builder, state)
|
1911
|
-
}
|
1912
|
-
Operator::F32x4Eq | Operator::F64x2Eq => {
|
1913
|
-
translate_vector_fcmp(FloatCC::Equal, type_of(op), builder, state)
|
1914
|
-
}
|
1915
|
-
Operator::F32x4Ne | Operator::F64x2Ne => {
|
1916
|
-
translate_vector_fcmp(FloatCC::NotEqual, type_of(op), builder, state)
|
1917
|
-
}
|
1918
|
-
Operator::F32x4Lt | Operator::F64x2Lt => {
|
1919
|
-
translate_vector_fcmp(FloatCC::LessThan, type_of(op), builder, state)
|
1920
|
-
}
|
1921
|
-
Operator::F32x4Gt | Operator::F64x2Gt => {
|
1922
|
-
translate_vector_fcmp(FloatCC::GreaterThan, type_of(op), builder, state)
|
1923
|
-
}
|
1924
|
-
Operator::F32x4Le | Operator::F64x2Le => {
|
1925
|
-
translate_vector_fcmp(FloatCC::LessThanOrEqual, type_of(op), builder, state)
|
1926
|
-
}
|
1927
|
-
Operator::F32x4Ge | Operator::F64x2Ge => {
|
1928
|
-
translate_vector_fcmp(FloatCC::GreaterThanOrEqual, type_of(op), builder, state)
|
1929
|
-
}
|
1930
|
-
Operator::F32x4Add | Operator::F64x2Add => {
|
1931
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1932
|
-
state.push1(builder.ins().fadd(a, b))
|
1933
|
-
}
|
1934
|
-
Operator::F32x4Sub | Operator::F64x2Sub => {
|
1935
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1936
|
-
state.push1(builder.ins().fsub(a, b))
|
1937
|
-
}
|
1938
|
-
Operator::F32x4Mul | Operator::F64x2Mul => {
|
1939
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1940
|
-
state.push1(builder.ins().fmul(a, b))
|
1941
|
-
}
|
1942
|
-
Operator::F32x4Div | Operator::F64x2Div => {
|
1943
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1944
|
-
state.push1(builder.ins().fdiv(a, b))
|
1945
|
-
}
|
1946
|
-
Operator::F32x4Max | Operator::F64x2Max => {
|
1947
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1948
|
-
state.push1(builder.ins().fmax(a, b))
|
1949
|
-
}
|
1950
|
-
Operator::F32x4Min | Operator::F64x2Min => {
|
1951
|
-
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
1952
|
-
state.push1(builder.ins().fmin(a, b))
|
1953
|
-
}
|
1954
|
-
Operator::F32x4PMax | Operator::F64x2PMax => {
|
1955
|
-
// Note the careful ordering here with respect to `fcmp` and
|
1956
|
-
// `bitselect`. This matches the spec definition of:
|
1957
|
-
//
|
1958
|
-
// fpmax(z1, z2) =
|
1959
|
-
// * If z1 is less than z2 then return z2.
|
1960
|
-
// * Else return z1.
|
1961
|
-
let ty = type_of(op);
|
1962
|
-
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
1963
|
-
let cmp = builder.ins().fcmp(FloatCC::LessThan, a, b);
|
1964
|
-
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
1965
|
-
state.push1(builder.ins().bitselect(cmp, b, a))
|
1966
|
-
}
|
1967
|
-
Operator::F32x4PMin | Operator::F64x2PMin => {
|
1968
|
-
// Note the careful ordering here which is similar to `pmax` above:
|
1969
|
-
//
|
1970
|
-
// fpmin(z1, z2) =
|
1971
|
-
// * If z2 is less than z1 then return z2.
|
1972
|
-
// * Else return z1.
|
1973
|
-
let ty = type_of(op);
|
1974
|
-
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
1975
|
-
let cmp = builder.ins().fcmp(FloatCC::LessThan, b, a);
|
1976
|
-
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
1977
|
-
state.push1(builder.ins().bitselect(cmp, b, a))
|
1978
|
-
}
|
1979
|
-
Operator::F32x4Sqrt | Operator::F64x2Sqrt => {
|
1980
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1981
|
-
state.push1(builder.ins().sqrt(a))
|
1982
|
-
}
|
1983
|
-
Operator::F32x4Neg | Operator::F64x2Neg => {
|
1984
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1985
|
-
state.push1(builder.ins().fneg(a))
|
1986
|
-
}
|
1987
|
-
Operator::F32x4Abs | Operator::F64x2Abs => {
|
1988
|
-
let a = pop1_with_bitcast(state, type_of(op), builder);
|
1989
|
-
state.push1(builder.ins().fabs(a))
|
1990
|
-
}
|
1991
|
-
Operator::F32x4ConvertI32x4S => {
|
1992
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
1993
|
-
state.push1(builder.ins().fcvt_from_sint(F32X4, a))
|
1994
|
-
}
|
1995
|
-
Operator::F32x4ConvertI32x4U => {
|
1996
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
1997
|
-
state.push1(builder.ins().fcvt_from_uint(F32X4, a))
|
1998
|
-
}
|
1999
|
-
Operator::F64x2ConvertLowI32x4S => {
|
2000
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2001
|
-
let widened_a = builder.ins().swiden_low(a);
|
2002
|
-
state.push1(builder.ins().fcvt_from_sint(F64X2, widened_a));
|
2003
|
-
}
|
2004
|
-
Operator::F64x2ConvertLowI32x4U => {
|
2005
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2006
|
-
let widened_a = builder.ins().uwiden_low(a);
|
2007
|
-
state.push1(builder.ins().fcvt_from_uint(F64X2, widened_a));
|
2008
|
-
}
|
2009
|
-
Operator::F64x2PromoteLowF32x4 => {
|
2010
|
-
let a = pop1_with_bitcast(state, F32X4, builder);
|
2011
|
-
state.push1(builder.ins().fvpromote_low(a));
|
2012
|
-
}
|
2013
|
-
Operator::F32x4DemoteF64x2Zero => {
|
2014
|
-
let a = pop1_with_bitcast(state, F64X2, builder);
|
2015
|
-
state.push1(builder.ins().fvdemote(a));
|
2016
|
-
}
|
2017
|
-
Operator::I32x4TruncSatF32x4S => {
|
2018
|
-
let a = pop1_with_bitcast(state, F32X4, builder);
|
2019
|
-
state.push1(builder.ins().fcvt_to_sint_sat(I32X4, a))
|
2020
|
-
}
|
2021
|
-
Operator::I32x4TruncSatF64x2SZero => {
|
2022
|
-
let a = pop1_with_bitcast(state, F64X2, builder);
|
2023
|
-
let converted_a = builder.ins().fcvt_to_sint_sat(I64X2, a);
|
2024
|
-
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2025
|
-
let zero = builder.ins().vconst(I64X2, handle);
|
2026
|
-
|
2027
|
-
state.push1(builder.ins().snarrow(converted_a, zero));
|
2028
|
-
}
|
2029
|
-
|
2030
|
-
// FIXME(#5913): the relaxed instructions here are translated the same
|
2031
|
-
// as the saturating instructions, even when the code generator
|
2032
|
-
// configuration allow for different semantics across hosts. On x86,
|
2033
|
-
// however, it's theoretically possible to have a slightly more optimal
|
2034
|
-
// lowering which accounts for NaN differently, although the lowering is
|
2035
|
-
// still not trivial (e.g. one instruction). At this time the
|
2036
|
-
// more-optimal-but-still-large lowering for x86 is not implemented so
|
2037
|
-
// the relaxed instructions are listed here instead of down below with
|
2038
|
-
// the other relaxed instructions. An x86-specific implementation (or
|
2039
|
-
// perhaps for other backends too) should be added and the codegen for
|
2040
|
-
// the relaxed instruction should conditionally be different.
|
2041
|
-
Operator::I32x4RelaxedTruncF32x4U | Operator::I32x4TruncSatF32x4U => {
|
2042
|
-
let a = pop1_with_bitcast(state, F32X4, builder);
|
2043
|
-
state.push1(builder.ins().fcvt_to_uint_sat(I32X4, a))
|
2044
|
-
}
|
2045
|
-
Operator::I32x4RelaxedTruncF64x2UZero | Operator::I32x4TruncSatF64x2UZero => {
|
2046
|
-
let a = pop1_with_bitcast(state, F64X2, builder);
|
2047
|
-
let converted_a = builder.ins().fcvt_to_uint_sat(I64X2, a);
|
2048
|
-
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2049
|
-
let zero = builder.ins().vconst(I64X2, handle);
|
2050
|
-
|
2051
|
-
state.push1(builder.ins().uunarrow(converted_a, zero));
|
2052
|
-
}
|
2053
|
-
|
2054
|
-
Operator::I8x16NarrowI16x8S => {
|
2055
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2056
|
-
state.push1(builder.ins().snarrow(a, b))
|
2057
|
-
}
|
2058
|
-
Operator::I16x8NarrowI32x4S => {
|
2059
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2060
|
-
state.push1(builder.ins().snarrow(a, b))
|
2061
|
-
}
|
2062
|
-
Operator::I8x16NarrowI16x8U => {
|
2063
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2064
|
-
state.push1(builder.ins().unarrow(a, b))
|
2065
|
-
}
|
2066
|
-
Operator::I16x8NarrowI32x4U => {
|
2067
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2068
|
-
state.push1(builder.ins().unarrow(a, b))
|
2069
|
-
}
|
2070
|
-
Operator::I16x8ExtendLowI8x16S => {
|
2071
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2072
|
-
state.push1(builder.ins().swiden_low(a))
|
2073
|
-
}
|
2074
|
-
Operator::I16x8ExtendHighI8x16S => {
|
2075
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2076
|
-
state.push1(builder.ins().swiden_high(a))
|
2077
|
-
}
|
2078
|
-
Operator::I16x8ExtendLowI8x16U => {
|
2079
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2080
|
-
state.push1(builder.ins().uwiden_low(a))
|
2081
|
-
}
|
2082
|
-
Operator::I16x8ExtendHighI8x16U => {
|
2083
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2084
|
-
state.push1(builder.ins().uwiden_high(a))
|
2085
|
-
}
|
2086
|
-
Operator::I32x4ExtendLowI16x8S => {
|
2087
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2088
|
-
state.push1(builder.ins().swiden_low(a))
|
2089
|
-
}
|
2090
|
-
Operator::I32x4ExtendHighI16x8S => {
|
2091
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2092
|
-
state.push1(builder.ins().swiden_high(a))
|
2093
|
-
}
|
2094
|
-
Operator::I32x4ExtendLowI16x8U => {
|
2095
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2096
|
-
state.push1(builder.ins().uwiden_low(a))
|
2097
|
-
}
|
2098
|
-
Operator::I32x4ExtendHighI16x8U => {
|
2099
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2100
|
-
state.push1(builder.ins().uwiden_high(a))
|
2101
|
-
}
|
2102
|
-
Operator::I64x2ExtendLowI32x4S => {
|
2103
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2104
|
-
state.push1(builder.ins().swiden_low(a))
|
2105
|
-
}
|
2106
|
-
Operator::I64x2ExtendHighI32x4S => {
|
2107
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2108
|
-
state.push1(builder.ins().swiden_high(a))
|
2109
|
-
}
|
2110
|
-
Operator::I64x2ExtendLowI32x4U => {
|
2111
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2112
|
-
state.push1(builder.ins().uwiden_low(a))
|
2113
|
-
}
|
2114
|
-
Operator::I64x2ExtendHighI32x4U => {
|
2115
|
-
let a = pop1_with_bitcast(state, I32X4, builder);
|
2116
|
-
state.push1(builder.ins().uwiden_high(a))
|
2117
|
-
}
|
2118
|
-
Operator::I16x8ExtAddPairwiseI8x16S => {
|
2119
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2120
|
-
let widen_low = builder.ins().swiden_low(a);
|
2121
|
-
let widen_high = builder.ins().swiden_high(a);
|
2122
|
-
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2123
|
-
}
|
2124
|
-
Operator::I32x4ExtAddPairwiseI16x8S => {
|
2125
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2126
|
-
let widen_low = builder.ins().swiden_low(a);
|
2127
|
-
let widen_high = builder.ins().swiden_high(a);
|
2128
|
-
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2129
|
-
}
|
2130
|
-
Operator::I16x8ExtAddPairwiseI8x16U => {
|
2131
|
-
let a = pop1_with_bitcast(state, I8X16, builder);
|
2132
|
-
let widen_low = builder.ins().uwiden_low(a);
|
2133
|
-
let widen_high = builder.ins().uwiden_high(a);
|
2134
|
-
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2135
|
-
}
|
2136
|
-
Operator::I32x4ExtAddPairwiseI16x8U => {
|
2137
|
-
let a = pop1_with_bitcast(state, I16X8, builder);
|
2138
|
-
let widen_low = builder.ins().uwiden_low(a);
|
2139
|
-
let widen_high = builder.ins().uwiden_high(a);
|
2140
|
-
state.push1(builder.ins().iadd_pairwise(widen_low, widen_high));
|
2141
|
-
}
|
2142
|
-
Operator::F32x4Ceil | Operator::F64x2Ceil => {
|
2143
|
-
// This is something of a misuse of `type_of`, because that produces the return type
|
2144
|
-
// of `op`. In this case we want the arg type, but we know it's the same as the
|
2145
|
-
// return type. Same for the 3 cases below.
|
2146
|
-
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2147
|
-
state.push1(builder.ins().ceil(arg));
|
2148
|
-
}
|
2149
|
-
Operator::F32x4Floor | Operator::F64x2Floor => {
|
2150
|
-
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2151
|
-
state.push1(builder.ins().floor(arg));
|
2152
|
-
}
|
2153
|
-
Operator::F32x4Trunc | Operator::F64x2Trunc => {
|
2154
|
-
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2155
|
-
state.push1(builder.ins().trunc(arg));
|
2156
|
-
}
|
2157
|
-
Operator::F32x4Nearest | Operator::F64x2Nearest => {
|
2158
|
-
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2159
|
-
state.push1(builder.ins().nearest(arg));
|
2160
|
-
}
|
2161
|
-
Operator::I32x4DotI16x8S => {
|
2162
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2163
|
-
let alow = builder.ins().swiden_low(a);
|
2164
|
-
let blow = builder.ins().swiden_low(b);
|
2165
|
-
let low = builder.ins().imul(alow, blow);
|
2166
|
-
let ahigh = builder.ins().swiden_high(a);
|
2167
|
-
let bhigh = builder.ins().swiden_high(b);
|
2168
|
-
let high = builder.ins().imul(ahigh, bhigh);
|
2169
|
-
state.push1(builder.ins().iadd_pairwise(low, high));
|
2170
|
-
}
|
2171
|
-
Operator::I8x16Popcnt => {
|
2172
|
-
let arg = pop1_with_bitcast(state, type_of(op), builder);
|
2173
|
-
state.push1(builder.ins().popcnt(arg));
|
2174
|
-
}
|
2175
|
-
Operator::I16x8Q15MulrSatS => {
|
2176
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2177
|
-
state.push1(builder.ins().sqmul_round_sat(a, b))
|
2178
|
-
}
|
2179
|
-
Operator::I16x8ExtMulLowI8x16S => {
|
2180
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2181
|
-
let a_low = builder.ins().swiden_low(a);
|
2182
|
-
let b_low = builder.ins().swiden_low(b);
|
2183
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2184
|
-
}
|
2185
|
-
Operator::I16x8ExtMulHighI8x16S => {
|
2186
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2187
|
-
let a_high = builder.ins().swiden_high(a);
|
2188
|
-
let b_high = builder.ins().swiden_high(b);
|
2189
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2190
|
-
}
|
2191
|
-
Operator::I16x8ExtMulLowI8x16U => {
|
2192
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2193
|
-
let a_low = builder.ins().uwiden_low(a);
|
2194
|
-
let b_low = builder.ins().uwiden_low(b);
|
2195
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2196
|
-
}
|
2197
|
-
Operator::I16x8ExtMulHighI8x16U => {
|
2198
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2199
|
-
let a_high = builder.ins().uwiden_high(a);
|
2200
|
-
let b_high = builder.ins().uwiden_high(b);
|
2201
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2202
|
-
}
|
2203
|
-
Operator::I32x4ExtMulLowI16x8S => {
|
2204
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2205
|
-
let a_low = builder.ins().swiden_low(a);
|
2206
|
-
let b_low = builder.ins().swiden_low(b);
|
2207
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2208
|
-
}
|
2209
|
-
Operator::I32x4ExtMulHighI16x8S => {
|
2210
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2211
|
-
let a_high = builder.ins().swiden_high(a);
|
2212
|
-
let b_high = builder.ins().swiden_high(b);
|
2213
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2214
|
-
}
|
2215
|
-
Operator::I32x4ExtMulLowI16x8U => {
|
2216
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2217
|
-
let a_low = builder.ins().uwiden_low(a);
|
2218
|
-
let b_low = builder.ins().uwiden_low(b);
|
2219
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2220
|
-
}
|
2221
|
-
Operator::I32x4ExtMulHighI16x8U => {
|
2222
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2223
|
-
let a_high = builder.ins().uwiden_high(a);
|
2224
|
-
let b_high = builder.ins().uwiden_high(b);
|
2225
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2226
|
-
}
|
2227
|
-
Operator::I64x2ExtMulLowI32x4S => {
|
2228
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2229
|
-
let a_low = builder.ins().swiden_low(a);
|
2230
|
-
let b_low = builder.ins().swiden_low(b);
|
2231
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2232
|
-
}
|
2233
|
-
Operator::I64x2ExtMulHighI32x4S => {
|
2234
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2235
|
-
let a_high = builder.ins().swiden_high(a);
|
2236
|
-
let b_high = builder.ins().swiden_high(b);
|
2237
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2238
|
-
}
|
2239
|
-
Operator::I64x2ExtMulLowI32x4U => {
|
2240
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2241
|
-
let a_low = builder.ins().uwiden_low(a);
|
2242
|
-
let b_low = builder.ins().uwiden_low(b);
|
2243
|
-
state.push1(builder.ins().imul(a_low, b_low));
|
2244
|
-
}
|
2245
|
-
Operator::I64x2ExtMulHighI32x4U => {
|
2246
|
-
let (a, b) = pop2_with_bitcast(state, I32X4, builder);
|
2247
|
-
let a_high = builder.ins().uwiden_high(a);
|
2248
|
-
let b_high = builder.ins().uwiden_high(b);
|
2249
|
-
state.push1(builder.ins().imul(a_high, b_high));
|
2250
|
-
}
|
2251
|
-
Operator::MemoryDiscard { .. } => {
|
2252
|
-
return Err(wasm_unsupported!(
|
2253
|
-
"proposed memory-control operator {:?}",
|
2254
|
-
op
|
2255
|
-
));
|
2256
|
-
}
|
2257
|
-
|
2258
|
-
Operator::F32x4RelaxedMax | Operator::F64x2RelaxedMax => {
|
2259
|
-
let ty = type_of(op);
|
2260
|
-
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
2261
|
-
state.push1(
|
2262
|
-
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2263
|
-
// Deterministic semantics match the `fmax` instruction, or
|
2264
|
-
// the `fAAxBB.max` wasm instruction.
|
2265
|
-
builder.ins().fmax(a, b)
|
2266
|
-
} else {
|
2267
|
-
// Note that this matches the `pmax` translation which has
|
2268
|
-
// careful ordering of its operands to trigger
|
2269
|
-
// pattern-matches in the x86 backend.
|
2270
|
-
let cmp = builder.ins().fcmp(FloatCC::LessThan, a, b);
|
2271
|
-
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
2272
|
-
builder.ins().bitselect(cmp, b, a)
|
2273
|
-
},
|
2274
|
-
)
|
2275
|
-
}
|
2276
|
-
|
2277
|
-
Operator::F32x4RelaxedMin | Operator::F64x2RelaxedMin => {
|
2278
|
-
let ty = type_of(op);
|
2279
|
-
let (a, b) = pop2_with_bitcast(state, ty, builder);
|
2280
|
-
state.push1(
|
2281
|
-
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2282
|
-
// Deterministic semantics match the `fmin` instruction, or
|
2283
|
-
// the `fAAxBB.min` wasm instruction.
|
2284
|
-
builder.ins().fmin(a, b)
|
2285
|
-
} else {
|
2286
|
-
// Note that this matches the `pmin` translation which has
|
2287
|
-
// careful ordering of its operands to trigger
|
2288
|
-
// pattern-matches in the x86 backend.
|
2289
|
-
let cmp = builder.ins().fcmp(FloatCC::LessThan, b, a);
|
2290
|
-
let cmp = optionally_bitcast_vector(cmp, ty, builder);
|
2291
|
-
builder.ins().bitselect(cmp, b, a)
|
2292
|
-
},
|
2293
|
-
);
|
2294
|
-
}
|
2295
|
-
|
2296
|
-
Operator::I8x16RelaxedSwizzle => {
|
2297
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2298
|
-
state.push1(
|
2299
|
-
if environ.relaxed_simd_deterministic()
|
2300
|
-
|| !environ.use_x86_pshufb_for_relaxed_swizzle()
|
2301
|
-
{
|
2302
|
-
// Deterministic semantics match the `i8x16.swizzle`
|
2303
|
-
// instruction which is the CLIF `swizzle`.
|
2304
|
-
builder.ins().swizzle(a, b)
|
2305
|
-
} else {
|
2306
|
-
builder.ins().x86_pshufb(a, b)
|
2307
|
-
},
|
2308
|
-
);
|
2309
|
-
}
|
2310
|
-
|
2311
|
-
Operator::F32x4RelaxedMadd | Operator::F64x2RelaxedMadd => {
|
2312
|
-
let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
|
2313
|
-
state.push1(
|
2314
|
-
if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
|
2315
|
-
// Deterministic semantics are "fused multiply and add"
|
2316
|
-
// which the CLIF `fma` guarantees.
|
2317
|
-
builder.ins().fma(a, b, c)
|
2318
|
-
} else {
|
2319
|
-
let mul = builder.ins().fmul(a, b);
|
2320
|
-
builder.ins().fadd(mul, c)
|
2321
|
-
},
|
2322
|
-
);
|
2323
|
-
}
|
2324
|
-
Operator::F32x4RelaxedNmadd | Operator::F64x2RelaxedNmadd => {
|
2325
|
-
let (a, b, c) = pop3_with_bitcast(state, type_of(op), builder);
|
2326
|
-
let a = builder.ins().fneg(a);
|
2327
|
-
state.push1(
|
2328
|
-
if environ.relaxed_simd_deterministic() || environ.has_native_fma() {
|
2329
|
-
// Deterministic semantics are "fused multiply and add"
|
2330
|
-
// which the CLIF `fma` guarantees.
|
2331
|
-
builder.ins().fma(a, b, c)
|
2332
|
-
} else {
|
2333
|
-
let mul = builder.ins().fmul(a, b);
|
2334
|
-
builder.ins().fadd(mul, c)
|
2335
|
-
},
|
2336
|
-
);
|
2337
|
-
}
|
2338
|
-
|
2339
|
-
Operator::I8x16RelaxedLaneselect
|
2340
|
-
| Operator::I16x8RelaxedLaneselect
|
2341
|
-
| Operator::I32x4RelaxedLaneselect
|
2342
|
-
| Operator::I64x2RelaxedLaneselect => {
|
2343
|
-
let ty = type_of(op);
|
2344
|
-
let (a, b, c) = pop3_with_bitcast(state, ty, builder);
|
2345
|
-
// Note that the variable swaps here are intentional due to
|
2346
|
-
// the difference of the order of the wasm op and the clif
|
2347
|
-
// op.
|
2348
|
-
state.push1(
|
2349
|
-
if environ.relaxed_simd_deterministic()
|
2350
|
-
|| !environ.use_x86_blendv_for_relaxed_laneselect(ty)
|
2351
|
-
{
|
2352
|
-
// Deterministic semantics are a `bitselect` along the lines
|
2353
|
-
// of the wasm `v128.bitselect` instruction.
|
2354
|
-
builder.ins().bitselect(c, a, b)
|
2355
|
-
} else {
|
2356
|
-
builder.ins().x86_blendv(c, a, b)
|
2357
|
-
},
|
2358
|
-
);
|
2359
|
-
}
|
2360
|
-
|
2361
|
-
Operator::I32x4RelaxedTruncF32x4S => {
|
2362
|
-
let a = pop1_with_bitcast(state, F32X4, builder);
|
2363
|
-
state.push1(
|
2364
|
-
if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2365
|
-
// Deterministic semantics are to match the
|
2366
|
-
// `i32x4.trunc_sat_f32x4_s` instruction.
|
2367
|
-
builder.ins().fcvt_to_sint_sat(I32X4, a)
|
2368
|
-
} else {
|
2369
|
-
builder.ins().x86_cvtt2dq(I32X4, a)
|
2370
|
-
},
|
2371
|
-
)
|
2372
|
-
}
|
2373
|
-
Operator::I32x4RelaxedTruncF64x2SZero => {
|
2374
|
-
let a = pop1_with_bitcast(state, F64X2, builder);
|
2375
|
-
let converted_a = if environ.relaxed_simd_deterministic() || !environ.is_x86() {
|
2376
|
-
// Deterministic semantics are to match the
|
2377
|
-
// `i32x4.trunc_sat_f64x2_s_zero` instruction.
|
2378
|
-
builder.ins().fcvt_to_sint_sat(I64X2, a)
|
2379
|
-
} else {
|
2380
|
-
builder.ins().x86_cvtt2dq(I64X2, a)
|
2381
|
-
};
|
2382
|
-
let handle = builder.func.dfg.constants.insert(vec![0u8; 16].into());
|
2383
|
-
let zero = builder.ins().vconst(I64X2, handle);
|
2384
|
-
|
2385
|
-
state.push1(builder.ins().snarrow(converted_a, zero));
|
2386
|
-
}
|
2387
|
-
Operator::I16x8RelaxedQ15mulrS => {
|
2388
|
-
let (a, b) = pop2_with_bitcast(state, I16X8, builder);
|
2389
|
-
state.push1(
|
2390
|
-
if environ.relaxed_simd_deterministic()
|
2391
|
-
|| !environ.use_x86_pmulhrsw_for_relaxed_q15mul()
|
2392
|
-
{
|
2393
|
-
// Deterministic semantics are to match the
|
2394
|
-
// `i16x8.q15mulr_sat_s` instruction.
|
2395
|
-
builder.ins().sqmul_round_sat(a, b)
|
2396
|
-
} else {
|
2397
|
-
builder.ins().x86_pmulhrsw(a, b)
|
2398
|
-
},
|
2399
|
-
);
|
2400
|
-
}
|
2401
|
-
Operator::I16x8RelaxedDotI8x16I7x16S => {
|
2402
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2403
|
-
state.push1(
|
2404
|
-
if environ.relaxed_simd_deterministic() || !environ.use_x86_pmaddubsw_for_dot() {
|
2405
|
-
// Deterministic semantics are to treat both operands as
|
2406
|
-
// signed integers and perform the dot product.
|
2407
|
-
let alo = builder.ins().swiden_low(a);
|
2408
|
-
let blo = builder.ins().swiden_low(b);
|
2409
|
-
let lo = builder.ins().imul(alo, blo);
|
2410
|
-
let ahi = builder.ins().swiden_high(a);
|
2411
|
-
let bhi = builder.ins().swiden_high(b);
|
2412
|
-
let hi = builder.ins().imul(ahi, bhi);
|
2413
|
-
builder.ins().iadd_pairwise(lo, hi)
|
2414
|
-
} else {
|
2415
|
-
builder.ins().x86_pmaddubsw(a, b)
|
2416
|
-
},
|
2417
|
-
);
|
2418
|
-
}
|
2419
|
-
|
2420
|
-
Operator::I32x4RelaxedDotI8x16I7x16AddS => {
|
2421
|
-
let c = pop1_with_bitcast(state, I32X4, builder);
|
2422
|
-
let (a, b) = pop2_with_bitcast(state, I8X16, builder);
|
2423
|
-
let dot =
|
2424
|
-
if environ.relaxed_simd_deterministic() || !environ.use_x86_pmaddubsw_for_dot() {
|
2425
|
-
// Deterministic semantics are to treat both operands as
|
2426
|
-
// signed integers and perform the dot product.
|
2427
|
-
let alo = builder.ins().swiden_low(a);
|
2428
|
-
let blo = builder.ins().swiden_low(b);
|
2429
|
-
let lo = builder.ins().imul(alo, blo);
|
2430
|
-
let ahi = builder.ins().swiden_high(a);
|
2431
|
-
let bhi = builder.ins().swiden_high(b);
|
2432
|
-
let hi = builder.ins().imul(ahi, bhi);
|
2433
|
-
builder.ins().iadd_pairwise(lo, hi)
|
2434
|
-
} else {
|
2435
|
-
builder.ins().x86_pmaddubsw(a, b)
|
2436
|
-
};
|
2437
|
-
let dotlo = builder.ins().swiden_low(dot);
|
2438
|
-
let dothi = builder.ins().swiden_high(dot);
|
2439
|
-
let dot32 = builder.ins().iadd_pairwise(dotlo, dothi);
|
2440
|
-
state.push1(builder.ins().iadd(dot32, c));
|
2441
|
-
}
|
2442
|
-
|
2443
|
-
Operator::BrOnNull { relative_depth } => {
|
2444
|
-
let r = state.pop1();
|
2445
|
-
let (br_destination, inputs) = translate_br_if_args(*relative_depth, state);
|
2446
|
-
let is_null = environ.translate_ref_is_null(builder.cursor(), r)?;
|
2447
|
-
let else_block = builder.create_block();
|
2448
|
-
canonicalise_brif(builder, is_null, br_destination, inputs, else_block, &[]);
|
2449
|
-
|
2450
|
-
builder.seal_block(else_block); // The only predecessor is the current block.
|
2451
|
-
builder.switch_to_block(else_block);
|
2452
|
-
state.push1(r);
|
2453
|
-
}
|
2454
|
-
Operator::BrOnNonNull { relative_depth } => {
|
2455
|
-
// We write this a bit differently from the spec to avoid an extra
|
2456
|
-
// block/branch and the typed accounting thereof. Instead of the
|
2457
|
-
// spec's approach, it's described as such:
|
2458
|
-
// Peek the value val from the stack.
|
2459
|
-
// If val is ref.null ht, then: pop the value val from the stack.
|
2460
|
-
// Else: Execute the instruction (br relative_depth).
|
2461
|
-
let is_null = environ.translate_ref_is_null(builder.cursor(), state.peek1())?;
|
2462
|
-
let (br_destination, inputs) = translate_br_if_args(*relative_depth, state);
|
2463
|
-
let else_block = builder.create_block();
|
2464
|
-
canonicalise_brif(builder, is_null, else_block, &[], br_destination, inputs);
|
2465
|
-
|
2466
|
-
// In the null case, pop the ref
|
2467
|
-
state.pop1();
|
2468
|
-
|
2469
|
-
builder.seal_block(else_block); // The only predecessor is the current block.
|
2470
|
-
|
2471
|
-
// The rest of the translation operates on our is null case, which is
|
2472
|
-
// currently an empty block
|
2473
|
-
builder.switch_to_block(else_block);
|
2474
|
-
}
|
2475
|
-
Operator::CallRef { type_index } => {
|
2476
|
-
// Get function signature
|
2477
|
-
// `index` is the index of the function's signature and `table_index` is the index of
|
2478
|
-
// the table to search the function in.
|
2479
|
-
let (sigref, num_args) = state.get_indirect_sig(builder.func, *type_index, environ)?;
|
2480
|
-
let callee = state.pop1();
|
2481
|
-
|
2482
|
-
// Bitcast any vector arguments to their default type, I8X16, before calling.
|
2483
|
-
let args = state.peekn_mut(num_args);
|
2484
|
-
bitcast_wasm_params(environ, sigref, args, builder);
|
2485
|
-
|
2486
|
-
let call =
|
2487
|
-
environ.translate_call_ref(builder, sigref, callee, state.peekn(num_args))?;
|
2488
|
-
|
2489
|
-
let inst_results = builder.inst_results(call);
|
2490
|
-
debug_assert_eq!(
|
2491
|
-
inst_results.len(),
|
2492
|
-
builder.func.dfg.signatures[sigref].returns.len(),
|
2493
|
-
"translate_call_ref results should match the call signature"
|
2494
|
-
);
|
2495
|
-
state.popn(num_args);
|
2496
|
-
state.pushn(inst_results);
|
2497
|
-
}
|
2498
|
-
Operator::RefAsNonNull => {
|
2499
|
-
let r = state.pop1();
|
2500
|
-
let is_null = environ.translate_ref_is_null(builder.cursor(), r)?;
|
2501
|
-
builder.ins().trapnz(is_null, ir::TrapCode::NullReference);
|
2502
|
-
state.push1(r);
|
2503
|
-
}
|
2504
|
-
|
2505
|
-
Operator::TryTable { .. } | Operator::ThrowRef => {
|
2506
|
-
unimplemented!("exception operators not yet implemented")
|
2507
|
-
}
|
2508
|
-
|
2509
|
-
Operator::RefI31
|
2510
|
-
| Operator::I31GetS
|
2511
|
-
| Operator::I31GetU
|
2512
|
-
| Operator::RefEq
|
2513
|
-
| Operator::RefTestNonNull { .. }
|
2514
|
-
| Operator::RefTestNullable { .. }
|
2515
|
-
| Operator::RefCastNonNull { .. }
|
2516
|
-
| Operator::RefCastNullable { .. }
|
2517
|
-
| Operator::BrOnCast { .. }
|
2518
|
-
| Operator::BrOnCastFail { .. }
|
2519
|
-
| Operator::AnyConvertExtern
|
2520
|
-
| Operator::ExternConvertAny
|
2521
|
-
| Operator::ArrayNew { .. }
|
2522
|
-
| Operator::ArrayNewDefault { .. }
|
2523
|
-
| Operator::ArrayNewFixed { .. }
|
2524
|
-
| Operator::ArrayNewData { .. }
|
2525
|
-
| Operator::ArrayNewElem { .. }
|
2526
|
-
| Operator::ArrayGet { .. }
|
2527
|
-
| Operator::ArrayGetU { .. }
|
2528
|
-
| Operator::ArrayGetS { .. }
|
2529
|
-
| Operator::ArraySet { .. }
|
2530
|
-
| Operator::ArrayLen { .. }
|
2531
|
-
| Operator::ArrayFill { .. }
|
2532
|
-
| Operator::ArrayCopy { .. }
|
2533
|
-
| Operator::ArrayInitData { .. }
|
2534
|
-
| Operator::ArrayInitElem { .. }
|
2535
|
-
| Operator::StructNew { .. }
|
2536
|
-
| Operator::StructNewDefault { .. }
|
2537
|
-
| Operator::StructGetS { .. }
|
2538
|
-
| Operator::StructGetU { .. }
|
2539
|
-
| Operator::StructSet { .. }
|
2540
|
-
| Operator::StructGet { .. } => {
|
2541
|
-
unimplemented!("GC operators not yet implemented")
|
2542
|
-
}
|
2543
|
-
};
|
2544
|
-
Ok(())
|
2545
|
-
}
|
2546
|
-
|
2547
|
-
/// Deals with a Wasm instruction located in an unreachable portion of the code. Most of them
|
2548
|
-
/// are dropped but special ones like `End` or `Else` signal the potential end of the unreachable
|
2549
|
-
/// portion so the translation state must be updated accordingly.
|
2550
|
-
fn translate_unreachable_operator<FE: FuncEnvironment + ?Sized>(
|
2551
|
-
validator: &FuncValidator<impl WasmModuleResources>,
|
2552
|
-
op: &Operator,
|
2553
|
-
builder: &mut FunctionBuilder,
|
2554
|
-
state: &mut FuncTranslationState,
|
2555
|
-
environ: &mut FE,
|
2556
|
-
) -> WasmResult<()> {
|
2557
|
-
debug_assert!(!state.reachable);
|
2558
|
-
match *op {
|
2559
|
-
Operator::If { blockty } => {
|
2560
|
-
// Push a placeholder control stack entry. The if isn't reachable,
|
2561
|
-
// so we don't have any branches anywhere.
|
2562
|
-
state.push_if(
|
2563
|
-
ir::Block::reserved_value(),
|
2564
|
-
ElseData::NoElse {
|
2565
|
-
branch_inst: ir::Inst::reserved_value(),
|
2566
|
-
placeholder: ir::Block::reserved_value(),
|
2567
|
-
},
|
2568
|
-
0,
|
2569
|
-
0,
|
2570
|
-
blockty,
|
2571
|
-
);
|
2572
|
-
}
|
2573
|
-
Operator::Loop { blockty: _ } | Operator::Block { blockty: _ } => {
|
2574
|
-
state.push_block(ir::Block::reserved_value(), 0, 0);
|
2575
|
-
}
|
2576
|
-
Operator::Else => {
|
2577
|
-
let i = state.control_stack.len() - 1;
|
2578
|
-
match state.control_stack[i] {
|
2579
|
-
ControlStackFrame::If {
|
2580
|
-
ref else_data,
|
2581
|
-
head_is_reachable,
|
2582
|
-
ref mut consequent_ends_reachable,
|
2583
|
-
blocktype,
|
2584
|
-
..
|
2585
|
-
} => {
|
2586
|
-
debug_assert!(consequent_ends_reachable.is_none());
|
2587
|
-
*consequent_ends_reachable = Some(state.reachable);
|
2588
|
-
|
2589
|
-
if head_is_reachable {
|
2590
|
-
// We have a branch from the head of the `if` to the `else`.
|
2591
|
-
state.reachable = true;
|
2592
|
-
|
2593
|
-
let else_block = match *else_data {
|
2594
|
-
ElseData::NoElse {
|
2595
|
-
branch_inst,
|
2596
|
-
placeholder,
|
2597
|
-
} => {
|
2598
|
-
let (params, _results) =
|
2599
|
-
blocktype_params_results(validator, blocktype)?;
|
2600
|
-
let else_block = block_with_params(builder, params, environ)?;
|
2601
|
-
let frame = state.control_stack.last().unwrap();
|
2602
|
-
frame.truncate_value_stack_to_else_params(&mut state.stack);
|
2603
|
-
|
2604
|
-
// We change the target of the branch instruction.
|
2605
|
-
builder.change_jump_destination(
|
2606
|
-
branch_inst,
|
2607
|
-
placeholder,
|
2608
|
-
else_block,
|
2609
|
-
);
|
2610
|
-
builder.seal_block(else_block);
|
2611
|
-
else_block
|
2612
|
-
}
|
2613
|
-
ElseData::WithElse { else_block } => {
|
2614
|
-
let frame = state.control_stack.last().unwrap();
|
2615
|
-
frame.truncate_value_stack_to_else_params(&mut state.stack);
|
2616
|
-
else_block
|
2617
|
-
}
|
2618
|
-
};
|
2619
|
-
|
2620
|
-
builder.switch_to_block(else_block);
|
2621
|
-
|
2622
|
-
// Again, no need to push the parameters for the `else`,
|
2623
|
-
// since we already did when we saw the original `if`. See
|
2624
|
-
// the comment for translating `Operator::Else` in
|
2625
|
-
// `translate_operator` for details.
|
2626
|
-
}
|
2627
|
-
}
|
2628
|
-
_ => unreachable!(),
|
2629
|
-
}
|
2630
|
-
}
|
2631
|
-
Operator::End => {
|
2632
|
-
let stack = &mut state.stack;
|
2633
|
-
let control_stack = &mut state.control_stack;
|
2634
|
-
let frame = control_stack.pop().unwrap();
|
2635
|
-
|
2636
|
-
// Pop unused parameters from stack.
|
2637
|
-
frame.truncate_value_stack_to_original_size(stack);
|
2638
|
-
|
2639
|
-
let reachable_anyway = match frame {
|
2640
|
-
// If it is a loop we also have to seal the body loop block
|
2641
|
-
ControlStackFrame::Loop { header, .. } => {
|
2642
|
-
builder.seal_block(header);
|
2643
|
-
// And loops can't have branches to the end.
|
2644
|
-
false
|
2645
|
-
}
|
2646
|
-
// If we never set `consequent_ends_reachable` then that means
|
2647
|
-
// we are finishing the consequent now, and there was no
|
2648
|
-
// `else`. Whether the following block is reachable depends only
|
2649
|
-
// on if the head was reachable.
|
2650
|
-
ControlStackFrame::If {
|
2651
|
-
head_is_reachable,
|
2652
|
-
consequent_ends_reachable: None,
|
2653
|
-
..
|
2654
|
-
} => head_is_reachable,
|
2655
|
-
// Since we are only in this function when in unreachable code,
|
2656
|
-
// we know that the alternative just ended unreachable. Whether
|
2657
|
-
// the following block is reachable depends on if the consequent
|
2658
|
-
// ended reachable or not.
|
2659
|
-
ControlStackFrame::If {
|
2660
|
-
head_is_reachable,
|
2661
|
-
consequent_ends_reachable: Some(consequent_ends_reachable),
|
2662
|
-
..
|
2663
|
-
} => head_is_reachable && consequent_ends_reachable,
|
2664
|
-
// All other control constructs are already handled.
|
2665
|
-
_ => false,
|
2666
|
-
};
|
2667
|
-
|
2668
|
-
if frame.exit_is_branched_to() || reachable_anyway {
|
2669
|
-
builder.switch_to_block(frame.following_code());
|
2670
|
-
builder.seal_block(frame.following_code());
|
2671
|
-
|
2672
|
-
// And add the return values of the block but only if the next block is reachable
|
2673
|
-
// (which corresponds to testing if the stack depth is 1)
|
2674
|
-
stack.extend_from_slice(builder.block_params(frame.following_code()));
|
2675
|
-
state.reachable = true;
|
2676
|
-
}
|
2677
|
-
}
|
2678
|
-
_ => {
|
2679
|
-
// We don't translate because this is unreachable code
|
2680
|
-
}
|
2681
|
-
}
|
2682
|
-
|
2683
|
-
Ok(())
|
2684
|
-
}
|
2685
|
-
|
2686
|
-
/// This function is a generalized helper for validating that a wasm-supplied
|
2687
|
-
/// heap address is in-bounds.
|
2688
|
-
///
|
2689
|
-
/// This function takes a litany of parameters and requires that the *Wasm*
|
2690
|
-
/// address to be verified is at the top of the stack in `state`. This will
|
2691
|
-
/// generate necessary IR to validate that the heap address is correctly
|
2692
|
-
/// in-bounds, and various parameters are returned describing the valid *native*
|
2693
|
-
/// heap address if execution reaches that point.
|
2694
|
-
///
|
2695
|
-
/// Returns `None` when the Wasm access will unconditionally trap.
|
2696
|
-
///
|
2697
|
-
/// Returns `(flags, wasm_addr, native_addr)`.
|
2698
|
-
fn prepare_addr<FE>(
|
2699
|
-
memarg: &MemArg,
|
2700
|
-
access_size: u8,
|
2701
|
-
builder: &mut FunctionBuilder,
|
2702
|
-
state: &mut FuncTranslationState,
|
2703
|
-
environ: &mut FE,
|
2704
|
-
) -> WasmResult<Reachability<(MemFlags, Value, Value)>>
|
2705
|
-
where
|
2706
|
-
FE: FuncEnvironment + ?Sized,
|
2707
|
-
{
|
2708
|
-
let index = state.pop1();
|
2709
|
-
let heap = state.get_heap(builder.func, memarg.memory, environ)?;
|
2710
|
-
|
2711
|
-
// How exactly the bounds check is performed here and what it's performed
|
2712
|
-
// on is a bit tricky. Generally we want to rely on access violations (e.g.
|
2713
|
-
// segfaults) to generate traps since that means we don't have to bounds
|
2714
|
-
// check anything explicitly.
|
2715
|
-
//
|
2716
|
-
// (1) If we don't have a guard page of unmapped memory, though, then we
|
2717
|
-
// can't rely on this trapping behavior through segfaults. Instead we need
|
2718
|
-
// to bounds-check the entire memory access here which is everything from
|
2719
|
-
// `addr32 + offset` to `addr32 + offset + width` (not inclusive). In this
|
2720
|
-
// scenario our adjusted offset that we're checking is `memarg.offset +
|
2721
|
-
// access_size`. Note that we do saturating arithmetic here to avoid
|
2722
|
-
// overflow. The addition here is in the 64-bit space, which means that
|
2723
|
-
// we'll never overflow for 32-bit wasm but for 64-bit this is an issue. If
|
2724
|
-
// our effective offset is u64::MAX though then it's impossible for for
|
2725
|
-
// that to actually be a valid offset because otherwise the wasm linear
|
2726
|
-
// memory would take all of the host memory!
|
2727
|
-
//
|
2728
|
-
// (2) If we have a guard page, however, then we can perform a further
|
2729
|
-
// optimization of the generated code by only checking multiples of the
|
2730
|
-
// offset-guard size to be more CSE-friendly. Knowing that we have at least
|
2731
|
-
// 1 page of a guard page we're then able to disregard the `width` since we
|
2732
|
-
// know it's always less than one page. Our bounds check will be for the
|
2733
|
-
// first byte which will either succeed and be guaranteed to fault if it's
|
2734
|
-
// actually out of bounds, or the bounds check itself will fail. In any case
|
2735
|
-
// we assert that the width is reasonably small for now so this assumption
|
2736
|
-
// can be adjusted in the future if we get larger widths.
|
2737
|
-
//
|
2738
|
-
// Put another way we can say, where `y < offset_guard_size`:
|
2739
|
-
//
|
2740
|
-
// n * offset_guard_size + y = offset
|
2741
|
-
//
|
2742
|
-
// We'll then pass `n * offset_guard_size` as the bounds check value. If
|
2743
|
-
// this traps then our `offset` would have trapped anyway. If this check
|
2744
|
-
// passes we know
|
2745
|
-
//
|
2746
|
-
// addr32 + n * offset_guard_size < bound
|
2747
|
-
//
|
2748
|
-
// which means
|
2749
|
-
//
|
2750
|
-
// addr32 + n * offset_guard_size + y < bound + offset_guard_size
|
2751
|
-
//
|
2752
|
-
// because `y < offset_guard_size`, which then means:
|
2753
|
-
//
|
2754
|
-
// addr32 + offset < bound + offset_guard_size
|
2755
|
-
//
|
2756
|
-
// Since we know that that guard size bytes are all unmapped we're
|
2757
|
-
// guaranteed that `offset` and the `width` bytes after it are either
|
2758
|
-
// in-bounds or will hit the guard page, meaning we'll get the desired
|
2759
|
-
// semantics we want.
|
2760
|
-
//
|
2761
|
-
// ---
|
2762
|
-
//
|
2763
|
-
// With all that in mind remember that the goal is to bounds check as few
|
2764
|
-
// things as possible. To facilitate this the "fast path" is expected to be
|
2765
|
-
// hit like so:
|
2766
|
-
//
|
2767
|
-
// * For wasm32, wasmtime defaults to 4gb "static" memories with 2gb guard
|
2768
|
-
// regions. This means that for all offsets <=2gb, we hit the optimized
|
2769
|
-
// case for `heap_addr` on static memories 4gb in size in cranelift's
|
2770
|
-
// legalization of `heap_addr`, eliding the bounds check entirely.
|
2771
|
-
//
|
2772
|
-
// * For wasm64 offsets <=2gb will generate a single `heap_addr`
|
2773
|
-
// instruction, but at this time all heaps are "dyanmic" which means that
|
2774
|
-
// a single bounds check is forced. Ideally we'd do better here, but
|
2775
|
-
// that's the current state of affairs.
|
2776
|
-
//
|
2777
|
-
// Basically we assume that most configurations have a guard page and most
|
2778
|
-
// offsets in `memarg` are <=2gb, which means we get the fast path of one
|
2779
|
-
// `heap_addr` instruction plus a hardcoded i32-offset in memory-related
|
2780
|
-
// instructions.
|
2781
|
-
let heap = environ.heaps()[heap].clone();
|
2782
|
-
let addr = match u32::try_from(memarg.offset) {
|
2783
|
-
// If our offset fits within a u32, then we can place the it into the
|
2784
|
-
// offset immediate of the `heap_addr` instruction.
|
2785
|
-
Ok(offset) => bounds_checks::bounds_check_and_compute_addr(
|
2786
|
-
builder,
|
2787
|
-
environ,
|
2788
|
-
&heap,
|
2789
|
-
index,
|
2790
|
-
offset,
|
2791
|
-
access_size,
|
2792
|
-
)?,
|
2793
|
-
|
2794
|
-
// If the offset doesn't fit within a u32, then we can't pass it
|
2795
|
-
// directly into `heap_addr`.
|
2796
|
-
//
|
2797
|
-
// One reasonable question you might ask is "why not?". There's no
|
2798
|
-
// fundamental reason why `heap_addr` *must* take a 32-bit offset. The
|
2799
|
-
// reason this isn't done, though, is that blindly changing the offset
|
2800
|
-
// to a 64-bit offset increases the size of the `InstructionData` enum
|
2801
|
-
// in cranelift by 8 bytes (16 to 24). This can have significant
|
2802
|
-
// performance implications so the conclusion when this was written was
|
2803
|
-
// that we shouldn't do that.
|
2804
|
-
//
|
2805
|
-
// Without the ability to put the whole offset into the `heap_addr`
|
2806
|
-
// instruction we need to fold the offset into the address itself with
|
2807
|
-
// an unsigned addition. In doing so though we need to check for
|
2808
|
-
// overflow because that would mean the address is out-of-bounds (wasm
|
2809
|
-
// bounds checks happen on the effective 33 or 65 bit address once the
|
2810
|
-
// offset is factored in).
|
2811
|
-
//
|
2812
|
-
// Once we have the effective address, offset already folded in, then
|
2813
|
-
// `heap_addr` is used to verify that the address is indeed in-bounds.
|
2814
|
-
//
|
2815
|
-
// Note that this is generating what's likely to be at least two
|
2816
|
-
// branches, one for the overflow and one for the bounds check itself.
|
2817
|
-
// For now though that should hopefully be ok since 4gb+ offsets are
|
2818
|
-
// relatively odd/rare. In the future if needed we can look into
|
2819
|
-
// optimizing this more.
|
2820
|
-
Err(_) => {
|
2821
|
-
let offset = builder.ins().iconst(heap.index_type, memarg.offset as i64);
|
2822
|
-
let adjusted_index =
|
2823
|
-
builder
|
2824
|
-
.ins()
|
2825
|
-
.uadd_overflow_trap(index, offset, ir::TrapCode::HeapOutOfBounds);
|
2826
|
-
bounds_checks::bounds_check_and_compute_addr(
|
2827
|
-
builder,
|
2828
|
-
environ,
|
2829
|
-
&heap,
|
2830
|
-
adjusted_index,
|
2831
|
-
0,
|
2832
|
-
access_size,
|
2833
|
-
)?
|
2834
|
-
}
|
2835
|
-
};
|
2836
|
-
let addr = match addr {
|
2837
|
-
Reachability::Unreachable => return Ok(Reachability::Unreachable),
|
2838
|
-
Reachability::Reachable(a) => a,
|
2839
|
-
};
|
2840
|
-
|
2841
|
-
// Note that we don't set `is_aligned` here, even if the load instruction's
|
2842
|
-
// alignment immediate may says it's aligned, because WebAssembly's
|
2843
|
-
// immediate field is just a hint, while Cranelift's aligned flag needs a
|
2844
|
-
// guarantee. WebAssembly memory accesses are always little-endian.
|
2845
|
-
let mut flags = MemFlags::new();
|
2846
|
-
flags.set_endianness(ir::Endianness::Little);
|
2847
|
-
|
2848
|
-
if heap.memory_type.is_some() {
|
2849
|
-
// Proof-carrying code is enabled; check this memory access.
|
2850
|
-
flags.set_checked();
|
2851
|
-
}
|
2852
|
-
|
2853
|
-
// The access occurs to the `heap` disjoint category of abstract
|
2854
|
-
// state. This may allow alias analysis to merge redundant loads,
|
2855
|
-
// etc. when heap accesses occur interleaved with other (table,
|
2856
|
-
// vmctx, stack) accesses.
|
2857
|
-
flags.set_heap();
|
2858
|
-
|
2859
|
-
Ok(Reachability::Reachable((flags, index, addr)))
|
2860
|
-
}
|
2861
|
-
|
2862
|
-
fn align_atomic_addr(
|
2863
|
-
memarg: &MemArg,
|
2864
|
-
loaded_bytes: u8,
|
2865
|
-
builder: &mut FunctionBuilder,
|
2866
|
-
state: &mut FuncTranslationState,
|
2867
|
-
) {
|
2868
|
-
// Atomic addresses must all be aligned correctly, and for now we check
|
2869
|
-
// alignment before we check out-of-bounds-ness. The order of this check may
|
2870
|
-
// need to be updated depending on the outcome of the official threads
|
2871
|
-
// proposal itself.
|
2872
|
-
//
|
2873
|
-
// Note that with an offset>0 we generate an `iadd_imm` where the result is
|
2874
|
-
// thrown away after the offset check. This may truncate the offset and the
|
2875
|
-
// result may overflow as well, but those conditions won't affect the
|
2876
|
-
// alignment check itself. This can probably be optimized better and we
|
2877
|
-
// should do so in the future as well.
|
2878
|
-
if loaded_bytes > 1 {
|
2879
|
-
let addr = state.pop1(); // "peek" via pop then push
|
2880
|
-
state.push1(addr);
|
2881
|
-
let effective_addr = if memarg.offset == 0 {
|
2882
|
-
addr
|
2883
|
-
} else {
|
2884
|
-
builder
|
2885
|
-
.ins()
|
2886
|
-
.iadd_imm(addr, i64::from(memarg.offset as i32))
|
2887
|
-
};
|
2888
|
-
debug_assert!(loaded_bytes.is_power_of_two());
|
2889
|
-
let misalignment = builder
|
2890
|
-
.ins()
|
2891
|
-
.band_imm(effective_addr, i64::from(loaded_bytes - 1));
|
2892
|
-
let f = builder.ins().icmp_imm(IntCC::NotEqual, misalignment, 0);
|
2893
|
-
builder.ins().trapnz(f, ir::TrapCode::HeapMisaligned);
|
2894
|
-
}
|
2895
|
-
}
|
2896
|
-
|
2897
|
-
/// Like `prepare_addr` but for atomic accesses.
|
2898
|
-
///
|
2899
|
-
/// Returns `None` when the Wasm access will unconditionally trap.
|
2900
|
-
fn prepare_atomic_addr<FE: FuncEnvironment + ?Sized>(
|
2901
|
-
memarg: &MemArg,
|
2902
|
-
loaded_bytes: u8,
|
2903
|
-
builder: &mut FunctionBuilder,
|
2904
|
-
state: &mut FuncTranslationState,
|
2905
|
-
environ: &mut FE,
|
2906
|
-
) -> WasmResult<Reachability<(MemFlags, Value, Value)>> {
|
2907
|
-
align_atomic_addr(memarg, loaded_bytes, builder, state);
|
2908
|
-
prepare_addr(memarg, loaded_bytes, builder, state, environ)
|
2909
|
-
}
|
2910
|
-
|
2911
|
-
/// Like `Option<T>` but specifically for passing information about transitions
|
2912
|
-
/// from reachable to unreachable state and the like from callees to callers.
|
2913
|
-
///
|
2914
|
-
/// Marked `must_use` to force callers to update
|
2915
|
-
/// `FuncTranslationState::reachable` as necessary.
|
2916
|
-
#[derive(PartialEq, Eq)]
|
2917
|
-
#[must_use]
|
2918
|
-
pub enum Reachability<T> {
|
2919
|
-
/// The Wasm execution state is reachable, here is a `T`.
|
2920
|
-
Reachable(T),
|
2921
|
-
/// The Wasm execution state has been determined to be statically
|
2922
|
-
/// unreachable. It is the receiver of this value's responsibility to update
|
2923
|
-
/// `FuncTranslationState::reachable` as necessary.
|
2924
|
-
Unreachable,
|
2925
|
-
}
|
2926
|
-
|
2927
|
-
/// Translate a load instruction.
|
2928
|
-
///
|
2929
|
-
/// Returns the execution state's reachability after the load is translated.
|
2930
|
-
fn translate_load<FE: FuncEnvironment + ?Sized>(
|
2931
|
-
memarg: &MemArg,
|
2932
|
-
opcode: ir::Opcode,
|
2933
|
-
result_ty: Type,
|
2934
|
-
builder: &mut FunctionBuilder,
|
2935
|
-
state: &mut FuncTranslationState,
|
2936
|
-
environ: &mut FE,
|
2937
|
-
) -> WasmResult<Reachability<()>> {
|
2938
|
-
let mem_op_size = mem_op_size(opcode, result_ty);
|
2939
|
-
let (flags, wasm_index, base) =
|
2940
|
-
match prepare_addr(memarg, mem_op_size, builder, state, environ)? {
|
2941
|
-
Reachability::Unreachable => return Ok(Reachability::Unreachable),
|
2942
|
-
Reachability::Reachable((f, i, b)) => (f, i, b),
|
2943
|
-
};
|
2944
|
-
|
2945
|
-
environ.before_load(builder, mem_op_size, wasm_index, memarg.offset);
|
2946
|
-
|
2947
|
-
let (load, dfg) = builder
|
2948
|
-
.ins()
|
2949
|
-
.Load(opcode, result_ty, flags, Offset32::new(0), base);
|
2950
|
-
state.push1(dfg.first_result(load));
|
2951
|
-
Ok(Reachability::Reachable(()))
|
2952
|
-
}
|
2953
|
-
|
2954
|
-
/// Translate a store instruction.
|
2955
|
-
fn translate_store<FE: FuncEnvironment + ?Sized>(
|
2956
|
-
memarg: &MemArg,
|
2957
|
-
opcode: ir::Opcode,
|
2958
|
-
builder: &mut FunctionBuilder,
|
2959
|
-
state: &mut FuncTranslationState,
|
2960
|
-
environ: &mut FE,
|
2961
|
-
) -> WasmResult<()> {
|
2962
|
-
let val = state.pop1();
|
2963
|
-
let val_ty = builder.func.dfg.value_type(val);
|
2964
|
-
let mem_op_size = mem_op_size(opcode, val_ty);
|
2965
|
-
|
2966
|
-
let (flags, wasm_index, base) = unwrap_or_return_unreachable_state!(
|
2967
|
-
state,
|
2968
|
-
prepare_addr(memarg, mem_op_size, builder, state, environ)?
|
2969
|
-
);
|
2970
|
-
|
2971
|
-
environ.before_store(builder, mem_op_size, wasm_index, memarg.offset);
|
2972
|
-
|
2973
|
-
builder
|
2974
|
-
.ins()
|
2975
|
-
.Store(opcode, val_ty, flags, Offset32::new(0), val, base);
|
2976
|
-
Ok(())
|
2977
|
-
}
|
2978
|
-
|
2979
|
-
fn mem_op_size(opcode: ir::Opcode, ty: Type) -> u8 {
|
2980
|
-
match opcode {
|
2981
|
-
ir::Opcode::Istore8 | ir::Opcode::Sload8 | ir::Opcode::Uload8 => 1,
|
2982
|
-
ir::Opcode::Istore16 | ir::Opcode::Sload16 | ir::Opcode::Uload16 => 2,
|
2983
|
-
ir::Opcode::Istore32 | ir::Opcode::Sload32 | ir::Opcode::Uload32 => 4,
|
2984
|
-
ir::Opcode::Store | ir::Opcode::Load => u8::try_from(ty.bytes()).unwrap(),
|
2985
|
-
_ => panic!("unknown size of mem op for {:?}", opcode),
|
2986
|
-
}
|
2987
|
-
}
|
2988
|
-
|
2989
|
-
fn translate_icmp(cc: IntCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
|
2990
|
-
let (arg0, arg1) = state.pop2();
|
2991
|
-
let val = builder.ins().icmp(cc, arg0, arg1);
|
2992
|
-
state.push1(builder.ins().uextend(I32, val));
|
2993
|
-
}
|
2994
|
-
|
2995
|
-
fn translate_atomic_rmw<FE: FuncEnvironment + ?Sized>(
|
2996
|
-
widened_ty: Type,
|
2997
|
-
access_ty: Type,
|
2998
|
-
op: AtomicRmwOp,
|
2999
|
-
memarg: &MemArg,
|
3000
|
-
builder: &mut FunctionBuilder,
|
3001
|
-
state: &mut FuncTranslationState,
|
3002
|
-
environ: &mut FE,
|
3003
|
-
) -> WasmResult<()> {
|
3004
|
-
let mut arg2 = state.pop1();
|
3005
|
-
let arg2_ty = builder.func.dfg.value_type(arg2);
|
3006
|
-
|
3007
|
-
// The operation is performed at type `access_ty`, and the old value is zero-extended
|
3008
|
-
// to type `widened_ty`.
|
3009
|
-
match access_ty {
|
3010
|
-
I8 | I16 | I32 | I64 => {}
|
3011
|
-
_ => {
|
3012
|
-
return Err(wasm_unsupported!(
|
3013
|
-
"atomic_rmw: unsupported access type {:?}",
|
3014
|
-
access_ty
|
3015
|
-
))
|
3016
|
-
}
|
3017
|
-
};
|
3018
|
-
let w_ty_ok = match widened_ty {
|
3019
|
-
I32 | I64 => true,
|
3020
|
-
_ => false,
|
3021
|
-
};
|
3022
|
-
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3023
|
-
|
3024
|
-
assert!(arg2_ty.bytes() >= access_ty.bytes());
|
3025
|
-
if arg2_ty.bytes() > access_ty.bytes() {
|
3026
|
-
arg2 = builder.ins().ireduce(access_ty, arg2);
|
3027
|
-
}
|
3028
|
-
|
3029
|
-
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3030
|
-
state,
|
3031
|
-
prepare_atomic_addr(
|
3032
|
-
memarg,
|
3033
|
-
u8::try_from(access_ty.bytes()).unwrap(),
|
3034
|
-
builder,
|
3035
|
-
state,
|
3036
|
-
environ,
|
3037
|
-
)?
|
3038
|
-
);
|
3039
|
-
|
3040
|
-
let mut res = builder.ins().atomic_rmw(access_ty, flags, op, addr, arg2);
|
3041
|
-
if access_ty != widened_ty {
|
3042
|
-
res = builder.ins().uextend(widened_ty, res);
|
3043
|
-
}
|
3044
|
-
state.push1(res);
|
3045
|
-
Ok(())
|
3046
|
-
}
|
3047
|
-
|
3048
|
-
fn translate_atomic_cas<FE: FuncEnvironment + ?Sized>(
|
3049
|
-
widened_ty: Type,
|
3050
|
-
access_ty: Type,
|
3051
|
-
memarg: &MemArg,
|
3052
|
-
builder: &mut FunctionBuilder,
|
3053
|
-
state: &mut FuncTranslationState,
|
3054
|
-
environ: &mut FE,
|
3055
|
-
) -> WasmResult<()> {
|
3056
|
-
let (mut expected, mut replacement) = state.pop2();
|
3057
|
-
let expected_ty = builder.func.dfg.value_type(expected);
|
3058
|
-
let replacement_ty = builder.func.dfg.value_type(replacement);
|
3059
|
-
|
3060
|
-
// The compare-and-swap is performed at type `access_ty`, and the old value is zero-extended
|
3061
|
-
// to type `widened_ty`.
|
3062
|
-
match access_ty {
|
3063
|
-
I8 | I16 | I32 | I64 => {}
|
3064
|
-
_ => {
|
3065
|
-
return Err(wasm_unsupported!(
|
3066
|
-
"atomic_cas: unsupported access type {:?}",
|
3067
|
-
access_ty
|
3068
|
-
))
|
3069
|
-
}
|
3070
|
-
};
|
3071
|
-
let w_ty_ok = match widened_ty {
|
3072
|
-
I32 | I64 => true,
|
3073
|
-
_ => false,
|
3074
|
-
};
|
3075
|
-
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3076
|
-
|
3077
|
-
assert!(expected_ty.bytes() >= access_ty.bytes());
|
3078
|
-
if expected_ty.bytes() > access_ty.bytes() {
|
3079
|
-
expected = builder.ins().ireduce(access_ty, expected);
|
3080
|
-
}
|
3081
|
-
assert!(replacement_ty.bytes() >= access_ty.bytes());
|
3082
|
-
if replacement_ty.bytes() > access_ty.bytes() {
|
3083
|
-
replacement = builder.ins().ireduce(access_ty, replacement);
|
3084
|
-
}
|
3085
|
-
|
3086
|
-
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3087
|
-
state,
|
3088
|
-
prepare_atomic_addr(
|
3089
|
-
memarg,
|
3090
|
-
u8::try_from(access_ty.bytes()).unwrap(),
|
3091
|
-
builder,
|
3092
|
-
state,
|
3093
|
-
environ,
|
3094
|
-
)?
|
3095
|
-
);
|
3096
|
-
let mut res = builder.ins().atomic_cas(flags, addr, expected, replacement);
|
3097
|
-
if access_ty != widened_ty {
|
3098
|
-
res = builder.ins().uextend(widened_ty, res);
|
3099
|
-
}
|
3100
|
-
state.push1(res);
|
3101
|
-
Ok(())
|
3102
|
-
}
|
3103
|
-
|
3104
|
-
fn translate_atomic_load<FE: FuncEnvironment + ?Sized>(
|
3105
|
-
widened_ty: Type,
|
3106
|
-
access_ty: Type,
|
3107
|
-
memarg: &MemArg,
|
3108
|
-
builder: &mut FunctionBuilder,
|
3109
|
-
state: &mut FuncTranslationState,
|
3110
|
-
environ: &mut FE,
|
3111
|
-
) -> WasmResult<()> {
|
3112
|
-
// The load is performed at type `access_ty`, and the loaded value is zero extended
|
3113
|
-
// to `widened_ty`.
|
3114
|
-
match access_ty {
|
3115
|
-
I8 | I16 | I32 | I64 => {}
|
3116
|
-
_ => {
|
3117
|
-
return Err(wasm_unsupported!(
|
3118
|
-
"atomic_load: unsupported access type {:?}",
|
3119
|
-
access_ty
|
3120
|
-
))
|
3121
|
-
}
|
3122
|
-
};
|
3123
|
-
let w_ty_ok = match widened_ty {
|
3124
|
-
I32 | I64 => true,
|
3125
|
-
_ => false,
|
3126
|
-
};
|
3127
|
-
assert!(w_ty_ok && widened_ty.bytes() >= access_ty.bytes());
|
3128
|
-
|
3129
|
-
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3130
|
-
state,
|
3131
|
-
prepare_atomic_addr(
|
3132
|
-
memarg,
|
3133
|
-
u8::try_from(access_ty.bytes()).unwrap(),
|
3134
|
-
builder,
|
3135
|
-
state,
|
3136
|
-
environ,
|
3137
|
-
)?
|
3138
|
-
);
|
3139
|
-
let mut res = builder.ins().atomic_load(access_ty, flags, addr);
|
3140
|
-
if access_ty != widened_ty {
|
3141
|
-
res = builder.ins().uextend(widened_ty, res);
|
3142
|
-
}
|
3143
|
-
state.push1(res);
|
3144
|
-
Ok(())
|
3145
|
-
}
|
3146
|
-
|
3147
|
-
fn translate_atomic_store<FE: FuncEnvironment + ?Sized>(
|
3148
|
-
access_ty: Type,
|
3149
|
-
memarg: &MemArg,
|
3150
|
-
builder: &mut FunctionBuilder,
|
3151
|
-
state: &mut FuncTranslationState,
|
3152
|
-
environ: &mut FE,
|
3153
|
-
) -> WasmResult<()> {
|
3154
|
-
let mut data = state.pop1();
|
3155
|
-
let data_ty = builder.func.dfg.value_type(data);
|
3156
|
-
|
3157
|
-
// The operation is performed at type `access_ty`, and the data to be stored may first
|
3158
|
-
// need to be narrowed accordingly.
|
3159
|
-
match access_ty {
|
3160
|
-
I8 | I16 | I32 | I64 => {}
|
3161
|
-
_ => {
|
3162
|
-
return Err(wasm_unsupported!(
|
3163
|
-
"atomic_store: unsupported access type {:?}",
|
3164
|
-
access_ty
|
3165
|
-
))
|
3166
|
-
}
|
3167
|
-
};
|
3168
|
-
let d_ty_ok = match data_ty {
|
3169
|
-
I32 | I64 => true,
|
3170
|
-
_ => false,
|
3171
|
-
};
|
3172
|
-
assert!(d_ty_ok && data_ty.bytes() >= access_ty.bytes());
|
3173
|
-
|
3174
|
-
if data_ty.bytes() > access_ty.bytes() {
|
3175
|
-
data = builder.ins().ireduce(access_ty, data);
|
3176
|
-
}
|
3177
|
-
|
3178
|
-
let (flags, _, addr) = unwrap_or_return_unreachable_state!(
|
3179
|
-
state,
|
3180
|
-
prepare_atomic_addr(
|
3181
|
-
memarg,
|
3182
|
-
u8::try_from(access_ty.bytes()).unwrap(),
|
3183
|
-
builder,
|
3184
|
-
state,
|
3185
|
-
environ,
|
3186
|
-
)?
|
3187
|
-
);
|
3188
|
-
builder.ins().atomic_store(flags, data, addr);
|
3189
|
-
Ok(())
|
3190
|
-
}
|
3191
|
-
|
3192
|
-
fn translate_vector_icmp(
|
3193
|
-
cc: IntCC,
|
3194
|
-
needed_type: Type,
|
3195
|
-
builder: &mut FunctionBuilder,
|
3196
|
-
state: &mut FuncTranslationState,
|
3197
|
-
) {
|
3198
|
-
let (a, b) = state.pop2();
|
3199
|
-
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3200
|
-
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3201
|
-
state.push1(builder.ins().icmp(cc, bitcast_a, bitcast_b))
|
3202
|
-
}
|
3203
|
-
|
3204
|
-
fn translate_fcmp(cc: FloatCC, builder: &mut FunctionBuilder, state: &mut FuncTranslationState) {
|
3205
|
-
let (arg0, arg1) = state.pop2();
|
3206
|
-
let val = builder.ins().fcmp(cc, arg0, arg1);
|
3207
|
-
state.push1(builder.ins().uextend(I32, val));
|
3208
|
-
}
|
3209
|
-
|
3210
|
-
fn translate_vector_fcmp(
|
3211
|
-
cc: FloatCC,
|
3212
|
-
needed_type: Type,
|
3213
|
-
builder: &mut FunctionBuilder,
|
3214
|
-
state: &mut FuncTranslationState,
|
3215
|
-
) {
|
3216
|
-
let (a, b) = state.pop2();
|
3217
|
-
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3218
|
-
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3219
|
-
state.push1(builder.ins().fcmp(cc, bitcast_a, bitcast_b))
|
3220
|
-
}
|
3221
|
-
|
3222
|
-
fn translate_br_if(
|
3223
|
-
relative_depth: u32,
|
3224
|
-
builder: &mut FunctionBuilder,
|
3225
|
-
state: &mut FuncTranslationState,
|
3226
|
-
) {
|
3227
|
-
let val = state.pop1();
|
3228
|
-
let (br_destination, inputs) = translate_br_if_args(relative_depth, state);
|
3229
|
-
let next_block = builder.create_block();
|
3230
|
-
canonicalise_brif(builder, val, br_destination, inputs, next_block, &[]);
|
3231
|
-
|
3232
|
-
builder.seal_block(next_block); // The only predecessor is the current block.
|
3233
|
-
builder.switch_to_block(next_block);
|
3234
|
-
}
|
3235
|
-
|
3236
|
-
fn translate_br_if_args(
|
3237
|
-
relative_depth: u32,
|
3238
|
-
state: &mut FuncTranslationState,
|
3239
|
-
) -> (ir::Block, &mut [ir::Value]) {
|
3240
|
-
let i = state.control_stack.len() - 1 - (relative_depth as usize);
|
3241
|
-
let (return_count, br_destination) = {
|
3242
|
-
let frame = &mut state.control_stack[i];
|
3243
|
-
// The values returned by the branch are still available for the reachable
|
3244
|
-
// code that comes after it
|
3245
|
-
frame.set_branched_to_exit();
|
3246
|
-
let return_count = if frame.is_loop() {
|
3247
|
-
frame.num_param_values()
|
3248
|
-
} else {
|
3249
|
-
frame.num_return_values()
|
3250
|
-
};
|
3251
|
-
(return_count, frame.br_destination())
|
3252
|
-
};
|
3253
|
-
let inputs = state.peekn_mut(return_count);
|
3254
|
-
(br_destination, inputs)
|
3255
|
-
}
|
3256
|
-
|
3257
|
-
/// Determine the returned value type of a WebAssembly operator
|
3258
|
-
fn type_of(operator: &Operator) -> Type {
|
3259
|
-
match operator {
|
3260
|
-
Operator::V128Load { .. }
|
3261
|
-
| Operator::V128Store { .. }
|
3262
|
-
| Operator::V128Const { .. }
|
3263
|
-
| Operator::V128Not
|
3264
|
-
| Operator::V128And
|
3265
|
-
| Operator::V128AndNot
|
3266
|
-
| Operator::V128Or
|
3267
|
-
| Operator::V128Xor
|
3268
|
-
| Operator::V128AnyTrue
|
3269
|
-
| Operator::V128Bitselect => I8X16, // default type representing V128
|
3270
|
-
|
3271
|
-
Operator::I8x16Shuffle { .. }
|
3272
|
-
| Operator::I8x16Splat
|
3273
|
-
| Operator::V128Load8Splat { .. }
|
3274
|
-
| Operator::V128Load8Lane { .. }
|
3275
|
-
| Operator::V128Store8Lane { .. }
|
3276
|
-
| Operator::I8x16ExtractLaneS { .. }
|
3277
|
-
| Operator::I8x16ExtractLaneU { .. }
|
3278
|
-
| Operator::I8x16ReplaceLane { .. }
|
3279
|
-
| Operator::I8x16Eq
|
3280
|
-
| Operator::I8x16Ne
|
3281
|
-
| Operator::I8x16LtS
|
3282
|
-
| Operator::I8x16LtU
|
3283
|
-
| Operator::I8x16GtS
|
3284
|
-
| Operator::I8x16GtU
|
3285
|
-
| Operator::I8x16LeS
|
3286
|
-
| Operator::I8x16LeU
|
3287
|
-
| Operator::I8x16GeS
|
3288
|
-
| Operator::I8x16GeU
|
3289
|
-
| Operator::I8x16Neg
|
3290
|
-
| Operator::I8x16Abs
|
3291
|
-
| Operator::I8x16AllTrue
|
3292
|
-
| Operator::I8x16Shl
|
3293
|
-
| Operator::I8x16ShrS
|
3294
|
-
| Operator::I8x16ShrU
|
3295
|
-
| Operator::I8x16Add
|
3296
|
-
| Operator::I8x16AddSatS
|
3297
|
-
| Operator::I8x16AddSatU
|
3298
|
-
| Operator::I8x16Sub
|
3299
|
-
| Operator::I8x16SubSatS
|
3300
|
-
| Operator::I8x16SubSatU
|
3301
|
-
| Operator::I8x16MinS
|
3302
|
-
| Operator::I8x16MinU
|
3303
|
-
| Operator::I8x16MaxS
|
3304
|
-
| Operator::I8x16MaxU
|
3305
|
-
| Operator::I8x16AvgrU
|
3306
|
-
| Operator::I8x16Bitmask
|
3307
|
-
| Operator::I8x16Popcnt
|
3308
|
-
| Operator::I8x16RelaxedLaneselect => I8X16,
|
3309
|
-
|
3310
|
-
Operator::I16x8Splat
|
3311
|
-
| Operator::V128Load16Splat { .. }
|
3312
|
-
| Operator::V128Load16Lane { .. }
|
3313
|
-
| Operator::V128Store16Lane { .. }
|
3314
|
-
| Operator::I16x8ExtractLaneS { .. }
|
3315
|
-
| Operator::I16x8ExtractLaneU { .. }
|
3316
|
-
| Operator::I16x8ReplaceLane { .. }
|
3317
|
-
| Operator::I16x8Eq
|
3318
|
-
| Operator::I16x8Ne
|
3319
|
-
| Operator::I16x8LtS
|
3320
|
-
| Operator::I16x8LtU
|
3321
|
-
| Operator::I16x8GtS
|
3322
|
-
| Operator::I16x8GtU
|
3323
|
-
| Operator::I16x8LeS
|
3324
|
-
| Operator::I16x8LeU
|
3325
|
-
| Operator::I16x8GeS
|
3326
|
-
| Operator::I16x8GeU
|
3327
|
-
| Operator::I16x8Neg
|
3328
|
-
| Operator::I16x8Abs
|
3329
|
-
| Operator::I16x8AllTrue
|
3330
|
-
| Operator::I16x8Shl
|
3331
|
-
| Operator::I16x8ShrS
|
3332
|
-
| Operator::I16x8ShrU
|
3333
|
-
| Operator::I16x8Add
|
3334
|
-
| Operator::I16x8AddSatS
|
3335
|
-
| Operator::I16x8AddSatU
|
3336
|
-
| Operator::I16x8Sub
|
3337
|
-
| Operator::I16x8SubSatS
|
3338
|
-
| Operator::I16x8SubSatU
|
3339
|
-
| Operator::I16x8MinS
|
3340
|
-
| Operator::I16x8MinU
|
3341
|
-
| Operator::I16x8MaxS
|
3342
|
-
| Operator::I16x8MaxU
|
3343
|
-
| Operator::I16x8AvgrU
|
3344
|
-
| Operator::I16x8Mul
|
3345
|
-
| Operator::I16x8Bitmask
|
3346
|
-
| Operator::I16x8RelaxedLaneselect => I16X8,
|
3347
|
-
|
3348
|
-
Operator::I32x4Splat
|
3349
|
-
| Operator::V128Load32Splat { .. }
|
3350
|
-
| Operator::V128Load32Lane { .. }
|
3351
|
-
| Operator::V128Store32Lane { .. }
|
3352
|
-
| Operator::I32x4ExtractLane { .. }
|
3353
|
-
| Operator::I32x4ReplaceLane { .. }
|
3354
|
-
| Operator::I32x4Eq
|
3355
|
-
| Operator::I32x4Ne
|
3356
|
-
| Operator::I32x4LtS
|
3357
|
-
| Operator::I32x4LtU
|
3358
|
-
| Operator::I32x4GtS
|
3359
|
-
| Operator::I32x4GtU
|
3360
|
-
| Operator::I32x4LeS
|
3361
|
-
| Operator::I32x4LeU
|
3362
|
-
| Operator::I32x4GeS
|
3363
|
-
| Operator::I32x4GeU
|
3364
|
-
| Operator::I32x4Neg
|
3365
|
-
| Operator::I32x4Abs
|
3366
|
-
| Operator::I32x4AllTrue
|
3367
|
-
| Operator::I32x4Shl
|
3368
|
-
| Operator::I32x4ShrS
|
3369
|
-
| Operator::I32x4ShrU
|
3370
|
-
| Operator::I32x4Add
|
3371
|
-
| Operator::I32x4Sub
|
3372
|
-
| Operator::I32x4Mul
|
3373
|
-
| Operator::I32x4MinS
|
3374
|
-
| Operator::I32x4MinU
|
3375
|
-
| Operator::I32x4MaxS
|
3376
|
-
| Operator::I32x4MaxU
|
3377
|
-
| Operator::I32x4Bitmask
|
3378
|
-
| Operator::I32x4TruncSatF32x4S
|
3379
|
-
| Operator::I32x4TruncSatF32x4U
|
3380
|
-
| Operator::I32x4RelaxedLaneselect
|
3381
|
-
| Operator::V128Load32Zero { .. } => I32X4,
|
3382
|
-
|
3383
|
-
Operator::I64x2Splat
|
3384
|
-
| Operator::V128Load64Splat { .. }
|
3385
|
-
| Operator::V128Load64Lane { .. }
|
3386
|
-
| Operator::V128Store64Lane { .. }
|
3387
|
-
| Operator::I64x2ExtractLane { .. }
|
3388
|
-
| Operator::I64x2ReplaceLane { .. }
|
3389
|
-
| Operator::I64x2Eq
|
3390
|
-
| Operator::I64x2Ne
|
3391
|
-
| Operator::I64x2LtS
|
3392
|
-
| Operator::I64x2GtS
|
3393
|
-
| Operator::I64x2LeS
|
3394
|
-
| Operator::I64x2GeS
|
3395
|
-
| Operator::I64x2Neg
|
3396
|
-
| Operator::I64x2Abs
|
3397
|
-
| Operator::I64x2AllTrue
|
3398
|
-
| Operator::I64x2Shl
|
3399
|
-
| Operator::I64x2ShrS
|
3400
|
-
| Operator::I64x2ShrU
|
3401
|
-
| Operator::I64x2Add
|
3402
|
-
| Operator::I64x2Sub
|
3403
|
-
| Operator::I64x2Mul
|
3404
|
-
| Operator::I64x2Bitmask
|
3405
|
-
| Operator::I64x2RelaxedLaneselect
|
3406
|
-
| Operator::V128Load64Zero { .. } => I64X2,
|
3407
|
-
|
3408
|
-
Operator::F32x4Splat
|
3409
|
-
| Operator::F32x4ExtractLane { .. }
|
3410
|
-
| Operator::F32x4ReplaceLane { .. }
|
3411
|
-
| Operator::F32x4Eq
|
3412
|
-
| Operator::F32x4Ne
|
3413
|
-
| Operator::F32x4Lt
|
3414
|
-
| Operator::F32x4Gt
|
3415
|
-
| Operator::F32x4Le
|
3416
|
-
| Operator::F32x4Ge
|
3417
|
-
| Operator::F32x4Abs
|
3418
|
-
| Operator::F32x4Neg
|
3419
|
-
| Operator::F32x4Sqrt
|
3420
|
-
| Operator::F32x4Add
|
3421
|
-
| Operator::F32x4Sub
|
3422
|
-
| Operator::F32x4Mul
|
3423
|
-
| Operator::F32x4Div
|
3424
|
-
| Operator::F32x4Min
|
3425
|
-
| Operator::F32x4Max
|
3426
|
-
| Operator::F32x4PMin
|
3427
|
-
| Operator::F32x4PMax
|
3428
|
-
| Operator::F32x4ConvertI32x4S
|
3429
|
-
| Operator::F32x4ConvertI32x4U
|
3430
|
-
| Operator::F32x4Ceil
|
3431
|
-
| Operator::F32x4Floor
|
3432
|
-
| Operator::F32x4Trunc
|
3433
|
-
| Operator::F32x4Nearest
|
3434
|
-
| Operator::F32x4RelaxedMax
|
3435
|
-
| Operator::F32x4RelaxedMin
|
3436
|
-
| Operator::F32x4RelaxedMadd
|
3437
|
-
| Operator::F32x4RelaxedNmadd => F32X4,
|
3438
|
-
|
3439
|
-
Operator::F64x2Splat
|
3440
|
-
| Operator::F64x2ExtractLane { .. }
|
3441
|
-
| Operator::F64x2ReplaceLane { .. }
|
3442
|
-
| Operator::F64x2Eq
|
3443
|
-
| Operator::F64x2Ne
|
3444
|
-
| Operator::F64x2Lt
|
3445
|
-
| Operator::F64x2Gt
|
3446
|
-
| Operator::F64x2Le
|
3447
|
-
| Operator::F64x2Ge
|
3448
|
-
| Operator::F64x2Abs
|
3449
|
-
| Operator::F64x2Neg
|
3450
|
-
| Operator::F64x2Sqrt
|
3451
|
-
| Operator::F64x2Add
|
3452
|
-
| Operator::F64x2Sub
|
3453
|
-
| Operator::F64x2Mul
|
3454
|
-
| Operator::F64x2Div
|
3455
|
-
| Operator::F64x2Min
|
3456
|
-
| Operator::F64x2Max
|
3457
|
-
| Operator::F64x2PMin
|
3458
|
-
| Operator::F64x2PMax
|
3459
|
-
| Operator::F64x2Ceil
|
3460
|
-
| Operator::F64x2Floor
|
3461
|
-
| Operator::F64x2Trunc
|
3462
|
-
| Operator::F64x2Nearest
|
3463
|
-
| Operator::F64x2RelaxedMax
|
3464
|
-
| Operator::F64x2RelaxedMin
|
3465
|
-
| Operator::F64x2RelaxedMadd
|
3466
|
-
| Operator::F64x2RelaxedNmadd => F64X2,
|
3467
|
-
|
3468
|
-
_ => unimplemented!(
|
3469
|
-
"Currently only SIMD instructions are mapped to their return type; the \
|
3470
|
-
following instruction is not mapped: {:?}",
|
3471
|
-
operator
|
3472
|
-
),
|
3473
|
-
}
|
3474
|
-
}
|
3475
|
-
|
3476
|
-
/// Some SIMD operations only operate on I8X16 in CLIF; this will convert them to that type by
|
3477
|
-
/// adding a bitcast if necessary.
|
3478
|
-
fn optionally_bitcast_vector(
|
3479
|
-
value: Value,
|
3480
|
-
needed_type: Type,
|
3481
|
-
builder: &mut FunctionBuilder,
|
3482
|
-
) -> Value {
|
3483
|
-
if builder.func.dfg.value_type(value) != needed_type {
|
3484
|
-
let mut flags = MemFlags::new();
|
3485
|
-
flags.set_endianness(ir::Endianness::Little);
|
3486
|
-
builder.ins().bitcast(needed_type, flags, value)
|
3487
|
-
} else {
|
3488
|
-
value
|
3489
|
-
}
|
3490
|
-
}
|
3491
|
-
|
3492
|
-
#[inline(always)]
|
3493
|
-
fn is_non_canonical_v128(ty: ir::Type) -> bool {
|
3494
|
-
match ty {
|
3495
|
-
I64X2 | I32X4 | I16X8 | F32X4 | F64X2 => true,
|
3496
|
-
_ => false,
|
3497
|
-
}
|
3498
|
-
}
|
3499
|
-
|
3500
|
-
/// Cast to I8X16, any vector values in `values` that are of "non-canonical" type (meaning, not
|
3501
|
-
/// I8X16), and return them in a slice. A pre-scan is made to determine whether any casts are
|
3502
|
-
/// actually necessary, and if not, the original slice is returned. Otherwise the cast values
|
3503
|
-
/// are returned in a slice that belongs to the caller-supplied `SmallVec`.
|
3504
|
-
fn canonicalise_v128_values<'a>(
|
3505
|
-
tmp_canonicalised: &'a mut SmallVec<[ir::Value; 16]>,
|
3506
|
-
builder: &mut FunctionBuilder,
|
3507
|
-
values: &'a [ir::Value],
|
3508
|
-
) -> &'a [ir::Value] {
|
3509
|
-
debug_assert!(tmp_canonicalised.is_empty());
|
3510
|
-
// First figure out if any of the parameters need to be cast. Mostly they don't need to be.
|
3511
|
-
let any_non_canonical = values
|
3512
|
-
.iter()
|
3513
|
-
.any(|v| is_non_canonical_v128(builder.func.dfg.value_type(*v)));
|
3514
|
-
// Hopefully we take this exit most of the time, hence doing no heap allocation.
|
3515
|
-
if !any_non_canonical {
|
3516
|
-
return values;
|
3517
|
-
}
|
3518
|
-
// Otherwise we'll have to cast, and push the resulting `Value`s into `canonicalised`.
|
3519
|
-
for v in values {
|
3520
|
-
tmp_canonicalised.push(if is_non_canonical_v128(builder.func.dfg.value_type(*v)) {
|
3521
|
-
let mut flags = MemFlags::new();
|
3522
|
-
flags.set_endianness(ir::Endianness::Little);
|
3523
|
-
builder.ins().bitcast(I8X16, flags, *v)
|
3524
|
-
} else {
|
3525
|
-
*v
|
3526
|
-
});
|
3527
|
-
}
|
3528
|
-
tmp_canonicalised.as_slice()
|
3529
|
-
}
|
3530
|
-
|
3531
|
-
/// Generate a `jump` instruction, but first cast all 128-bit vector values to I8X16 if they
|
3532
|
-
/// don't have that type. This is done in somewhat roundabout way so as to ensure that we
|
3533
|
-
/// almost never have to do any heap allocation.
|
3534
|
-
fn canonicalise_then_jump(
|
3535
|
-
builder: &mut FunctionBuilder,
|
3536
|
-
destination: ir::Block,
|
3537
|
-
params: &[ir::Value],
|
3538
|
-
) -> ir::Inst {
|
3539
|
-
let mut tmp_canonicalised = SmallVec::<[ir::Value; 16]>::new();
|
3540
|
-
let canonicalised = canonicalise_v128_values(&mut tmp_canonicalised, builder, params);
|
3541
|
-
builder.ins().jump(destination, canonicalised)
|
3542
|
-
}
|
3543
|
-
|
3544
|
-
/// The same but for a `brif` instruction.
|
3545
|
-
fn canonicalise_brif(
|
3546
|
-
builder: &mut FunctionBuilder,
|
3547
|
-
cond: ir::Value,
|
3548
|
-
block_then: ir::Block,
|
3549
|
-
params_then: &[ir::Value],
|
3550
|
-
block_else: ir::Block,
|
3551
|
-
params_else: &[ir::Value],
|
3552
|
-
) -> ir::Inst {
|
3553
|
-
let mut tmp_canonicalised_then = SmallVec::<[ir::Value; 16]>::new();
|
3554
|
-
let canonicalised_then =
|
3555
|
-
canonicalise_v128_values(&mut tmp_canonicalised_then, builder, params_then);
|
3556
|
-
let mut tmp_canonicalised_else = SmallVec::<[ir::Value; 16]>::new();
|
3557
|
-
let canonicalised_else =
|
3558
|
-
canonicalise_v128_values(&mut tmp_canonicalised_else, builder, params_else);
|
3559
|
-
builder.ins().brif(
|
3560
|
-
cond,
|
3561
|
-
block_then,
|
3562
|
-
canonicalised_then,
|
3563
|
-
block_else,
|
3564
|
-
canonicalised_else,
|
3565
|
-
)
|
3566
|
-
}
|
3567
|
-
|
3568
|
-
/// A helper for popping and bitcasting a single value; since SIMD values can lose their type by
|
3569
|
-
/// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
|
3570
|
-
/// typing issues.
|
3571
|
-
fn pop1_with_bitcast(
|
3572
|
-
state: &mut FuncTranslationState,
|
3573
|
-
needed_type: Type,
|
3574
|
-
builder: &mut FunctionBuilder,
|
3575
|
-
) -> Value {
|
3576
|
-
optionally_bitcast_vector(state.pop1(), needed_type, builder)
|
3577
|
-
}
|
3578
|
-
|
3579
|
-
/// A helper for popping and bitcasting two values; since SIMD values can lose their type by
|
3580
|
-
/// using v128 (i.e. CLIF's I8x16) we must re-type the values using a bitcast to avoid CLIF
|
3581
|
-
/// typing issues.
|
3582
|
-
fn pop2_with_bitcast(
|
3583
|
-
state: &mut FuncTranslationState,
|
3584
|
-
needed_type: Type,
|
3585
|
-
builder: &mut FunctionBuilder,
|
3586
|
-
) -> (Value, Value) {
|
3587
|
-
let (a, b) = state.pop2();
|
3588
|
-
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3589
|
-
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3590
|
-
(bitcast_a, bitcast_b)
|
3591
|
-
}
|
3592
|
-
|
3593
|
-
fn pop3_with_bitcast(
|
3594
|
-
state: &mut FuncTranslationState,
|
3595
|
-
needed_type: Type,
|
3596
|
-
builder: &mut FunctionBuilder,
|
3597
|
-
) -> (Value, Value, Value) {
|
3598
|
-
let (a, b, c) = state.pop3();
|
3599
|
-
let bitcast_a = optionally_bitcast_vector(a, needed_type, builder);
|
3600
|
-
let bitcast_b = optionally_bitcast_vector(b, needed_type, builder);
|
3601
|
-
let bitcast_c = optionally_bitcast_vector(c, needed_type, builder);
|
3602
|
-
(bitcast_a, bitcast_b, bitcast_c)
|
3603
|
-
}
|
3604
|
-
|
3605
|
-
fn bitcast_arguments<'a>(
|
3606
|
-
builder: &FunctionBuilder,
|
3607
|
-
arguments: &'a mut [Value],
|
3608
|
-
params: &[ir::AbiParam],
|
3609
|
-
param_predicate: impl Fn(usize) -> bool,
|
3610
|
-
) -> Vec<(Type, &'a mut Value)> {
|
3611
|
-
let filtered_param_types = params
|
3612
|
-
.iter()
|
3613
|
-
.enumerate()
|
3614
|
-
.filter(|(i, _)| param_predicate(*i))
|
3615
|
-
.map(|(_, param)| param.value_type);
|
3616
|
-
|
3617
|
-
// zip_eq, from the itertools::Itertools trait, is like Iterator::zip but panics if one
|
3618
|
-
// iterator ends before the other. The `param_predicate` is required to select exactly as many
|
3619
|
-
// elements of `params` as there are elements in `arguments`.
|
3620
|
-
let pairs = filtered_param_types.zip_eq(arguments.iter_mut());
|
3621
|
-
|
3622
|
-
// The arguments which need to be bitcasted are those which have some vector type but the type
|
3623
|
-
// expected by the parameter is not the same vector type as that of the provided argument.
|
3624
|
-
pairs
|
3625
|
-
.filter(|(param_type, _)| param_type.is_vector())
|
3626
|
-
.filter(|(param_type, arg)| {
|
3627
|
-
let arg_type = builder.func.dfg.value_type(**arg);
|
3628
|
-
assert!(
|
3629
|
-
arg_type.is_vector(),
|
3630
|
-
"unexpected type mismatch: expected {}, argument {} was actually of type {}",
|
3631
|
-
param_type,
|
3632
|
-
*arg,
|
3633
|
-
arg_type
|
3634
|
-
);
|
3635
|
-
|
3636
|
-
// This is the same check that would be done by `optionally_bitcast_vector`, except we
|
3637
|
-
// can't take a mutable borrow of the FunctionBuilder here, so we defer inserting the
|
3638
|
-
// bitcast instruction to the caller.
|
3639
|
-
arg_type != *param_type
|
3640
|
-
})
|
3641
|
-
.collect()
|
3642
|
-
}
|
3643
|
-
|
3644
|
-
/// A helper for bitcasting a sequence of return values for the function currently being built. If
|
3645
|
-
/// a value is a vector type that does not match its expected type, this will modify the value in
|
3646
|
-
/// place to point to the result of a `bitcast`. This conversion is necessary to translate Wasm
|
3647
|
-
/// code that uses `V128` as function parameters (or implicitly in block parameters) and still use
|
3648
|
-
/// specific CLIF types (e.g. `I32X4`) in the function body.
|
3649
|
-
pub fn bitcast_wasm_returns<FE: FuncEnvironment + ?Sized>(
|
3650
|
-
environ: &mut FE,
|
3651
|
-
arguments: &mut [Value],
|
3652
|
-
builder: &mut FunctionBuilder,
|
3653
|
-
) {
|
3654
|
-
let changes = bitcast_arguments(builder, arguments, &builder.func.signature.returns, |i| {
|
3655
|
-
environ.is_wasm_return(&builder.func.signature, i)
|
3656
|
-
});
|
3657
|
-
for (t, arg) in changes {
|
3658
|
-
let mut flags = MemFlags::new();
|
3659
|
-
flags.set_endianness(ir::Endianness::Little);
|
3660
|
-
*arg = builder.ins().bitcast(t, flags, *arg);
|
3661
|
-
}
|
3662
|
-
}
|
3663
|
-
|
3664
|
-
/// Like `bitcast_wasm_returns`, but for the parameters being passed to a specified callee.
|
3665
|
-
fn bitcast_wasm_params<FE: FuncEnvironment + ?Sized>(
|
3666
|
-
environ: &mut FE,
|
3667
|
-
callee_signature: ir::SigRef,
|
3668
|
-
arguments: &mut [Value],
|
3669
|
-
builder: &mut FunctionBuilder,
|
3670
|
-
) {
|
3671
|
-
let callee_signature = &builder.func.dfg.signatures[callee_signature];
|
3672
|
-
let changes = bitcast_arguments(builder, arguments, &callee_signature.params, |i| {
|
3673
|
-
environ.is_wasm_parameter(&callee_signature, i)
|
3674
|
-
});
|
3675
|
-
for (t, arg) in changes {
|
3676
|
-
let mut flags = MemFlags::new();
|
3677
|
-
flags.set_endianness(ir::Endianness::Little);
|
3678
|
-
*arg = builder.ins().bitcast(t, flags, *arg);
|
3679
|
-
}
|
3680
|
-
}
|