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

Method verify_value_list

cranelift/codegen/src/verifier/mod.rs:860–875  ·  view source on GitHub ↗
(
        &self,
        inst: Inst,
        l: &ValueList,
        errors: &mut VerifierErrors,
    )

Source from the content-addressed store, hash-verified

858 }
859
860 fn verify_value_list(
861 &self,
862 inst: Inst,
863 l: &ValueList,
864 errors: &mut VerifierErrors,
865 ) -> VerifierStepResult {
866 if !l.is_valid(&self.func.dfg.value_lists) {
867 errors.nonfatal((
868 inst,
869 self.context(inst),
870 format!("invalid value list reference {l:?}"),
871 ))
872 } else {
873 Ok(())
874 }
875 }
876
877 fn verify_jump_table(
878 &self,

Callers 1

Calls 4

OkFunction · 0.85
nonfatalMethod · 0.80
is_validMethod · 0.45
contextMethod · 0.45

Tested by

no test coverage detected