MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / visit_f32_const

Method visit_f32_const

crates/parser/src/visit.rs:406–408  ·  view source on GitHub ↗
(&mut self, val: wasmparser::Ieee32)

Source from the content-addressed store, hash-verified

404 }
405
406 fn visit_f32_const(&mut self, val: wasmparser::Ieee32) -> Self::Output {
407 self.instructions.push(Instruction::Const32(val.bits() as i32));
408 }
409
410 fn visit_f64_const(&mut self, val: wasmparser::Ieee64) -> Self::Output {
411 self.instructions.push(Instruction::Const64(val.bits() as i64));

Callers

nothing calls this directly

Calls 2

bitsMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected