wasmtime_config_cranelift_regalloc_algorithm_set function

  1. @Native<Void Function(Pointer<wasm_config_t>, wasmtime_opt_level_t)>(ffi.Pointer<wasm_config_t>, wasmtime_regalloc_algorithm_t)>()
void wasmtime_config_cranelift_regalloc_algorithm_set(
  1. Pointer<wasm_config_t> arg0,
  2. int arg1
)

\brief Configures the regalloc algorithm used by the Cranelift code generator.

This setting in #WASMTIME_REGALLOC_BACKTRACKING by default.

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Pointer<wasm_config_t>, wasmtime_regalloc_algorithm_t)
>()
external void wasmtime_config_cranelift_regalloc_algorithm_set(
  ffi.Pointer<wasm_config_t> arg0,
  int arg1,
);