wasmtime 15.0.1 → 16.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 +83 -103
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/src/lib.rs +183 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/Cargo.toml +175 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/cost.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/elaborate.rs +750 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph.rs +703 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/dfg.rs +1735 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/pcc.rs +1682 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/aarch64/lower/isle.rs +874 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst/mod.rs +2041 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst.isle +2928 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/lower.isle +2864 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/s390x/lower/isle.rs +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/lower/isle.rs +1064 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/pcc.rs +916 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isle_prelude.rs +977 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/machinst/isle.rs +896 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/arithmetic.isle +152 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/cprop.isle +237 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/icmp.isle +199 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/selects.isle +76 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts.rs +172 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/prelude.isle +649 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/timing.rs +297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/unionfind.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/src/lib.rs +10 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/lib.rs +317 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/primary.rs +516 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/unsigned.rs +71 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/src/lib.rs +189 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_constructor_main.rs +88 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_extractor_main.rs +63 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/src/codegen.rs +886 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/src/lib.rs +184 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/environ/dummy.rs +953 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/lib.rs +62 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/translation_utils.rs +89 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/Cargo.toml +102 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/lib.rs +76 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/snapshots/preview_1.rs +1492 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/Cargo.toml +211 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/compiler.rs +682 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/component.rs +505 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/func/typed.rs +2400 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/config.rs +2422 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/func.rs +2391 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/lib.rs +520 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/memory.rs +998 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/module.rs +1370 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/stack.rs +73 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/v128.rs +122 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler/component.rs +959 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler.rs +1317 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/func_environ.rs +2750 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.lock +660 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/compilation.rs +402 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/translate.rs +951 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/types.rs +1876 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/lib.rs +59 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module.rs +1075 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_environ.rs +892 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_types.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/scopevec.rs +78 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/lib.rs +328 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/windows.c +9 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/code_memory.rs +319 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/instantiate.rs +772 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/lib.rs +21 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/Cargo.toml +139 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/build.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/proptest-regressions/instance/allocator/pooling/memory_pool.txt +9 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/aarch64.rs +120 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/mod.rs +32 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/riscv64.rs +88 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/s390x.rs +61 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/x86_64.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/cow.rs +888 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/helpers.c +113 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/memory_pool.rs +1005 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/table_pool.rs +227 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling.rs +698 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/lib.rs +264 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/libcalls.rs +776 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mmap.rs +214 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/enabled.rs +204 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/pkru.rs +102 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/mod.rs +10 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/traphandlers.rs +42 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/vm.rs +63 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/machports.rs +487 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/macos_traphandlers.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/mod.rs +21 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/signals.rs +402 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/unwind.rs +91 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/vm.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/mod.rs +6 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/traphandlers.rs +105 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/unwind.rs +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/vm.rs +79 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers/backtrace.rs +265 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers.rs +733 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/vmcontext.rs +1197 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/Cargo.toml +261 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/lib.rs +137 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/io.rs +368 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/network.rs +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/tcp.rs +632 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/udp.rs +550 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/mod.rs +328 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview0.rs +870 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview1.rs +2348 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stdio.rs +259 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stream.rs +182 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/table.rs +337 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/api.rs +218 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/async_.rs +360 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/main.rs +113 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/preview1.rs +239 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/sync.rs +299 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/process_stdin.rs +165 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/command-extended.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/command.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/imports.wit +20 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/proxy.wit +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/types.wit +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/test.wit +22 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/typenames.witx +746 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/wasi_unstable.witx +513 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/Cargo.toml +77 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/src/compiler.rs +243 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/Cargo.toml +29 -0
- data/ext/cargo-vendor/wiggle-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-16.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wiggle-16.0.0/src/lib.rs +1198 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/handle.rs +84 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/record.rs +132 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/variant.rs +191 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/Cargo.toml +76 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/local.rs +81 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/mod.rs +614 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/call.rs +345 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/context.rs +545 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/control.rs +497 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/env.rs +251 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/mod.rs +428 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/frame/mod.rs +221 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/abi.rs +313 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/masm.rs +444 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/mod.rs +137 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/mod.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/abi.rs +524 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/asm.rs +1117 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/masm.rs +994 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/regs.rs +247 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/masm.rs +679 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/stack.rs +436 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/trampoline.rs +734 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/visitor.rs +1383 -0
- data/lib/wasmtime/version.rb +1 -1
- metadata +903 -977
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/src/lib.rs +0 -184
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/Cargo.toml +0 -164
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/cost.rs +0 -91
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/elaborate.rs +0 -731
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph.rs +0 -678
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/dfg.rs +0 -1730
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/pcc.rs +0 -1682
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/aarch64/lower/isle.rs +0 -875
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst/mod.rs +0 -2041
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst.isle +0 -2909
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/lower.isle +0 -2860
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/s390x/lower/isle.rs +0 -1029
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/lower/isle.rs +0 -1070
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/pcc.rs +0 -884
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isle_prelude.rs +0 -972
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/lib.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/machinst/isle.rs +0 -897
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/arithmetic.isle +0 -128
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/cprop.isle +0 -210
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/selects.isle +0 -59
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/prelude.isle +0 -646
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/timing.rs +0 -271
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/unionfind.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/Cargo.toml +0 -26
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/src/lib.rs +0 -12
- data/ext/cargo-vendor/cranelift-control-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.102.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.102.1/Cargo.toml +0 -41
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/lib.rs +0 -316
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/primary.rs +0 -456
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/src/lib.rs +0 -191
- data/ext/cargo-vendor/cranelift-isle-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.102.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_constructor_main.rs +0 -71
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_extractor_main.rs +0 -50
- data/ext/cargo-vendor/cranelift-isle-0.102.1/src/codegen.rs +0 -763
- data/ext/cargo-vendor/cranelift-native-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.102.1/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.102.1/src/lib.rs +0 -190
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/Cargo.toml +0 -97
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/environ/dummy.rs +0 -953
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/lib.rs +0 -64
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/translation_utils.rs +0 -97
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/Cargo.toml +0 -93
- data/ext/cargo-vendor/wasi-common-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-15.0.1/Cargo.toml +0 -122
- data/ext/cargo-vendor/wasi-common-15.0.1/src/lib.rs +0 -73
- data/ext/cargo-vendor/wasi-common-15.0.1/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasm-encoder-0.36.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.36.2/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasm-encoder-0.36.2/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/types.rs +0 -771
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/code.rs +0 -2989
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/data.rs +0 -185
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/elements.rs +0 -220
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/globals.rs +0 -100
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/imports.rs +0 -155
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/memories.rs +0 -111
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/names.rs +0 -265
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tables.rs +0 -115
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/types.rs +0 -584
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.lock +0 -674
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.toml +0 -60
- data/ext/cargo-vendor/wasmparser-0.116.1/README.md +0 -36
- data/ext/cargo-vendor/wasmparser-0.116.1/benches/benchmark.rs +0 -370
- data/ext/cargo-vendor/wasmparser-0.116.1/examples/simple.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/binary_reader.rs +0 -1706
- data/ext/cargo-vendor/wasmparser-0.116.1/src/define_types.rs +0 -782
- data/ext/cargo-vendor/wasmparser-0.116.1/src/lib.rs +0 -729
- data/ext/cargo-vendor/wasmparser-0.116.1/src/limits.rs +0 -58
- data/ext/cargo-vendor/wasmparser-0.116.1/src/parser.rs +0 -1612
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/aliases.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/canonicals.rs +0 -120
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/exports.rs +0 -135
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/imports.rs +0 -129
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/instances.rs +0 -163
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/start.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/coredumps.rs +0 -243
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/custom.rs +0 -63
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/dylink0.rs +0 -132
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/exports.rs +0 -65
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/functions.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/globals.rs +0 -49
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/imports.rs +0 -76
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/init.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/memories.rs +0 -56
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/names.rs +0 -153
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/operators.rs +0 -354
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/producers.rs +0 -83
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tables.rs +0 -87
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tags.rs +0 -32
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/types.rs +0 -544
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.116.1/src/resources.rs +0 -398
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/component.rs +0 -3203
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/core.rs +0 -1341
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/func.rs +0 -348
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/names.rs +0 -859
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/operators.rs +0 -3466
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/types.rs +0 -4011
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator.rs +0 -1603
- data/ext/cargo-vendor/wasmparser-0.116.1/tests/big-module.rs +0 -33
- data/ext/cargo-vendor/wasmtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-15.0.1/Cargo.toml +0 -202
- data/ext/cargo-vendor/wasmtime-15.0.1/src/compiler.rs +0 -682
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/component.rs +0 -505
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/func/typed.rs +0 -2398
- data/ext/cargo-vendor/wasmtime-15.0.1/src/config.rs +0 -2422
- data/ext/cargo-vendor/wasmtime-15.0.1/src/func.rs +0 -2428
- data/ext/cargo-vendor/wasmtime-15.0.1/src/lib.rs +0 -518
- data/ext/cargo-vendor/wasmtime-15.0.1/src/memory.rs +0 -996
- data/ext/cargo-vendor/wasmtime-15.0.1/src/module.rs +0 -1370
- data/ext/cargo-vendor/wasmtime-15.0.1/src/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-15.0.1/src/v128.rs +0 -151
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/lib.rs +0 -238
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/worker.rs +0 -894
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/Cargo.toml +0 -103
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler/component.rs +0 -959
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler.rs +0 -1317
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/expression.rs +0 -1250
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/simulate.rs +0 -410
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/func_environ.rs +0 -2746
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/Cargo.toml +0 -62
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.lock +0 -677
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/translate.rs +0 -951
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/types.rs +0 -1870
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/lib.rs +0 -59
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module.rs +0 -1083
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_environ.rs +0 -876
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_types.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/scopevec.rs +0 -57
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/lib.rs +0 -327
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/windows.c +0 -9
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/Cargo.toml +0 -115
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/code_memory.rs +0 -321
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/instantiate.rs +0 -766
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/lib.rs +0 -22
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/miri.rs +0 -15
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/systemv.rs +0 -90
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/winx64.rs +0 -44
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind.rs +0 -14
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/Cargo.toml +0 -126
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/build.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -8
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/cow.rs +0 -1060
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/helpers.c +0 -108
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/memory_pool.rs +0 -999
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/stack_pool.rs +0 -242
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/table_pool.rs +0 -225
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/unix.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/windows.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling.rs +0 -708
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/lib.rs +0 -279
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/libcalls.rs +0 -775
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mmap.rs +0 -226
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/enabled.rs +0 -201
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/pkru.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/aarch64.rs +0 -42
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/riscv64.rs +0 -45
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/s390x.rs +0 -25
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/x86_64.rs +0 -64
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/aarch64.rs +0 -55
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/riscv64.rs +0 -18
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/s390x.rs +0 -22
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/x86_64.rs +0 -20
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace.rs +0 -291
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/macos.rs +0 -492
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/unix.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/windows.rs +0 -89
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers.rs +0 -815
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/vmcontext.rs +0 -1197
- data/ext/cargo-vendor/wasmtime-types-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-15.0.1/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-15.0.1/src/lib.rs +0 -504
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/Cargo.toml +0 -248
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/lib.rs +0 -135
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/io.rs +0 -368
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/network.rs +0 -515
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/tcp.rs +0 -630
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/udp.rs +0 -543
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/mod.rs +0 -326
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/preview1.rs +0 -2342
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stdio.rs +0 -450
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stream.rs +0 -182
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/table.rs +0 -258
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/command-extended.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/command.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/reactor.wit +0 -31
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/proxy.wit +0 -33
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/types.wit +0 -559
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/test.wit +0 -22
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/Cargo.toml +0 -68
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/src/compiler.rs +0 -242
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wiggle-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-15.0.1/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-15.0.1/src/lib.rs +0 -1198
- data/ext/cargo-vendor/wiggle-generate-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/handle.rs +0 -84
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/record.rs +0 -132
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/variant.rs +0 -191
- data/ext/cargo-vendor/wiggle-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-15.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.13.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.13.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/local.rs +0 -70
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/mod.rs +0 -304
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/call.rs +0 -353
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/context.rs +0 -465
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/control.rs +0 -456
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/env.rs +0 -181
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/mod.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/frame/mod.rs +0 -189
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/abi.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/masm.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/mod.rs +0 -136
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/mod.rs +0 -218
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/abi.rs +0 -410
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/asm.rs +0 -1106
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/masm.rs +0 -953
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/mod.rs +0 -172
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/regs.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/masm.rs +0 -592
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/stack.rs +0 -366
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/trampoline.rs +0 -489
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/visitor.rs +0 -1339
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/buffer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/vcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.36.2 → wasmtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine/serialization.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-15.0.1 → wasmtime-asm-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.116.1 → wasmtime-cache-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-15.0.1 → wasmtime-component-util-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-cranelift-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-environ-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-fiber-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-jit-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-runtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/trampolines → wasmtime-runtime-16.0.0/src/arch}/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/on_demand.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/miri.rs → wasmtime-runtime-16.0.0/src/sys/miri/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/unix.rs → wasmtime-runtime-16.0.0/src/sys/unix/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/windows.rs → wasmtime-runtime-16.0.0/src/sys/windows/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/traphandlers/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-types-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wasmtime-types-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-15.0.1 → wasmtime-versioned-export-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-wasi-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/command.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wmemcheck-15.0.1 → wasmtime-wmemcheck-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wiggle-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wiggle-generate-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-macro-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-15.0.1 → wiggle-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regset.rs +0 -0
@@ -1,1730 +0,0 @@
|
|
1
|
-
//! Data flow graph tracking Instructions, Values, and blocks.
|
2
|
-
|
3
|
-
use crate::entity::{self, PrimaryMap, SecondaryMap};
|
4
|
-
use crate::ir;
|
5
|
-
use crate::ir::builder::ReplaceBuilder;
|
6
|
-
use crate::ir::dynamic_type::{DynamicTypeData, DynamicTypes};
|
7
|
-
use crate::ir::instructions::{CallInfo, InstructionData};
|
8
|
-
use crate::ir::pcc::Fact;
|
9
|
-
use crate::ir::{
|
10
|
-
types, Block, BlockCall, ConstantData, ConstantPool, DynamicType, ExtFuncData, FuncRef,
|
11
|
-
Immediate, Inst, JumpTables, RelSourceLoc, SigRef, Signature, Type, Value,
|
12
|
-
ValueLabelAssignments, ValueList, ValueListPool,
|
13
|
-
};
|
14
|
-
use crate::packed_option::ReservedValue;
|
15
|
-
use crate::write::write_operands;
|
16
|
-
use core::fmt;
|
17
|
-
use core::iter;
|
18
|
-
use core::mem;
|
19
|
-
use core::ops::{Index, IndexMut};
|
20
|
-
use core::u16;
|
21
|
-
|
22
|
-
use alloc::collections::BTreeMap;
|
23
|
-
#[cfg(feature = "enable-serde")]
|
24
|
-
use serde_derive::{Deserialize, Serialize};
|
25
|
-
use smallvec::SmallVec;
|
26
|
-
|
27
|
-
/// Storage for instructions within the DFG.
|
28
|
-
#[derive(Clone, PartialEq, Hash)]
|
29
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
30
|
-
pub struct Insts(PrimaryMap<Inst, InstructionData>);
|
31
|
-
|
32
|
-
/// Allow immutable access to instructions via indexing.
|
33
|
-
impl Index<Inst> for Insts {
|
34
|
-
type Output = InstructionData;
|
35
|
-
|
36
|
-
fn index(&self, inst: Inst) -> &InstructionData {
|
37
|
-
self.0.index(inst)
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
/// Allow mutable access to instructions via indexing.
|
42
|
-
impl IndexMut<Inst> for Insts {
|
43
|
-
fn index_mut(&mut self, inst: Inst) -> &mut InstructionData {
|
44
|
-
self.0.index_mut(inst)
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
/// Storage for basic blocks within the DFG.
|
49
|
-
#[derive(Clone, PartialEq, Hash)]
|
50
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
51
|
-
pub struct Blocks(PrimaryMap<Block, BlockData>);
|
52
|
-
|
53
|
-
impl Blocks {
|
54
|
-
/// Create a new basic block.
|
55
|
-
pub fn add(&mut self) -> Block {
|
56
|
-
self.0.push(BlockData::new())
|
57
|
-
}
|
58
|
-
|
59
|
-
/// Get the total number of basic blocks created in this function, whether they are
|
60
|
-
/// currently inserted in the layout or not.
|
61
|
-
///
|
62
|
-
/// This is intended for use with `SecondaryMap::with_capacity`.
|
63
|
-
pub fn len(&self) -> usize {
|
64
|
-
self.0.len()
|
65
|
-
}
|
66
|
-
|
67
|
-
/// Returns `true` if the given block reference is valid.
|
68
|
-
pub fn is_valid(&self, block: Block) -> bool {
|
69
|
-
self.0.is_valid(block)
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
impl Index<Block> for Blocks {
|
74
|
-
type Output = BlockData;
|
75
|
-
|
76
|
-
fn index(&self, block: Block) -> &BlockData {
|
77
|
-
&self.0[block]
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
impl IndexMut<Block> for Blocks {
|
82
|
-
fn index_mut(&mut self, block: Block) -> &mut BlockData {
|
83
|
-
&mut self.0[block]
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
/// A data flow graph defines all instructions and basic blocks in a function as well as
|
88
|
-
/// the data flow dependencies between them. The DFG also tracks values which can be either
|
89
|
-
/// instruction results or block parameters.
|
90
|
-
///
|
91
|
-
/// The layout of blocks in the function and of instructions in each block is recorded by the
|
92
|
-
/// `Layout` data structure which forms the other half of the function representation.
|
93
|
-
///
|
94
|
-
#[derive(Clone, PartialEq, Hash)]
|
95
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
96
|
-
pub struct DataFlowGraph {
|
97
|
-
/// Data about all of the instructions in the function, including opcodes and operands.
|
98
|
-
/// The instructions in this map are not in program order. That is tracked by `Layout`, along
|
99
|
-
/// with the block containing each instruction.
|
100
|
-
pub insts: Insts,
|
101
|
-
|
102
|
-
/// List of result values for each instruction.
|
103
|
-
///
|
104
|
-
/// This map gets resized automatically by `make_inst()` so it is always in sync with the
|
105
|
-
/// primary `insts` map.
|
106
|
-
results: SecondaryMap<Inst, ValueList>,
|
107
|
-
|
108
|
-
/// basic blocks in the function and their parameters.
|
109
|
-
///
|
110
|
-
/// This map is not in program order. That is handled by `Layout`, and so is the sequence of
|
111
|
-
/// instructions contained in each block.
|
112
|
-
pub blocks: Blocks,
|
113
|
-
|
114
|
-
/// Dynamic types created.
|
115
|
-
pub dynamic_types: DynamicTypes,
|
116
|
-
|
117
|
-
/// Memory pool of value lists.
|
118
|
-
///
|
119
|
-
/// The `ValueList` references into this pool appear in many places:
|
120
|
-
///
|
121
|
-
/// - Instructions in `insts` that don't have room for their entire argument list inline.
|
122
|
-
/// - Instruction result values in `results`.
|
123
|
-
/// - block parameters in `blocks`.
|
124
|
-
pub value_lists: ValueListPool,
|
125
|
-
|
126
|
-
/// Primary value table with entries for all values.
|
127
|
-
values: PrimaryMap<Value, ValueDataPacked>,
|
128
|
-
|
129
|
-
/// Facts: proof-carrying-code assertions about values.
|
130
|
-
pub facts: SecondaryMap<Value, Option<Fact>>,
|
131
|
-
|
132
|
-
/// Function signature table. These signatures are referenced by indirect call instructions as
|
133
|
-
/// well as the external function references.
|
134
|
-
pub signatures: PrimaryMap<SigRef, Signature>,
|
135
|
-
|
136
|
-
/// The pre-legalization signature for each entry in `signatures`, if any.
|
137
|
-
pub old_signatures: SecondaryMap<SigRef, Option<Signature>>,
|
138
|
-
|
139
|
-
/// External function references. These are functions that can be called directly.
|
140
|
-
pub ext_funcs: PrimaryMap<FuncRef, ExtFuncData>,
|
141
|
-
|
142
|
-
/// Saves Value labels.
|
143
|
-
pub values_labels: Option<BTreeMap<Value, ValueLabelAssignments>>,
|
144
|
-
|
145
|
-
/// Constants used within the function.
|
146
|
-
pub constants: ConstantPool,
|
147
|
-
|
148
|
-
/// Stores large immediates that otherwise will not fit on InstructionData.
|
149
|
-
pub immediates: PrimaryMap<Immediate, ConstantData>,
|
150
|
-
|
151
|
-
/// Jump tables used in this function.
|
152
|
-
pub jump_tables: JumpTables,
|
153
|
-
}
|
154
|
-
|
155
|
-
impl DataFlowGraph {
|
156
|
-
/// Create a new empty `DataFlowGraph`.
|
157
|
-
pub fn new() -> Self {
|
158
|
-
Self {
|
159
|
-
insts: Insts(PrimaryMap::new()),
|
160
|
-
results: SecondaryMap::new(),
|
161
|
-
blocks: Blocks(PrimaryMap::new()),
|
162
|
-
dynamic_types: DynamicTypes::new(),
|
163
|
-
value_lists: ValueListPool::new(),
|
164
|
-
values: PrimaryMap::new(),
|
165
|
-
facts: SecondaryMap::new(),
|
166
|
-
signatures: PrimaryMap::new(),
|
167
|
-
old_signatures: SecondaryMap::new(),
|
168
|
-
ext_funcs: PrimaryMap::new(),
|
169
|
-
values_labels: None,
|
170
|
-
constants: ConstantPool::new(),
|
171
|
-
immediates: PrimaryMap::new(),
|
172
|
-
jump_tables: JumpTables::new(),
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
/// Clear everything.
|
177
|
-
pub fn clear(&mut self) {
|
178
|
-
self.insts.0.clear();
|
179
|
-
self.results.clear();
|
180
|
-
self.blocks.0.clear();
|
181
|
-
self.dynamic_types.clear();
|
182
|
-
self.value_lists.clear();
|
183
|
-
self.values.clear();
|
184
|
-
self.signatures.clear();
|
185
|
-
self.old_signatures.clear();
|
186
|
-
self.ext_funcs.clear();
|
187
|
-
self.values_labels = None;
|
188
|
-
self.constants.clear();
|
189
|
-
self.immediates.clear();
|
190
|
-
self.jump_tables.clear();
|
191
|
-
self.facts.clear();
|
192
|
-
}
|
193
|
-
|
194
|
-
/// Get the total number of instructions created in this function, whether they are currently
|
195
|
-
/// inserted in the layout or not.
|
196
|
-
///
|
197
|
-
/// This is intended for use with `SecondaryMap::with_capacity`.
|
198
|
-
pub fn num_insts(&self) -> usize {
|
199
|
-
self.insts.0.len()
|
200
|
-
}
|
201
|
-
|
202
|
-
/// Returns `true` if the given instruction reference is valid.
|
203
|
-
pub fn inst_is_valid(&self, inst: Inst) -> bool {
|
204
|
-
self.insts.0.is_valid(inst)
|
205
|
-
}
|
206
|
-
|
207
|
-
/// Get the total number of basic blocks created in this function, whether they are
|
208
|
-
/// currently inserted in the layout or not.
|
209
|
-
///
|
210
|
-
/// This is intended for use with `SecondaryMap::with_capacity`.
|
211
|
-
pub fn num_blocks(&self) -> usize {
|
212
|
-
self.blocks.len()
|
213
|
-
}
|
214
|
-
|
215
|
-
/// Returns `true` if the given block reference is valid.
|
216
|
-
pub fn block_is_valid(&self, block: Block) -> bool {
|
217
|
-
self.blocks.is_valid(block)
|
218
|
-
}
|
219
|
-
|
220
|
-
/// Make a BlockCall, bundling together the block and its arguments.
|
221
|
-
pub fn block_call(&mut self, block: Block, args: &[Value]) -> BlockCall {
|
222
|
-
BlockCall::new(block, args, &mut self.value_lists)
|
223
|
-
}
|
224
|
-
|
225
|
-
/// Get the total number of values.
|
226
|
-
pub fn num_values(&self) -> usize {
|
227
|
-
self.values.len()
|
228
|
-
}
|
229
|
-
|
230
|
-
/// Get an iterator over all values and their definitions.
|
231
|
-
pub fn values_and_defs(&self) -> impl Iterator<Item = (Value, ValueDef)> + '_ {
|
232
|
-
self.values().map(|value| (value, self.value_def(value)))
|
233
|
-
}
|
234
|
-
|
235
|
-
/// Starts collection of debug information.
|
236
|
-
pub fn collect_debug_info(&mut self) {
|
237
|
-
if self.values_labels.is_none() {
|
238
|
-
self.values_labels = Some(Default::default());
|
239
|
-
}
|
240
|
-
}
|
241
|
-
|
242
|
-
/// Inserts a `ValueLabelAssignments::Alias` for `to_alias` if debug info
|
243
|
-
/// collection is enabled.
|
244
|
-
pub fn add_value_label_alias(&mut self, to_alias: Value, from: RelSourceLoc, value: Value) {
|
245
|
-
if let Some(values_labels) = self.values_labels.as_mut() {
|
246
|
-
values_labels.insert(to_alias, ir::ValueLabelAssignments::Alias { from, value });
|
247
|
-
}
|
248
|
-
}
|
249
|
-
}
|
250
|
-
|
251
|
-
/// Resolve value aliases.
|
252
|
-
///
|
253
|
-
/// Find the original SSA value that `value` aliases, or None if an
|
254
|
-
/// alias cycle is detected.
|
255
|
-
fn maybe_resolve_aliases(
|
256
|
-
values: &PrimaryMap<Value, ValueDataPacked>,
|
257
|
-
value: Value,
|
258
|
-
) -> Option<Value> {
|
259
|
-
let mut v = value;
|
260
|
-
|
261
|
-
// Note that values may be empty here.
|
262
|
-
for _ in 0..=values.len() {
|
263
|
-
if let ValueData::Alias { original, .. } = ValueData::from(values[v]) {
|
264
|
-
v = original;
|
265
|
-
} else {
|
266
|
-
return Some(v);
|
267
|
-
}
|
268
|
-
}
|
269
|
-
|
270
|
-
None
|
271
|
-
}
|
272
|
-
|
273
|
-
/// Resolve value aliases.
|
274
|
-
///
|
275
|
-
/// Find the original SSA value that `value` aliases.
|
276
|
-
fn resolve_aliases(values: &PrimaryMap<Value, ValueDataPacked>, value: Value) -> Value {
|
277
|
-
if let Some(v) = maybe_resolve_aliases(values, value) {
|
278
|
-
v
|
279
|
-
} else {
|
280
|
-
panic!("Value alias loop detected for {}", value);
|
281
|
-
}
|
282
|
-
}
|
283
|
-
|
284
|
-
/// Iterator over all Values in a DFG.
|
285
|
-
pub struct Values<'a> {
|
286
|
-
inner: entity::Iter<'a, Value, ValueDataPacked>,
|
287
|
-
}
|
288
|
-
|
289
|
-
/// Check for non-values.
|
290
|
-
fn valid_valuedata(data: ValueDataPacked) -> bool {
|
291
|
-
let data = ValueData::from(data);
|
292
|
-
if let ValueData::Alias {
|
293
|
-
ty: types::INVALID,
|
294
|
-
original,
|
295
|
-
} = ValueData::from(data)
|
296
|
-
{
|
297
|
-
if original == Value::reserved_value() {
|
298
|
-
return false;
|
299
|
-
}
|
300
|
-
}
|
301
|
-
true
|
302
|
-
}
|
303
|
-
|
304
|
-
impl<'a> Iterator for Values<'a> {
|
305
|
-
type Item = Value;
|
306
|
-
|
307
|
-
fn next(&mut self) -> Option<Self::Item> {
|
308
|
-
self.inner
|
309
|
-
.by_ref()
|
310
|
-
.find(|kv| valid_valuedata(*kv.1))
|
311
|
-
.map(|kv| kv.0)
|
312
|
-
}
|
313
|
-
}
|
314
|
-
|
315
|
-
/// Handling values.
|
316
|
-
///
|
317
|
-
/// Values are either block parameters or instruction results.
|
318
|
-
impl DataFlowGraph {
|
319
|
-
/// Allocate an extended value entry.
|
320
|
-
fn make_value(&mut self, data: ValueData) -> Value {
|
321
|
-
self.values.push(data.into())
|
322
|
-
}
|
323
|
-
|
324
|
-
/// Get an iterator over all values.
|
325
|
-
pub fn values<'a>(&'a self) -> Values {
|
326
|
-
Values {
|
327
|
-
inner: self.values.iter(),
|
328
|
-
}
|
329
|
-
}
|
330
|
-
|
331
|
-
/// Check if a value reference is valid.
|
332
|
-
pub fn value_is_valid(&self, v: Value) -> bool {
|
333
|
-
self.values.is_valid(v)
|
334
|
-
}
|
335
|
-
|
336
|
-
/// Get the type of a value.
|
337
|
-
pub fn value_type(&self, v: Value) -> Type {
|
338
|
-
self.values[v].ty()
|
339
|
-
}
|
340
|
-
|
341
|
-
/// Get the definition of a value.
|
342
|
-
///
|
343
|
-
/// This is either the instruction that defined it or the Block that has the value as an
|
344
|
-
/// parameter.
|
345
|
-
pub fn value_def(&self, v: Value) -> ValueDef {
|
346
|
-
match ValueData::from(self.values[v]) {
|
347
|
-
ValueData::Inst { inst, num, .. } => ValueDef::Result(inst, num as usize),
|
348
|
-
ValueData::Param { block, num, .. } => ValueDef::Param(block, num as usize),
|
349
|
-
ValueData::Alias { original, .. } => {
|
350
|
-
// Make sure we only recurse one level. `resolve_aliases` has safeguards to
|
351
|
-
// detect alias loops without overrunning the stack.
|
352
|
-
self.value_def(self.resolve_aliases(original))
|
353
|
-
}
|
354
|
-
ValueData::Union { x, y, .. } => ValueDef::Union(x, y),
|
355
|
-
}
|
356
|
-
}
|
357
|
-
|
358
|
-
/// Determine if `v` is an attached instruction result / block parameter.
|
359
|
-
///
|
360
|
-
/// An attached value can't be attached to something else without first being detached.
|
361
|
-
///
|
362
|
-
/// Value aliases are not considered to be attached to anything. Use `resolve_aliases()` to
|
363
|
-
/// determine if the original aliased value is attached.
|
364
|
-
pub fn value_is_attached(&self, v: Value) -> bool {
|
365
|
-
use self::ValueData::*;
|
366
|
-
match ValueData::from(self.values[v]) {
|
367
|
-
Inst { inst, num, .. } => Some(&v) == self.inst_results(inst).get(num as usize),
|
368
|
-
Param { block, num, .. } => Some(&v) == self.block_params(block).get(num as usize),
|
369
|
-
Alias { .. } => false,
|
370
|
-
Union { .. } => false,
|
371
|
-
}
|
372
|
-
}
|
373
|
-
|
374
|
-
/// Resolve value aliases.
|
375
|
-
///
|
376
|
-
/// Find the original SSA value that `value` aliases.
|
377
|
-
pub fn resolve_aliases(&self, value: Value) -> Value {
|
378
|
-
resolve_aliases(&self.values, value)
|
379
|
-
}
|
380
|
-
|
381
|
-
/// Resolve all aliases among inst's arguments.
|
382
|
-
///
|
383
|
-
/// For each argument of inst which is defined by an alias, replace the
|
384
|
-
/// alias with the aliased value.
|
385
|
-
pub fn resolve_aliases_in_arguments(&mut self, inst: Inst) {
|
386
|
-
self.map_inst_values(inst, |dfg, arg| resolve_aliases(&dfg.values, arg));
|
387
|
-
}
|
388
|
-
|
389
|
-
/// Turn a value into an alias of another.
|
390
|
-
///
|
391
|
-
/// Change the `dest` value to behave as an alias of `src`. This means that all uses of `dest`
|
392
|
-
/// will behave as if they used that value `src`.
|
393
|
-
///
|
394
|
-
/// The `dest` value can't be attached to an instruction or block.
|
395
|
-
pub fn change_to_alias(&mut self, dest: Value, src: Value) {
|
396
|
-
debug_assert!(!self.value_is_attached(dest));
|
397
|
-
// Try to create short alias chains by finding the original source value.
|
398
|
-
// This also avoids the creation of loops.
|
399
|
-
let original = self.resolve_aliases(src);
|
400
|
-
debug_assert_ne!(
|
401
|
-
dest, original,
|
402
|
-
"Aliasing {} to {} would create a loop",
|
403
|
-
dest, src
|
404
|
-
);
|
405
|
-
let ty = self.value_type(original);
|
406
|
-
debug_assert_eq!(
|
407
|
-
self.value_type(dest),
|
408
|
-
ty,
|
409
|
-
"Aliasing {} to {} would change its type {} to {}",
|
410
|
-
dest,
|
411
|
-
src,
|
412
|
-
self.value_type(dest),
|
413
|
-
ty
|
414
|
-
);
|
415
|
-
debug_assert_ne!(ty, types::INVALID);
|
416
|
-
|
417
|
-
self.values[dest] = ValueData::Alias { ty, original }.into();
|
418
|
-
}
|
419
|
-
|
420
|
-
/// Replace the results of one instruction with aliases to the results of another.
|
421
|
-
///
|
422
|
-
/// Change all the results of `dest_inst` to behave as aliases of
|
423
|
-
/// corresponding results of `src_inst`, as if calling change_to_alias for
|
424
|
-
/// each.
|
425
|
-
///
|
426
|
-
/// After calling this instruction, `dest_inst` will have had its results
|
427
|
-
/// cleared, so it likely needs to be removed from the graph.
|
428
|
-
///
|
429
|
-
pub fn replace_with_aliases(&mut self, dest_inst: Inst, src_inst: Inst) {
|
430
|
-
debug_assert_ne!(
|
431
|
-
dest_inst, src_inst,
|
432
|
-
"Replacing {} with itself would create a loop",
|
433
|
-
dest_inst
|
434
|
-
);
|
435
|
-
debug_assert_eq!(
|
436
|
-
self.results[dest_inst].len(&self.value_lists),
|
437
|
-
self.results[src_inst].len(&self.value_lists),
|
438
|
-
"Replacing {} with {} would produce a different number of results.",
|
439
|
-
dest_inst,
|
440
|
-
src_inst
|
441
|
-
);
|
442
|
-
|
443
|
-
for (&dest, &src) in self.results[dest_inst]
|
444
|
-
.as_slice(&self.value_lists)
|
445
|
-
.iter()
|
446
|
-
.zip(self.results[src_inst].as_slice(&self.value_lists))
|
447
|
-
{
|
448
|
-
let original = src;
|
449
|
-
let ty = self.value_type(original);
|
450
|
-
debug_assert_eq!(
|
451
|
-
self.value_type(dest),
|
452
|
-
ty,
|
453
|
-
"Aliasing {} to {} would change its type {} to {}",
|
454
|
-
dest,
|
455
|
-
src,
|
456
|
-
self.value_type(dest),
|
457
|
-
ty
|
458
|
-
);
|
459
|
-
debug_assert_ne!(ty, types::INVALID);
|
460
|
-
|
461
|
-
self.values[dest] = ValueData::Alias { ty, original }.into();
|
462
|
-
}
|
463
|
-
|
464
|
-
self.clear_results(dest_inst);
|
465
|
-
}
|
466
|
-
}
|
467
|
-
|
468
|
-
/// Where did a value come from?
|
469
|
-
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
470
|
-
pub enum ValueDef {
|
471
|
-
/// Value is the n'th result of an instruction.
|
472
|
-
Result(Inst, usize),
|
473
|
-
/// Value is the n'th parameter to a block.
|
474
|
-
Param(Block, usize),
|
475
|
-
/// Value is a union of two other values.
|
476
|
-
Union(Value, Value),
|
477
|
-
}
|
478
|
-
|
479
|
-
impl ValueDef {
|
480
|
-
/// Unwrap the instruction where the value was defined, or panic.
|
481
|
-
pub fn unwrap_inst(&self) -> Inst {
|
482
|
-
self.inst().expect("Value is not an instruction result")
|
483
|
-
}
|
484
|
-
|
485
|
-
/// Get the instruction where the value was defined, if any.
|
486
|
-
pub fn inst(&self) -> Option<Inst> {
|
487
|
-
match *self {
|
488
|
-
Self::Result(inst, _) => Some(inst),
|
489
|
-
_ => None,
|
490
|
-
}
|
491
|
-
}
|
492
|
-
|
493
|
-
/// Unwrap the block there the parameter is defined, or panic.
|
494
|
-
pub fn unwrap_block(&self) -> Block {
|
495
|
-
match *self {
|
496
|
-
Self::Param(block, _) => block,
|
497
|
-
_ => panic!("Value is not a block parameter"),
|
498
|
-
}
|
499
|
-
}
|
500
|
-
|
501
|
-
/// Get the number component of this definition.
|
502
|
-
///
|
503
|
-
/// When multiple values are defined at the same program point, this indicates the index of
|
504
|
-
/// this value.
|
505
|
-
pub fn num(self) -> usize {
|
506
|
-
match self {
|
507
|
-
Self::Result(_, n) | Self::Param(_, n) => n,
|
508
|
-
Self::Union(_, _) => 0,
|
509
|
-
}
|
510
|
-
}
|
511
|
-
}
|
512
|
-
|
513
|
-
/// Internal table storage for extended values.
|
514
|
-
#[derive(Clone, Debug, PartialEq, Hash)]
|
515
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
516
|
-
enum ValueData {
|
517
|
-
/// Value is defined by an instruction.
|
518
|
-
Inst { ty: Type, num: u16, inst: Inst },
|
519
|
-
|
520
|
-
/// Value is a block parameter.
|
521
|
-
Param { ty: Type, num: u16, block: Block },
|
522
|
-
|
523
|
-
/// Value is an alias of another value.
|
524
|
-
/// An alias value can't be linked as an instruction result or block parameter. It is used as a
|
525
|
-
/// placeholder when the original instruction or block has been rewritten or modified.
|
526
|
-
Alias { ty: Type, original: Value },
|
527
|
-
|
528
|
-
/// Union is a "fork" in representation: the value can be
|
529
|
-
/// represented as either of the values named here. This is used
|
530
|
-
/// for aegraph (acyclic egraph) representation in the DFG.
|
531
|
-
Union { ty: Type, x: Value, y: Value },
|
532
|
-
}
|
533
|
-
|
534
|
-
/// Bit-packed version of ValueData, for efficiency.
|
535
|
-
///
|
536
|
-
/// Layout:
|
537
|
-
///
|
538
|
-
/// ```plain
|
539
|
-
/// | tag:2 | type:14 | x:24 | y:24 |
|
540
|
-
///
|
541
|
-
/// Inst 00 ty inst output inst index
|
542
|
-
/// Param 01 ty blockparam num block index
|
543
|
-
/// Alias 10 ty 0 value index
|
544
|
-
/// Union 11 ty first value second value
|
545
|
-
/// ```
|
546
|
-
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
|
547
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
548
|
-
struct ValueDataPacked(u64);
|
549
|
-
|
550
|
-
/// Encodes a value in 0..2^32 into 0..2^n, where n is less than 32
|
551
|
-
/// (and is implied by `mask`), by translating 2^32-1 (0xffffffff)
|
552
|
-
/// into 2^n-1 and panic'ing on 2^n..2^32-1.
|
553
|
-
fn encode_narrow_field(x: u32, bits: u8) -> u32 {
|
554
|
-
if x == 0xffff_ffff {
|
555
|
-
(1 << bits) - 1
|
556
|
-
} else {
|
557
|
-
debug_assert!(x < (1 << bits));
|
558
|
-
x
|
559
|
-
}
|
560
|
-
}
|
561
|
-
|
562
|
-
/// The inverse of the above `encode_narrow_field`: unpacks 2^n-1 into
|
563
|
-
/// 2^32-1.
|
564
|
-
fn decode_narrow_field(x: u32, bits: u8) -> u32 {
|
565
|
-
if x == (1 << bits) - 1 {
|
566
|
-
0xffff_ffff
|
567
|
-
} else {
|
568
|
-
x
|
569
|
-
}
|
570
|
-
}
|
571
|
-
|
572
|
-
impl ValueDataPacked {
|
573
|
-
const Y_SHIFT: u8 = 0;
|
574
|
-
const Y_BITS: u8 = 24;
|
575
|
-
const X_SHIFT: u8 = Self::Y_SHIFT + Self::Y_BITS;
|
576
|
-
const X_BITS: u8 = 24;
|
577
|
-
const TYPE_SHIFT: u8 = Self::X_SHIFT + Self::X_BITS;
|
578
|
-
const TYPE_BITS: u8 = 14;
|
579
|
-
const TAG_SHIFT: u8 = Self::TYPE_SHIFT + Self::TYPE_BITS;
|
580
|
-
const TAG_BITS: u8 = 2;
|
581
|
-
|
582
|
-
const TAG_INST: u64 = 0;
|
583
|
-
const TAG_PARAM: u64 = 1;
|
584
|
-
const TAG_ALIAS: u64 = 2;
|
585
|
-
const TAG_UNION: u64 = 3;
|
586
|
-
|
587
|
-
fn make(tag: u64, ty: Type, x: u32, y: u32) -> ValueDataPacked {
|
588
|
-
debug_assert!(tag < (1 << Self::TAG_BITS));
|
589
|
-
debug_assert!(ty.repr() < (1 << Self::TYPE_BITS));
|
590
|
-
|
591
|
-
let x = encode_narrow_field(x, Self::X_BITS);
|
592
|
-
let y = encode_narrow_field(y, Self::Y_BITS);
|
593
|
-
|
594
|
-
ValueDataPacked(
|
595
|
-
(tag << Self::TAG_SHIFT)
|
596
|
-
| ((ty.repr() as u64) << Self::TYPE_SHIFT)
|
597
|
-
| ((x as u64) << Self::X_SHIFT)
|
598
|
-
| ((y as u64) << Self::Y_SHIFT),
|
599
|
-
)
|
600
|
-
}
|
601
|
-
|
602
|
-
#[inline(always)]
|
603
|
-
fn field(self, shift: u8, bits: u8) -> u64 {
|
604
|
-
(self.0 >> shift) & ((1 << bits) - 1)
|
605
|
-
}
|
606
|
-
|
607
|
-
#[inline(always)]
|
608
|
-
fn ty(self) -> Type {
|
609
|
-
let ty = self.field(ValueDataPacked::TYPE_SHIFT, ValueDataPacked::TYPE_BITS) as u16;
|
610
|
-
Type::from_repr(ty)
|
611
|
-
}
|
612
|
-
|
613
|
-
#[inline(always)]
|
614
|
-
fn set_type(&mut self, ty: Type) {
|
615
|
-
self.0 &= !(((1 << Self::TYPE_BITS) - 1) << Self::TYPE_SHIFT);
|
616
|
-
self.0 |= (ty.repr() as u64) << Self::TYPE_SHIFT;
|
617
|
-
}
|
618
|
-
}
|
619
|
-
|
620
|
-
impl From<ValueData> for ValueDataPacked {
|
621
|
-
fn from(data: ValueData) -> Self {
|
622
|
-
match data {
|
623
|
-
ValueData::Inst { ty, num, inst } => {
|
624
|
-
Self::make(Self::TAG_INST, ty, num.into(), inst.as_bits())
|
625
|
-
}
|
626
|
-
ValueData::Param { ty, num, block } => {
|
627
|
-
Self::make(Self::TAG_PARAM, ty, num.into(), block.as_bits())
|
628
|
-
}
|
629
|
-
ValueData::Alias { ty, original } => {
|
630
|
-
Self::make(Self::TAG_ALIAS, ty, 0, original.as_bits())
|
631
|
-
}
|
632
|
-
ValueData::Union { ty, x, y } => {
|
633
|
-
Self::make(Self::TAG_ALIAS, ty, x.as_bits(), y.as_bits())
|
634
|
-
}
|
635
|
-
}
|
636
|
-
}
|
637
|
-
}
|
638
|
-
|
639
|
-
impl From<ValueDataPacked> for ValueData {
|
640
|
-
fn from(data: ValueDataPacked) -> Self {
|
641
|
-
let tag = data.field(ValueDataPacked::TAG_SHIFT, ValueDataPacked::TAG_BITS);
|
642
|
-
let ty = u16::try_from(data.field(ValueDataPacked::TYPE_SHIFT, ValueDataPacked::TYPE_BITS))
|
643
|
-
.expect("Mask should ensure result fits in a u16");
|
644
|
-
let x = u32::try_from(data.field(ValueDataPacked::X_SHIFT, ValueDataPacked::X_BITS))
|
645
|
-
.expect("Mask should ensure result fits in a u32");
|
646
|
-
let y = u32::try_from(data.field(ValueDataPacked::Y_SHIFT, ValueDataPacked::Y_BITS))
|
647
|
-
.expect("Mask should ensure result fits in a u32");
|
648
|
-
|
649
|
-
let ty = Type::from_repr(ty);
|
650
|
-
match tag {
|
651
|
-
ValueDataPacked::TAG_INST => ValueData::Inst {
|
652
|
-
ty,
|
653
|
-
num: u16::try_from(x).expect("Inst result num should fit in u16"),
|
654
|
-
inst: Inst::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
655
|
-
},
|
656
|
-
ValueDataPacked::TAG_PARAM => ValueData::Param {
|
657
|
-
ty,
|
658
|
-
num: u16::try_from(x).expect("Blockparam index should fit in u16"),
|
659
|
-
block: Block::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
660
|
-
},
|
661
|
-
ValueDataPacked::TAG_ALIAS => ValueData::Alias {
|
662
|
-
ty,
|
663
|
-
original: Value::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
664
|
-
},
|
665
|
-
ValueDataPacked::TAG_UNION => ValueData::Union {
|
666
|
-
ty,
|
667
|
-
x: Value::from_bits(decode_narrow_field(x, ValueDataPacked::X_BITS)),
|
668
|
-
y: Value::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
669
|
-
},
|
670
|
-
_ => panic!("Invalid tag {} in ValueDataPacked 0x{:x}", tag, data.0),
|
671
|
-
}
|
672
|
-
}
|
673
|
-
}
|
674
|
-
|
675
|
-
/// Instructions.
|
676
|
-
///
|
677
|
-
impl DataFlowGraph {
|
678
|
-
/// Create a new instruction.
|
679
|
-
///
|
680
|
-
/// The type of the first result is indicated by `data.ty`. If the
|
681
|
-
/// instruction produces multiple results, also call
|
682
|
-
/// `make_inst_results` to allocate value table entries. (It is
|
683
|
-
/// always safe to call `make_inst_results`, regardless of how
|
684
|
-
/// many results the instruction has.)
|
685
|
-
pub fn make_inst(&mut self, data: InstructionData) -> Inst {
|
686
|
-
let n = self.num_insts() + 1;
|
687
|
-
self.results.resize(n);
|
688
|
-
self.insts.0.push(data)
|
689
|
-
}
|
690
|
-
|
691
|
-
/// Declares a dynamic vector type
|
692
|
-
pub fn make_dynamic_ty(&mut self, data: DynamicTypeData) -> DynamicType {
|
693
|
-
self.dynamic_types.push(data)
|
694
|
-
}
|
695
|
-
|
696
|
-
/// Returns an object that displays `inst`.
|
697
|
-
pub fn display_inst<'a>(&'a self, inst: Inst) -> DisplayInst<'a> {
|
698
|
-
DisplayInst(self, inst)
|
699
|
-
}
|
700
|
-
|
701
|
-
/// Returns an object that displays the given `value`'s defining instruction.
|
702
|
-
///
|
703
|
-
/// Panics if the value is not defined by an instruction (i.e. it is a basic
|
704
|
-
/// block argument).
|
705
|
-
pub fn display_value_inst(&self, value: Value) -> DisplayInst<'_> {
|
706
|
-
match self.value_def(value) {
|
707
|
-
ir::ValueDef::Result(inst, _) => self.display_inst(inst),
|
708
|
-
ir::ValueDef::Param(_, _) => panic!("value is not defined by an instruction"),
|
709
|
-
ir::ValueDef::Union(_, _) => panic!("value is a union of two other values"),
|
710
|
-
}
|
711
|
-
}
|
712
|
-
|
713
|
-
/// Construct a read-only visitor context for the values of this instruction.
|
714
|
-
pub fn inst_values<'dfg>(
|
715
|
-
&'dfg self,
|
716
|
-
inst: Inst,
|
717
|
-
) -> impl DoubleEndedIterator<Item = Value> + 'dfg {
|
718
|
-
self.inst_args(inst)
|
719
|
-
.iter()
|
720
|
-
.chain(
|
721
|
-
self.insts[inst]
|
722
|
-
.branch_destination(&self.jump_tables)
|
723
|
-
.into_iter()
|
724
|
-
.flat_map(|branch| branch.args_slice(&self.value_lists).iter()),
|
725
|
-
)
|
726
|
-
.copied()
|
727
|
-
}
|
728
|
-
|
729
|
-
/// Map a function over the values of the instruction.
|
730
|
-
pub fn map_inst_values<F>(&mut self, inst: Inst, mut body: F)
|
731
|
-
where
|
732
|
-
F: FnMut(&mut DataFlowGraph, Value) -> Value,
|
733
|
-
{
|
734
|
-
for i in 0..self.inst_args(inst).len() {
|
735
|
-
let arg = self.inst_args(inst)[i];
|
736
|
-
self.inst_args_mut(inst)[i] = body(self, arg);
|
737
|
-
}
|
738
|
-
|
739
|
-
for block_ix in 0..self.insts[inst].branch_destination(&self.jump_tables).len() {
|
740
|
-
// We aren't changing the size of the args list, so we won't need to write the branch
|
741
|
-
// back to the instruction.
|
742
|
-
let mut block = self.insts[inst].branch_destination(&self.jump_tables)[block_ix];
|
743
|
-
for i in 0..block.args_slice(&self.value_lists).len() {
|
744
|
-
let arg = block.args_slice(&self.value_lists)[i];
|
745
|
-
block.args_slice_mut(&mut self.value_lists)[i] = body(self, arg);
|
746
|
-
}
|
747
|
-
}
|
748
|
-
}
|
749
|
-
|
750
|
-
/// Overwrite the instruction's value references with values from the iterator.
|
751
|
-
/// NOTE: the iterator provided is expected to yield at least as many values as the instruction
|
752
|
-
/// currently has.
|
753
|
-
pub fn overwrite_inst_values<I>(&mut self, inst: Inst, mut values: I)
|
754
|
-
where
|
755
|
-
I: Iterator<Item = Value>,
|
756
|
-
{
|
757
|
-
for arg in self.inst_args_mut(inst) {
|
758
|
-
*arg = values.next().unwrap();
|
759
|
-
}
|
760
|
-
|
761
|
-
for block_ix in 0..self.insts[inst].branch_destination(&self.jump_tables).len() {
|
762
|
-
let mut block = self.insts[inst].branch_destination(&self.jump_tables)[block_ix];
|
763
|
-
for arg in block.args_slice_mut(&mut self.value_lists) {
|
764
|
-
*arg = values.next().unwrap();
|
765
|
-
}
|
766
|
-
}
|
767
|
-
}
|
768
|
-
|
769
|
-
/// Get all value arguments on `inst` as a slice.
|
770
|
-
pub fn inst_args(&self, inst: Inst) -> &[Value] {
|
771
|
-
self.insts[inst].arguments(&self.value_lists)
|
772
|
-
}
|
773
|
-
|
774
|
-
/// Get all value arguments on `inst` as a mutable slice.
|
775
|
-
pub fn inst_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
776
|
-
self.insts[inst].arguments_mut(&mut self.value_lists)
|
777
|
-
}
|
778
|
-
|
779
|
-
/// Get the fixed value arguments on `inst` as a slice.
|
780
|
-
pub fn inst_fixed_args(&self, inst: Inst) -> &[Value] {
|
781
|
-
let num_fixed_args = self.insts[inst]
|
782
|
-
.opcode()
|
783
|
-
.constraints()
|
784
|
-
.num_fixed_value_arguments();
|
785
|
-
&self.inst_args(inst)[..num_fixed_args]
|
786
|
-
}
|
787
|
-
|
788
|
-
/// Get the fixed value arguments on `inst` as a mutable slice.
|
789
|
-
pub fn inst_fixed_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
790
|
-
let num_fixed_args = self.insts[inst]
|
791
|
-
.opcode()
|
792
|
-
.constraints()
|
793
|
-
.num_fixed_value_arguments();
|
794
|
-
&mut self.inst_args_mut(inst)[..num_fixed_args]
|
795
|
-
}
|
796
|
-
|
797
|
-
/// Get the variable value arguments on `inst` as a slice.
|
798
|
-
pub fn inst_variable_args(&self, inst: Inst) -> &[Value] {
|
799
|
-
let num_fixed_args = self.insts[inst]
|
800
|
-
.opcode()
|
801
|
-
.constraints()
|
802
|
-
.num_fixed_value_arguments();
|
803
|
-
&self.inst_args(inst)[num_fixed_args..]
|
804
|
-
}
|
805
|
-
|
806
|
-
/// Get the variable value arguments on `inst` as a mutable slice.
|
807
|
-
pub fn inst_variable_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
808
|
-
let num_fixed_args = self.insts[inst]
|
809
|
-
.opcode()
|
810
|
-
.constraints()
|
811
|
-
.num_fixed_value_arguments();
|
812
|
-
&mut self.inst_args_mut(inst)[num_fixed_args..]
|
813
|
-
}
|
814
|
-
|
815
|
-
/// Create result values for an instruction that produces multiple results.
|
816
|
-
///
|
817
|
-
/// Instructions that produce no result values only need to be created with `make_inst`,
|
818
|
-
/// otherwise call `make_inst_results` to allocate value table entries for the results.
|
819
|
-
///
|
820
|
-
/// The result value types are determined from the instruction's value type constraints and the
|
821
|
-
/// provided `ctrl_typevar` type for polymorphic instructions. For non-polymorphic
|
822
|
-
/// instructions, `ctrl_typevar` is ignored, and `INVALID` can be used.
|
823
|
-
///
|
824
|
-
/// The type of the first result value is also set, even if it was already set in the
|
825
|
-
/// `InstructionData` passed to `make_inst`. If this function is called with a single-result
|
826
|
-
/// instruction, that is the only effect.
|
827
|
-
pub fn make_inst_results(&mut self, inst: Inst, ctrl_typevar: Type) -> usize {
|
828
|
-
self.make_inst_results_reusing(inst, ctrl_typevar, iter::empty())
|
829
|
-
}
|
830
|
-
|
831
|
-
/// Create result values for `inst`, reusing the provided detached values.
|
832
|
-
///
|
833
|
-
/// Create a new set of result values for `inst` using `ctrl_typevar` to determine the result
|
834
|
-
/// types. Any values provided by `reuse` will be reused. When `reuse` is exhausted or when it
|
835
|
-
/// produces `None`, a new value is created.
|
836
|
-
pub fn make_inst_results_reusing<I>(
|
837
|
-
&mut self,
|
838
|
-
inst: Inst,
|
839
|
-
ctrl_typevar: Type,
|
840
|
-
reuse: I,
|
841
|
-
) -> usize
|
842
|
-
where
|
843
|
-
I: Iterator<Item = Option<Value>>,
|
844
|
-
{
|
845
|
-
self.results[inst].clear(&mut self.value_lists);
|
846
|
-
|
847
|
-
let mut reuse = reuse.fuse();
|
848
|
-
let result_tys: SmallVec<[_; 16]> = self.inst_result_types(inst, ctrl_typevar).collect();
|
849
|
-
let num_results = result_tys.len();
|
850
|
-
|
851
|
-
for ty in result_tys {
|
852
|
-
if let Some(Some(v)) = reuse.next() {
|
853
|
-
debug_assert_eq!(self.value_type(v), ty, "Reused {} is wrong type", ty);
|
854
|
-
self.attach_result(inst, v);
|
855
|
-
} else {
|
856
|
-
self.append_result(inst, ty);
|
857
|
-
}
|
858
|
-
}
|
859
|
-
|
860
|
-
num_results
|
861
|
-
}
|
862
|
-
|
863
|
-
/// Create a `ReplaceBuilder` that will replace `inst` with a new instruction in place.
|
864
|
-
pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder {
|
865
|
-
ReplaceBuilder::new(self, inst)
|
866
|
-
}
|
867
|
-
|
868
|
-
/// Detach the list of result values from `inst` and return it.
|
869
|
-
///
|
870
|
-
/// This leaves `inst` without any result values. New result values can be created by calling
|
871
|
-
/// `make_inst_results` or by using a `replace(inst)` builder.
|
872
|
-
pub fn detach_results(&mut self, inst: Inst) -> ValueList {
|
873
|
-
self.results[inst].take()
|
874
|
-
}
|
875
|
-
|
876
|
-
/// Clear the list of result values from `inst`.
|
877
|
-
///
|
878
|
-
/// This leaves `inst` without any result values. New result values can be created by calling
|
879
|
-
/// `make_inst_results` or by using a `replace(inst)` builder.
|
880
|
-
pub fn clear_results(&mut self, inst: Inst) {
|
881
|
-
self.results[inst].clear(&mut self.value_lists)
|
882
|
-
}
|
883
|
-
|
884
|
-
/// Attach an existing value to the result value list for `inst`.
|
885
|
-
///
|
886
|
-
/// The `res` value is appended to the end of the result list.
|
887
|
-
///
|
888
|
-
/// This is a very low-level operation. Usually, instruction results with the correct types are
|
889
|
-
/// created automatically. The `res` value must not be attached to anything else.
|
890
|
-
pub fn attach_result(&mut self, inst: Inst, res: Value) {
|
891
|
-
debug_assert!(!self.value_is_attached(res));
|
892
|
-
let num = self.results[inst].push(res, &mut self.value_lists);
|
893
|
-
debug_assert!(num <= u16::MAX as usize, "Too many result values");
|
894
|
-
let ty = self.value_type(res);
|
895
|
-
self.values[res] = ValueData::Inst {
|
896
|
-
ty,
|
897
|
-
num: num as u16,
|
898
|
-
inst,
|
899
|
-
}
|
900
|
-
.into();
|
901
|
-
}
|
902
|
-
|
903
|
-
/// Replace an instruction result with a new value of type `new_type`.
|
904
|
-
///
|
905
|
-
/// The `old_value` must be an attached instruction result.
|
906
|
-
///
|
907
|
-
/// The old value is left detached, so it should probably be changed into something else.
|
908
|
-
///
|
909
|
-
/// Returns the new value.
|
910
|
-
pub fn replace_result(&mut self, old_value: Value, new_type: Type) -> Value {
|
911
|
-
let (num, inst) = match ValueData::from(self.values[old_value]) {
|
912
|
-
ValueData::Inst { num, inst, .. } => (num, inst),
|
913
|
-
_ => panic!("{} is not an instruction result value", old_value),
|
914
|
-
};
|
915
|
-
let new_value = self.make_value(ValueData::Inst {
|
916
|
-
ty: new_type,
|
917
|
-
num,
|
918
|
-
inst,
|
919
|
-
});
|
920
|
-
let num = num as usize;
|
921
|
-
let attached = mem::replace(
|
922
|
-
self.results[inst]
|
923
|
-
.get_mut(num, &mut self.value_lists)
|
924
|
-
.expect("Replacing detached result"),
|
925
|
-
new_value,
|
926
|
-
);
|
927
|
-
debug_assert_eq!(
|
928
|
-
attached,
|
929
|
-
old_value,
|
930
|
-
"{} wasn't detached from {}",
|
931
|
-
old_value,
|
932
|
-
self.display_inst(inst)
|
933
|
-
);
|
934
|
-
new_value
|
935
|
-
}
|
936
|
-
|
937
|
-
/// Append a new instruction result value to `inst`.
|
938
|
-
pub fn append_result(&mut self, inst: Inst, ty: Type) -> Value {
|
939
|
-
let res = self.values.next_key();
|
940
|
-
let num = self.results[inst].push(res, &mut self.value_lists);
|
941
|
-
debug_assert!(num <= u16::MAX as usize, "Too many result values");
|
942
|
-
self.make_value(ValueData::Inst {
|
943
|
-
ty,
|
944
|
-
inst,
|
945
|
-
num: num as u16,
|
946
|
-
})
|
947
|
-
}
|
948
|
-
|
949
|
-
/// Clone an instruction, attaching new result `Value`s and
|
950
|
-
/// returning them.
|
951
|
-
pub fn clone_inst(&mut self, inst: Inst) -> Inst {
|
952
|
-
// First, add a clone of the InstructionData.
|
953
|
-
let inst_data = self.insts[inst].clone();
|
954
|
-
// If the `inst_data` has a reference to a ValueList, clone it
|
955
|
-
// as well, because we can't share these (otherwise mutating
|
956
|
-
// one would affect the other).
|
957
|
-
let inst_data = inst_data.deep_clone(&mut self.value_lists);
|
958
|
-
let new_inst = self.make_inst(inst_data);
|
959
|
-
// Get the controlling type variable.
|
960
|
-
let ctrl_typevar = self.ctrl_typevar(inst);
|
961
|
-
// Create new result values.
|
962
|
-
let num_results = self.make_inst_results(new_inst, ctrl_typevar);
|
963
|
-
// Copy over PCC facts, if any.
|
964
|
-
for i in 0..num_results {
|
965
|
-
let old_result = self.inst_results(inst)[i];
|
966
|
-
let new_result = self.inst_results(new_inst)[i];
|
967
|
-
self.facts[new_result] = self.facts[old_result].clone();
|
968
|
-
}
|
969
|
-
new_inst
|
970
|
-
}
|
971
|
-
|
972
|
-
/// Get the first result of an instruction.
|
973
|
-
///
|
974
|
-
/// This function panics if the instruction doesn't have any result.
|
975
|
-
pub fn first_result(&self, inst: Inst) -> Value {
|
976
|
-
self.results[inst]
|
977
|
-
.first(&self.value_lists)
|
978
|
-
.expect("Instruction has no results")
|
979
|
-
}
|
980
|
-
|
981
|
-
/// Test if `inst` has any result values currently.
|
982
|
-
pub fn has_results(&self, inst: Inst) -> bool {
|
983
|
-
!self.results[inst].is_empty()
|
984
|
-
}
|
985
|
-
|
986
|
-
/// Return all the results of an instruction.
|
987
|
-
pub fn inst_results(&self, inst: Inst) -> &[Value] {
|
988
|
-
self.results[inst].as_slice(&self.value_lists)
|
989
|
-
}
|
990
|
-
|
991
|
-
/// Return all the results of an instruction as ValueList.
|
992
|
-
pub fn inst_results_list(&self, inst: Inst) -> ValueList {
|
993
|
-
self.results[inst]
|
994
|
-
}
|
995
|
-
|
996
|
-
/// Create a union of two values.
|
997
|
-
pub fn union(&mut self, x: Value, y: Value) -> Value {
|
998
|
-
// Get the type.
|
999
|
-
let ty = self.value_type(x);
|
1000
|
-
debug_assert_eq!(ty, self.value_type(y));
|
1001
|
-
self.make_value(ValueData::Union { ty, x, y })
|
1002
|
-
}
|
1003
|
-
|
1004
|
-
/// Get the call signature of a direct or indirect call instruction.
|
1005
|
-
/// Returns `None` if `inst` is not a call instruction.
|
1006
|
-
pub fn call_signature(&self, inst: Inst) -> Option<SigRef> {
|
1007
|
-
match self.insts[inst].analyze_call(&self.value_lists) {
|
1008
|
-
CallInfo::NotACall => None,
|
1009
|
-
CallInfo::Direct(f, _) => Some(self.ext_funcs[f].signature),
|
1010
|
-
CallInfo::Indirect(s, _) => Some(s),
|
1011
|
-
}
|
1012
|
-
}
|
1013
|
-
|
1014
|
-
/// Like `call_signature` but returns none for tail call instructions.
|
1015
|
-
fn non_tail_call_signature(&self, inst: Inst) -> Option<SigRef> {
|
1016
|
-
let sig = self.call_signature(inst)?;
|
1017
|
-
match self.insts[inst].opcode() {
|
1018
|
-
ir::Opcode::ReturnCall | ir::Opcode::ReturnCallIndirect => None,
|
1019
|
-
_ => Some(sig),
|
1020
|
-
}
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
// Only for use by the verifier. Everyone else should just use
|
1024
|
-
// `dfg.inst_results(inst).len()`.
|
1025
|
-
pub(crate) fn num_expected_results_for_verifier(&self, inst: Inst) -> usize {
|
1026
|
-
match self.non_tail_call_signature(inst) {
|
1027
|
-
Some(sig) => self.signatures[sig].returns.len(),
|
1028
|
-
None => {
|
1029
|
-
let constraints = self.insts[inst].opcode().constraints();
|
1030
|
-
constraints.num_fixed_results()
|
1031
|
-
}
|
1032
|
-
}
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
/// Get the result types of the given instruction.
|
1036
|
-
pub fn inst_result_types<'a>(
|
1037
|
-
&'a self,
|
1038
|
-
inst: Inst,
|
1039
|
-
ctrl_typevar: Type,
|
1040
|
-
) -> impl iter::ExactSizeIterator<Item = Type> + 'a {
|
1041
|
-
return match self.non_tail_call_signature(inst) {
|
1042
|
-
Some(sig) => InstResultTypes::Signature(self, sig, 0),
|
1043
|
-
None => {
|
1044
|
-
let constraints = self.insts[inst].opcode().constraints();
|
1045
|
-
InstResultTypes::Constraints(constraints, ctrl_typevar, 0)
|
1046
|
-
}
|
1047
|
-
};
|
1048
|
-
|
1049
|
-
enum InstResultTypes<'a> {
|
1050
|
-
Signature(&'a DataFlowGraph, SigRef, usize),
|
1051
|
-
Constraints(ir::instructions::OpcodeConstraints, Type, usize),
|
1052
|
-
}
|
1053
|
-
|
1054
|
-
impl Iterator for InstResultTypes<'_> {
|
1055
|
-
type Item = Type;
|
1056
|
-
|
1057
|
-
fn next(&mut self) -> Option<Type> {
|
1058
|
-
match self {
|
1059
|
-
InstResultTypes::Signature(dfg, sig, i) => {
|
1060
|
-
let param = dfg.signatures[*sig].returns.get(*i)?;
|
1061
|
-
*i += 1;
|
1062
|
-
Some(param.value_type)
|
1063
|
-
}
|
1064
|
-
InstResultTypes::Constraints(constraints, ctrl_ty, i) => {
|
1065
|
-
if *i < constraints.num_fixed_results() {
|
1066
|
-
let ty = constraints.result_type(*i, *ctrl_ty);
|
1067
|
-
*i += 1;
|
1068
|
-
Some(ty)
|
1069
|
-
} else {
|
1070
|
-
None
|
1071
|
-
}
|
1072
|
-
}
|
1073
|
-
}
|
1074
|
-
}
|
1075
|
-
|
1076
|
-
fn size_hint(&self) -> (usize, Option<usize>) {
|
1077
|
-
let len = match self {
|
1078
|
-
InstResultTypes::Signature(dfg, sig, i) => {
|
1079
|
-
dfg.signatures[*sig].returns.len() - *i
|
1080
|
-
}
|
1081
|
-
InstResultTypes::Constraints(constraints, _, i) => {
|
1082
|
-
constraints.num_fixed_results() - *i
|
1083
|
-
}
|
1084
|
-
};
|
1085
|
-
(len, Some(len))
|
1086
|
-
}
|
1087
|
-
}
|
1088
|
-
|
1089
|
-
impl ExactSizeIterator for InstResultTypes<'_> {}
|
1090
|
-
}
|
1091
|
-
|
1092
|
-
/// Compute the type of an instruction result from opcode constraints and call signatures.
|
1093
|
-
///
|
1094
|
-
/// This computes the same sequence of result types that `make_inst_results()` above would
|
1095
|
-
/// assign to the created result values, but it does not depend on `make_inst_results()` being
|
1096
|
-
/// called first.
|
1097
|
-
///
|
1098
|
-
/// Returns `None` if asked about a result index that is too large.
|
1099
|
-
pub fn compute_result_type(
|
1100
|
-
&self,
|
1101
|
-
inst: Inst,
|
1102
|
-
result_idx: usize,
|
1103
|
-
ctrl_typevar: Type,
|
1104
|
-
) -> Option<Type> {
|
1105
|
-
self.inst_result_types(inst, ctrl_typevar).nth(result_idx)
|
1106
|
-
}
|
1107
|
-
|
1108
|
-
/// Get the controlling type variable, or `INVALID` if `inst` isn't polymorphic.
|
1109
|
-
pub fn ctrl_typevar(&self, inst: Inst) -> Type {
|
1110
|
-
let constraints = self.insts[inst].opcode().constraints();
|
1111
|
-
|
1112
|
-
if !constraints.is_polymorphic() {
|
1113
|
-
types::INVALID
|
1114
|
-
} else if constraints.requires_typevar_operand() {
|
1115
|
-
// Not all instruction formats have a designated operand, but in that case
|
1116
|
-
// `requires_typevar_operand()` should never be true.
|
1117
|
-
self.value_type(
|
1118
|
-
self.insts[inst]
|
1119
|
-
.typevar_operand(&self.value_lists)
|
1120
|
-
.unwrap_or_else(|| {
|
1121
|
-
panic!(
|
1122
|
-
"Instruction format for {:?} doesn't have a designated operand",
|
1123
|
-
self.insts[inst]
|
1124
|
-
)
|
1125
|
-
}),
|
1126
|
-
)
|
1127
|
-
} else {
|
1128
|
-
self.value_type(self.first_result(inst))
|
1129
|
-
}
|
1130
|
-
}
|
1131
|
-
}
|
1132
|
-
|
1133
|
-
/// basic blocks.
|
1134
|
-
impl DataFlowGraph {
|
1135
|
-
/// Create a new basic block.
|
1136
|
-
pub fn make_block(&mut self) -> Block {
|
1137
|
-
self.blocks.add()
|
1138
|
-
}
|
1139
|
-
|
1140
|
-
/// Get the number of parameters on `block`.
|
1141
|
-
pub fn num_block_params(&self, block: Block) -> usize {
|
1142
|
-
self.blocks[block].params(&self.value_lists).len()
|
1143
|
-
}
|
1144
|
-
|
1145
|
-
/// Get the parameters on `block`.
|
1146
|
-
pub fn block_params(&self, block: Block) -> &[Value] {
|
1147
|
-
self.blocks[block].params(&self.value_lists)
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
/// Get the types of the parameters on `block`.
|
1151
|
-
pub fn block_param_types(&self, block: Block) -> impl Iterator<Item = Type> + '_ {
|
1152
|
-
self.block_params(block).iter().map(|&v| self.value_type(v))
|
1153
|
-
}
|
1154
|
-
|
1155
|
-
/// Append a parameter with type `ty` to `block`.
|
1156
|
-
pub fn append_block_param(&mut self, block: Block, ty: Type) -> Value {
|
1157
|
-
let param = self.values.next_key();
|
1158
|
-
let num = self.blocks[block].params.push(param, &mut self.value_lists);
|
1159
|
-
debug_assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1160
|
-
self.make_value(ValueData::Param {
|
1161
|
-
ty,
|
1162
|
-
num: num as u16,
|
1163
|
-
block,
|
1164
|
-
})
|
1165
|
-
}
|
1166
|
-
|
1167
|
-
/// Removes `val` from `block`'s parameters by swapping it with the last parameter on `block`.
|
1168
|
-
/// Returns the position of `val` before removal.
|
1169
|
-
///
|
1170
|
-
/// *Important*: to ensure O(1) deletion, this method swaps the removed parameter with the
|
1171
|
-
/// last `block` parameter. This can disrupt all the branch instructions jumping to this
|
1172
|
-
/// `block` for which you have to change the branch argument order if necessary.
|
1173
|
-
///
|
1174
|
-
/// Panics if `val` is not a block parameter.
|
1175
|
-
pub fn swap_remove_block_param(&mut self, val: Value) -> usize {
|
1176
|
-
let (block, num) =
|
1177
|
-
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[val]) {
|
1178
|
-
(block, num)
|
1179
|
-
} else {
|
1180
|
-
panic!("{} must be a block parameter", val);
|
1181
|
-
};
|
1182
|
-
self.blocks[block]
|
1183
|
-
.params
|
1184
|
-
.swap_remove(num as usize, &mut self.value_lists);
|
1185
|
-
if let Some(last_arg_val) = self.blocks[block]
|
1186
|
-
.params
|
1187
|
-
.get(num as usize, &self.value_lists)
|
1188
|
-
{
|
1189
|
-
// We update the position of the old last arg.
|
1190
|
-
let mut last_arg_data = ValueData::from(self.values[last_arg_val]);
|
1191
|
-
if let ValueData::Param {
|
1192
|
-
num: ref mut old_num,
|
1193
|
-
..
|
1194
|
-
} = &mut last_arg_data
|
1195
|
-
{
|
1196
|
-
*old_num = num;
|
1197
|
-
self.values[last_arg_val] = last_arg_data.into();
|
1198
|
-
} else {
|
1199
|
-
panic!("{} should be a Block parameter", last_arg_val);
|
1200
|
-
}
|
1201
|
-
}
|
1202
|
-
num as usize
|
1203
|
-
}
|
1204
|
-
|
1205
|
-
/// Removes `val` from `block`'s parameters by a standard linear time list removal which
|
1206
|
-
/// preserves ordering. Also updates the values' data.
|
1207
|
-
pub fn remove_block_param(&mut self, val: Value) {
|
1208
|
-
let (block, num) =
|
1209
|
-
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[val]) {
|
1210
|
-
(block, num)
|
1211
|
-
} else {
|
1212
|
-
panic!("{} must be a block parameter", val);
|
1213
|
-
};
|
1214
|
-
self.blocks[block]
|
1215
|
-
.params
|
1216
|
-
.remove(num as usize, &mut self.value_lists);
|
1217
|
-
for index in num..(self.num_block_params(block) as u16) {
|
1218
|
-
let packed = &mut self.values[self.blocks[block]
|
1219
|
-
.params
|
1220
|
-
.get(index as usize, &self.value_lists)
|
1221
|
-
.unwrap()];
|
1222
|
-
let mut data = ValueData::from(*packed);
|
1223
|
-
match &mut data {
|
1224
|
-
ValueData::Param { ref mut num, .. } => {
|
1225
|
-
*num -= 1;
|
1226
|
-
*packed = data.into();
|
1227
|
-
}
|
1228
|
-
_ => panic!(
|
1229
|
-
"{} must be a block parameter",
|
1230
|
-
self.blocks[block]
|
1231
|
-
.params
|
1232
|
-
.get(index as usize, &self.value_lists)
|
1233
|
-
.unwrap()
|
1234
|
-
),
|
1235
|
-
}
|
1236
|
-
}
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
/// Append an existing value to `block`'s parameters.
|
1240
|
-
///
|
1241
|
-
/// The appended value can't already be attached to something else.
|
1242
|
-
///
|
1243
|
-
/// In almost all cases, you should be using `append_block_param()` instead of this method.
|
1244
|
-
pub fn attach_block_param(&mut self, block: Block, param: Value) {
|
1245
|
-
debug_assert!(!self.value_is_attached(param));
|
1246
|
-
let num = self.blocks[block].params.push(param, &mut self.value_lists);
|
1247
|
-
debug_assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1248
|
-
let ty = self.value_type(param);
|
1249
|
-
self.values[param] = ValueData::Param {
|
1250
|
-
ty,
|
1251
|
-
num: num as u16,
|
1252
|
-
block,
|
1253
|
-
}
|
1254
|
-
.into();
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
/// Replace a block parameter with a new value of type `ty`.
|
1258
|
-
///
|
1259
|
-
/// The `old_value` must be an attached block parameter. It is removed from its place in the list
|
1260
|
-
/// of parameters and replaced by a new value of type `new_type`. The new value gets the same
|
1261
|
-
/// position in the list, and other parameters are not disturbed.
|
1262
|
-
///
|
1263
|
-
/// The old value is left detached, so it should probably be changed into something else.
|
1264
|
-
///
|
1265
|
-
/// Returns the new value.
|
1266
|
-
pub fn replace_block_param(&mut self, old_value: Value, new_type: Type) -> Value {
|
1267
|
-
// Create new value identical to the old one except for the type.
|
1268
|
-
let (block, num) =
|
1269
|
-
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[old_value]) {
|
1270
|
-
(block, num)
|
1271
|
-
} else {
|
1272
|
-
panic!("{} must be a block parameter", old_value);
|
1273
|
-
};
|
1274
|
-
let new_arg = self.make_value(ValueData::Param {
|
1275
|
-
ty: new_type,
|
1276
|
-
num,
|
1277
|
-
block,
|
1278
|
-
});
|
1279
|
-
|
1280
|
-
self.blocks[block]
|
1281
|
-
.params
|
1282
|
-
.as_mut_slice(&mut self.value_lists)[num as usize] = new_arg;
|
1283
|
-
new_arg
|
1284
|
-
}
|
1285
|
-
|
1286
|
-
/// Detach all the parameters from `block` and return them as a `ValueList`.
|
1287
|
-
///
|
1288
|
-
/// This is a quite low-level operation. Sensible things to do with the detached block parameters
|
1289
|
-
/// is to put them back on the same block with `attach_block_param()` or change them into aliases
|
1290
|
-
/// with `change_to_alias()`.
|
1291
|
-
pub fn detach_block_params(&mut self, block: Block) -> ValueList {
|
1292
|
-
self.blocks[block].params.take()
|
1293
|
-
}
|
1294
|
-
|
1295
|
-
/// Merge the facts for two values. If both values have facts and
|
1296
|
-
/// they differ, both values get a special "conflict" fact that is
|
1297
|
-
/// never satisfied.
|
1298
|
-
pub fn merge_facts(&mut self, a: Value, b: Value) {
|
1299
|
-
let a = self.resolve_aliases(a);
|
1300
|
-
let b = self.resolve_aliases(b);
|
1301
|
-
match (&self.facts[a], &self.facts[b]) {
|
1302
|
-
(Some(a), Some(b)) if a == b => { /* nothing */ }
|
1303
|
-
(None, None) => { /* nothing */ }
|
1304
|
-
(Some(a), None) => {
|
1305
|
-
self.facts[b] = Some(a.clone());
|
1306
|
-
}
|
1307
|
-
(None, Some(b)) => {
|
1308
|
-
self.facts[a] = Some(b.clone());
|
1309
|
-
}
|
1310
|
-
(Some(a_fact), Some(b_fact)) => {
|
1311
|
-
assert_eq!(self.value_type(a), self.value_type(b));
|
1312
|
-
let merged = Fact::intersect(a_fact, b_fact);
|
1313
|
-
crate::trace!(
|
1314
|
-
"facts merge on {} and {}: {:?}, {:?} -> {:?}",
|
1315
|
-
a,
|
1316
|
-
b,
|
1317
|
-
a_fact,
|
1318
|
-
b_fact,
|
1319
|
-
merged,
|
1320
|
-
);
|
1321
|
-
self.facts[a] = Some(merged.clone());
|
1322
|
-
self.facts[b] = Some(merged);
|
1323
|
-
}
|
1324
|
-
}
|
1325
|
-
}
|
1326
|
-
}
|
1327
|
-
|
1328
|
-
/// Contents of a basic block.
|
1329
|
-
///
|
1330
|
-
/// Parameters on a basic block are values that dominate everything in the block. All
|
1331
|
-
/// branches to this block must provide matching arguments, and the arguments to the entry block must
|
1332
|
-
/// match the function arguments.
|
1333
|
-
#[derive(Clone, PartialEq, Hash)]
|
1334
|
-
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
1335
|
-
pub struct BlockData {
|
1336
|
-
/// List of parameters to this block.
|
1337
|
-
params: ValueList,
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
impl BlockData {
|
1341
|
-
fn new() -> Self {
|
1342
|
-
Self {
|
1343
|
-
params: ValueList::new(),
|
1344
|
-
}
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
/// Get the parameters on `block`.
|
1348
|
-
pub fn params<'a>(&self, pool: &'a ValueListPool) -> &'a [Value] {
|
1349
|
-
self.params.as_slice(pool)
|
1350
|
-
}
|
1351
|
-
}
|
1352
|
-
|
1353
|
-
/// Object that can display an instruction.
|
1354
|
-
pub struct DisplayInst<'a>(&'a DataFlowGraph, Inst);
|
1355
|
-
|
1356
|
-
impl<'a> fmt::Display for DisplayInst<'a> {
|
1357
|
-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
1358
|
-
let dfg = self.0;
|
1359
|
-
let inst = self.1;
|
1360
|
-
|
1361
|
-
if let Some((first, rest)) = dfg.inst_results(inst).split_first() {
|
1362
|
-
write!(f, "{}", first)?;
|
1363
|
-
for v in rest {
|
1364
|
-
write!(f, ", {}", v)?;
|
1365
|
-
}
|
1366
|
-
write!(f, " = ")?;
|
1367
|
-
}
|
1368
|
-
|
1369
|
-
let typevar = dfg.ctrl_typevar(inst);
|
1370
|
-
if typevar.is_invalid() {
|
1371
|
-
write!(f, "{}", dfg.insts[inst].opcode())?;
|
1372
|
-
} else {
|
1373
|
-
write!(f, "{}.{}", dfg.insts[inst].opcode(), typevar)?;
|
1374
|
-
}
|
1375
|
-
write_operands(f, dfg, inst)
|
1376
|
-
}
|
1377
|
-
}
|
1378
|
-
|
1379
|
-
/// Parser routines. These routines should not be used outside the parser.
|
1380
|
-
impl DataFlowGraph {
|
1381
|
-
/// Set the type of a value. This is only for use in the parser, which needs
|
1382
|
-
/// to create invalid values for index padding which may be reassigned later.
|
1383
|
-
#[cold]
|
1384
|
-
fn set_value_type_for_parser(&mut self, v: Value, t: Type) {
|
1385
|
-
assert_eq!(
|
1386
|
-
self.value_type(v),
|
1387
|
-
types::INVALID,
|
1388
|
-
"this function is only for assigning types to previously invalid values"
|
1389
|
-
);
|
1390
|
-
self.values[v].set_type(t);
|
1391
|
-
}
|
1392
|
-
|
1393
|
-
/// Check that the given concrete `Type` has been defined in the function.
|
1394
|
-
pub fn check_dynamic_type(&mut self, ty: Type) -> Option<Type> {
|
1395
|
-
debug_assert!(ty.is_dynamic_vector());
|
1396
|
-
if self
|
1397
|
-
.dynamic_types
|
1398
|
-
.values()
|
1399
|
-
.any(|dyn_ty_data| dyn_ty_data.concrete().unwrap() == ty)
|
1400
|
-
{
|
1401
|
-
Some(ty)
|
1402
|
-
} else {
|
1403
|
-
None
|
1404
|
-
}
|
1405
|
-
}
|
1406
|
-
|
1407
|
-
/// Create result values for `inst`, reusing the provided detached values.
|
1408
|
-
/// This is similar to `make_inst_results_reusing` except it's only for use
|
1409
|
-
/// in the parser, which needs to reuse previously invalid values.
|
1410
|
-
#[cold]
|
1411
|
-
pub fn make_inst_results_for_parser(
|
1412
|
-
&mut self,
|
1413
|
-
inst: Inst,
|
1414
|
-
ctrl_typevar: Type,
|
1415
|
-
reuse: &[Value],
|
1416
|
-
) -> usize {
|
1417
|
-
let mut reuse_iter = reuse.iter().copied();
|
1418
|
-
let result_tys: SmallVec<[_; 16]> = self.inst_result_types(inst, ctrl_typevar).collect();
|
1419
|
-
for ty in result_tys {
|
1420
|
-
if ty.is_dynamic_vector() {
|
1421
|
-
self.check_dynamic_type(ty)
|
1422
|
-
.unwrap_or_else(|| panic!("Use of undeclared dynamic type: {}", ty));
|
1423
|
-
}
|
1424
|
-
if let Some(v) = reuse_iter.next() {
|
1425
|
-
self.set_value_type_for_parser(v, ty);
|
1426
|
-
}
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
self.make_inst_results_reusing(inst, ctrl_typevar, reuse.iter().map(|x| Some(*x)))
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
/// Similar to `append_block_param`, append a parameter with type `ty` to
|
1433
|
-
/// `block`, but using value `val`. This is only for use by the parser to
|
1434
|
-
/// create parameters with specific values.
|
1435
|
-
#[cold]
|
1436
|
-
pub fn append_block_param_for_parser(&mut self, block: Block, ty: Type, val: Value) {
|
1437
|
-
let num = self.blocks[block].params.push(val, &mut self.value_lists);
|
1438
|
-
assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1439
|
-
self.values[val] = ValueData::Param {
|
1440
|
-
ty,
|
1441
|
-
num: num as u16,
|
1442
|
-
block,
|
1443
|
-
}
|
1444
|
-
.into();
|
1445
|
-
}
|
1446
|
-
|
1447
|
-
/// Create a new value alias. This is only for use by the parser to create
|
1448
|
-
/// aliases with specific values, and the printer for testing.
|
1449
|
-
#[cold]
|
1450
|
-
pub fn make_value_alias_for_serialization(&mut self, src: Value, dest: Value) {
|
1451
|
-
assert_ne!(src, Value::reserved_value());
|
1452
|
-
assert_ne!(dest, Value::reserved_value());
|
1453
|
-
|
1454
|
-
let ty = if self.values.is_valid(src) {
|
1455
|
-
self.value_type(src)
|
1456
|
-
} else {
|
1457
|
-
// As a special case, if we can't resolve the aliasee yet, use INVALID
|
1458
|
-
// temporarily. It will be resolved later in parsing.
|
1459
|
-
types::INVALID
|
1460
|
-
};
|
1461
|
-
let data = ValueData::Alias { ty, original: src };
|
1462
|
-
self.values[dest] = data.into();
|
1463
|
-
}
|
1464
|
-
|
1465
|
-
/// If `v` is already defined as an alias, return its destination value.
|
1466
|
-
/// Otherwise return None. This allows the parser to coalesce identical
|
1467
|
-
/// alias definitions, and the printer to identify an alias's immediate target.
|
1468
|
-
#[cold]
|
1469
|
-
pub fn value_alias_dest_for_serialization(&self, v: Value) -> Option<Value> {
|
1470
|
-
if let ValueData::Alias { original, .. } = ValueData::from(self.values[v]) {
|
1471
|
-
Some(original)
|
1472
|
-
} else {
|
1473
|
-
None
|
1474
|
-
}
|
1475
|
-
}
|
1476
|
-
|
1477
|
-
/// Compute the type of an alias. This is only for use in the parser.
|
1478
|
-
/// Returns false if an alias cycle was encountered.
|
1479
|
-
#[cold]
|
1480
|
-
pub fn set_alias_type_for_parser(&mut self, v: Value) -> bool {
|
1481
|
-
if let Some(resolved) = maybe_resolve_aliases(&self.values, v) {
|
1482
|
-
let old_ty = self.value_type(v);
|
1483
|
-
let new_ty = self.value_type(resolved);
|
1484
|
-
if old_ty == types::INVALID {
|
1485
|
-
self.set_value_type_for_parser(v, new_ty);
|
1486
|
-
} else {
|
1487
|
-
assert_eq!(old_ty, new_ty);
|
1488
|
-
}
|
1489
|
-
true
|
1490
|
-
} else {
|
1491
|
-
false
|
1492
|
-
}
|
1493
|
-
}
|
1494
|
-
|
1495
|
-
/// Create an invalid value, to pad the index space. This is only for use by
|
1496
|
-
/// the parser to pad out the value index space.
|
1497
|
-
#[cold]
|
1498
|
-
pub fn make_invalid_value_for_parser(&mut self) {
|
1499
|
-
let data = ValueData::Alias {
|
1500
|
-
ty: types::INVALID,
|
1501
|
-
original: Value::reserved_value(),
|
1502
|
-
};
|
1503
|
-
self.make_value(data);
|
1504
|
-
}
|
1505
|
-
|
1506
|
-
/// Check if a value reference is valid, while being aware of aliases which
|
1507
|
-
/// may be unresolved while parsing.
|
1508
|
-
#[cold]
|
1509
|
-
pub fn value_is_valid_for_parser(&self, v: Value) -> bool {
|
1510
|
-
if !self.value_is_valid(v) {
|
1511
|
-
return false;
|
1512
|
-
}
|
1513
|
-
if let ValueData::Alias { ty, .. } = ValueData::from(self.values[v]) {
|
1514
|
-
ty != types::INVALID
|
1515
|
-
} else {
|
1516
|
-
true
|
1517
|
-
}
|
1518
|
-
}
|
1519
|
-
}
|
1520
|
-
|
1521
|
-
#[cfg(test)]
|
1522
|
-
mod tests {
|
1523
|
-
use super::*;
|
1524
|
-
use crate::cursor::{Cursor, FuncCursor};
|
1525
|
-
use crate::ir::types;
|
1526
|
-
use crate::ir::{Function, InstructionData, Opcode, TrapCode};
|
1527
|
-
use alloc::string::ToString;
|
1528
|
-
|
1529
|
-
#[test]
|
1530
|
-
fn make_inst() {
|
1531
|
-
let mut dfg = DataFlowGraph::new();
|
1532
|
-
|
1533
|
-
let idata = InstructionData::UnaryImm {
|
1534
|
-
opcode: Opcode::Iconst,
|
1535
|
-
imm: 0.into(),
|
1536
|
-
};
|
1537
|
-
let inst = dfg.make_inst(idata);
|
1538
|
-
|
1539
|
-
dfg.make_inst_results(inst, types::I32);
|
1540
|
-
assert_eq!(inst.to_string(), "inst0");
|
1541
|
-
assert_eq!(dfg.display_inst(inst).to_string(), "v0 = iconst.i32 0");
|
1542
|
-
|
1543
|
-
// Immutable reference resolution.
|
1544
|
-
{
|
1545
|
-
let immdfg = &dfg;
|
1546
|
-
let ins = &immdfg.insts[inst];
|
1547
|
-
assert_eq!(ins.opcode(), Opcode::Iconst);
|
1548
|
-
}
|
1549
|
-
|
1550
|
-
// Results.
|
1551
|
-
let val = dfg.first_result(inst);
|
1552
|
-
assert_eq!(dfg.inst_results(inst), &[val]);
|
1553
|
-
|
1554
|
-
assert_eq!(dfg.value_def(val), ValueDef::Result(inst, 0));
|
1555
|
-
assert_eq!(dfg.value_type(val), types::I32);
|
1556
|
-
|
1557
|
-
// Replacing results.
|
1558
|
-
assert!(dfg.value_is_attached(val));
|
1559
|
-
let v2 = dfg.replace_result(val, types::F64);
|
1560
|
-
assert!(!dfg.value_is_attached(val));
|
1561
|
-
assert!(dfg.value_is_attached(v2));
|
1562
|
-
assert_eq!(dfg.inst_results(inst), &[v2]);
|
1563
|
-
assert_eq!(dfg.value_def(v2), ValueDef::Result(inst, 0));
|
1564
|
-
assert_eq!(dfg.value_type(v2), types::F64);
|
1565
|
-
}
|
1566
|
-
|
1567
|
-
#[test]
|
1568
|
-
fn no_results() {
|
1569
|
-
let mut dfg = DataFlowGraph::new();
|
1570
|
-
|
1571
|
-
let idata = InstructionData::Trap {
|
1572
|
-
opcode: Opcode::Trap,
|
1573
|
-
code: TrapCode::User(0),
|
1574
|
-
};
|
1575
|
-
let inst = dfg.make_inst(idata);
|
1576
|
-
assert_eq!(dfg.display_inst(inst).to_string(), "trap user0");
|
1577
|
-
|
1578
|
-
// Result slice should be empty.
|
1579
|
-
assert_eq!(dfg.inst_results(inst), &[]);
|
1580
|
-
}
|
1581
|
-
|
1582
|
-
#[test]
|
1583
|
-
fn block() {
|
1584
|
-
let mut dfg = DataFlowGraph::new();
|
1585
|
-
|
1586
|
-
let block = dfg.make_block();
|
1587
|
-
assert_eq!(block.to_string(), "block0");
|
1588
|
-
assert_eq!(dfg.num_block_params(block), 0);
|
1589
|
-
assert_eq!(dfg.block_params(block), &[]);
|
1590
|
-
assert!(dfg.detach_block_params(block).is_empty());
|
1591
|
-
assert_eq!(dfg.num_block_params(block), 0);
|
1592
|
-
assert_eq!(dfg.block_params(block), &[]);
|
1593
|
-
|
1594
|
-
let arg1 = dfg.append_block_param(block, types::F32);
|
1595
|
-
assert_eq!(arg1.to_string(), "v0");
|
1596
|
-
assert_eq!(dfg.num_block_params(block), 1);
|
1597
|
-
assert_eq!(dfg.block_params(block), &[arg1]);
|
1598
|
-
|
1599
|
-
let arg2 = dfg.append_block_param(block, types::I16);
|
1600
|
-
assert_eq!(arg2.to_string(), "v1");
|
1601
|
-
assert_eq!(dfg.num_block_params(block), 2);
|
1602
|
-
assert_eq!(dfg.block_params(block), &[arg1, arg2]);
|
1603
|
-
|
1604
|
-
assert_eq!(dfg.value_def(arg1), ValueDef::Param(block, 0));
|
1605
|
-
assert_eq!(dfg.value_def(arg2), ValueDef::Param(block, 1));
|
1606
|
-
assert_eq!(dfg.value_type(arg1), types::F32);
|
1607
|
-
assert_eq!(dfg.value_type(arg2), types::I16);
|
1608
|
-
|
1609
|
-
// Swap the two block parameters.
|
1610
|
-
let vlist = dfg.detach_block_params(block);
|
1611
|
-
assert_eq!(dfg.num_block_params(block), 0);
|
1612
|
-
assert_eq!(dfg.block_params(block), &[]);
|
1613
|
-
assert_eq!(vlist.as_slice(&dfg.value_lists), &[arg1, arg2]);
|
1614
|
-
dfg.attach_block_param(block, arg2);
|
1615
|
-
let arg3 = dfg.append_block_param(block, types::I32);
|
1616
|
-
dfg.attach_block_param(block, arg1);
|
1617
|
-
assert_eq!(dfg.block_params(block), &[arg2, arg3, arg1]);
|
1618
|
-
}
|
1619
|
-
|
1620
|
-
#[test]
|
1621
|
-
fn replace_block_params() {
|
1622
|
-
let mut dfg = DataFlowGraph::new();
|
1623
|
-
|
1624
|
-
let block = dfg.make_block();
|
1625
|
-
let arg1 = dfg.append_block_param(block, types::F32);
|
1626
|
-
|
1627
|
-
let new1 = dfg.replace_block_param(arg1, types::I64);
|
1628
|
-
assert_eq!(dfg.value_type(arg1), types::F32);
|
1629
|
-
assert_eq!(dfg.value_type(new1), types::I64);
|
1630
|
-
assert_eq!(dfg.block_params(block), &[new1]);
|
1631
|
-
|
1632
|
-
dfg.attach_block_param(block, arg1);
|
1633
|
-
assert_eq!(dfg.block_params(block), &[new1, arg1]);
|
1634
|
-
|
1635
|
-
let new2 = dfg.replace_block_param(arg1, types::I8);
|
1636
|
-
assert_eq!(dfg.value_type(arg1), types::F32);
|
1637
|
-
assert_eq!(dfg.value_type(new2), types::I8);
|
1638
|
-
assert_eq!(dfg.block_params(block), &[new1, new2]);
|
1639
|
-
|
1640
|
-
dfg.attach_block_param(block, arg1);
|
1641
|
-
assert_eq!(dfg.block_params(block), &[new1, new2, arg1]);
|
1642
|
-
|
1643
|
-
let new3 = dfg.replace_block_param(new2, types::I16);
|
1644
|
-
assert_eq!(dfg.value_type(new1), types::I64);
|
1645
|
-
assert_eq!(dfg.value_type(new2), types::I8);
|
1646
|
-
assert_eq!(dfg.value_type(new3), types::I16);
|
1647
|
-
assert_eq!(dfg.block_params(block), &[new1, new3, arg1]);
|
1648
|
-
}
|
1649
|
-
|
1650
|
-
#[test]
|
1651
|
-
fn swap_remove_block_params() {
|
1652
|
-
let mut dfg = DataFlowGraph::new();
|
1653
|
-
|
1654
|
-
let block = dfg.make_block();
|
1655
|
-
let arg1 = dfg.append_block_param(block, types::F32);
|
1656
|
-
let arg2 = dfg.append_block_param(block, types::F32);
|
1657
|
-
let arg3 = dfg.append_block_param(block, types::F32);
|
1658
|
-
assert_eq!(dfg.block_params(block), &[arg1, arg2, arg3]);
|
1659
|
-
|
1660
|
-
dfg.swap_remove_block_param(arg1);
|
1661
|
-
assert_eq!(dfg.value_is_attached(arg1), false);
|
1662
|
-
assert_eq!(dfg.value_is_attached(arg2), true);
|
1663
|
-
assert_eq!(dfg.value_is_attached(arg3), true);
|
1664
|
-
assert_eq!(dfg.block_params(block), &[arg3, arg2]);
|
1665
|
-
dfg.swap_remove_block_param(arg2);
|
1666
|
-
assert_eq!(dfg.value_is_attached(arg2), false);
|
1667
|
-
assert_eq!(dfg.value_is_attached(arg3), true);
|
1668
|
-
assert_eq!(dfg.block_params(block), &[arg3]);
|
1669
|
-
dfg.swap_remove_block_param(arg3);
|
1670
|
-
assert_eq!(dfg.value_is_attached(arg3), false);
|
1671
|
-
assert_eq!(dfg.block_params(block), &[]);
|
1672
|
-
}
|
1673
|
-
|
1674
|
-
#[test]
|
1675
|
-
fn aliases() {
|
1676
|
-
use crate::ir::condcodes::IntCC;
|
1677
|
-
use crate::ir::InstBuilder;
|
1678
|
-
|
1679
|
-
let mut func = Function::new();
|
1680
|
-
let block0 = func.dfg.make_block();
|
1681
|
-
let mut pos = FuncCursor::new(&mut func);
|
1682
|
-
pos.insert_block(block0);
|
1683
|
-
|
1684
|
-
// Build a little test program.
|
1685
|
-
let v1 = pos.ins().iconst(types::I32, 42);
|
1686
|
-
|
1687
|
-
// Make sure we can resolve value aliases even when values is empty.
|
1688
|
-
assert_eq!(pos.func.dfg.resolve_aliases(v1), v1);
|
1689
|
-
|
1690
|
-
let arg0 = pos.func.dfg.append_block_param(block0, types::I32);
|
1691
|
-
let (s, c) = pos.ins().uadd_overflow(v1, arg0);
|
1692
|
-
let iadd = match pos.func.dfg.value_def(s) {
|
1693
|
-
ValueDef::Result(i, 0) => i,
|
1694
|
-
_ => panic!(),
|
1695
|
-
};
|
1696
|
-
|
1697
|
-
// Remove `c` from the result list.
|
1698
|
-
pos.func.dfg.clear_results(iadd);
|
1699
|
-
pos.func.dfg.attach_result(iadd, s);
|
1700
|
-
|
1701
|
-
// Replace `uadd_overflow` with a normal `iadd` and an `icmp`.
|
1702
|
-
pos.func.dfg.replace(iadd).iadd(v1, arg0);
|
1703
|
-
let c2 = pos.ins().icmp(IntCC::Equal, s, v1);
|
1704
|
-
pos.func.dfg.change_to_alias(c, c2);
|
1705
|
-
|
1706
|
-
assert_eq!(pos.func.dfg.resolve_aliases(c2), c2);
|
1707
|
-
assert_eq!(pos.func.dfg.resolve_aliases(c), c2);
|
1708
|
-
}
|
1709
|
-
|
1710
|
-
#[test]
|
1711
|
-
fn cloning() {
|
1712
|
-
use crate::ir::InstBuilder;
|
1713
|
-
|
1714
|
-
let mut func = Function::new();
|
1715
|
-
let mut sig = Signature::new(crate::isa::CallConv::SystemV);
|
1716
|
-
sig.params.push(ir::AbiParam::new(types::I32));
|
1717
|
-
let sig = func.import_signature(sig);
|
1718
|
-
let block0 = func.dfg.make_block();
|
1719
|
-
let mut pos = FuncCursor::new(&mut func);
|
1720
|
-
pos.insert_block(block0);
|
1721
|
-
let v1 = pos.ins().iconst(types::I32, 0);
|
1722
|
-
let v2 = pos.ins().iconst(types::I32, 1);
|
1723
|
-
let call_inst = pos.ins().call_indirect(sig, v1, &[v1]);
|
1724
|
-
let func = pos.func;
|
1725
|
-
|
1726
|
-
let call_inst_dup = func.dfg.clone_inst(call_inst);
|
1727
|
-
func.dfg.inst_args_mut(call_inst)[0] = v2;
|
1728
|
-
assert_eq!(v1, func.dfg.inst_args(call_inst_dup)[0]);
|
1729
|
-
}
|
1730
|
-
}
|