MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / finish

Method finish

cranelift/codegen/src/isa/mod.rs:225–227  ·  view source on GitHub ↗

Combine the ISA-specific settings with the provided ISA-independent settings and allocate a fully configured `TargetIsa` trait object. May return an error if some of the flags are inconsistent or incompatible: for example, some platform-independent features, like general SIMD support, may need certain ISA extensions to be enabled.

(&self, shared_flags: settings::Flags)

Source from the content-addressed store, hash-verified

223 /// platform-independent features, like general SIMD support, may
224 /// need certain ISA extensions to be enabled.
225 pub fn finish(&self, shared_flags: settings::Flags) -> T {
226 (self.constructor)(self.triple.clone(), shared_flags, &self.setup)
227 }
228}
229
230impl<T> settings::Configurable for IsaBuilder<T> {

Callers 15

harvest_candidate_lhsFunction · 0.45
fmt_blockMethod · 0.45
fmtMethod · 0.45
compute_hashFunction · 0.45
fmtMethod · 0.45
test_s390x_binemitFunction · 0.45
test_simple_funcFunction · 0.45
test_multi_return_funcFunction · 0.45
fmtMethod · 0.45
test_x64_emitFunction · 0.45
test_simple_funcFunction · 0.45
test_multi_return_funcFunction · 0.45

Calls 1

cloneMethod · 0.45

Tested by 13

test_s390x_binemitFunction · 0.36
test_simple_funcFunction · 0.36
test_multi_return_funcFunction · 0.36
test_x64_emitFunction · 0.36
test_simple_funcFunction · 0.36
test_multi_return_funcFunction · 0.36
test_riscv64_binemitFunction · 0.36
test_simple_funcFunction · 0.36
test_multi_return_funcFunction · 0.36
test_aarch64_binemitFunction · 0.36
test_simple_funcFunction · 0.36