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

Method is_i32_const

winch/codegen/src/stack.rs:269–274  ·  view source on GitHub ↗

Check whether the value is an i32 constant.

(&self)

Source from the content-addressed store, hash-verified

267
268 /// Check whether the value is an i32 constant.
269 pub fn is_i32_const(&self) -> bool {
270 match *self {
271 Self::I32(_) => true,
272 _ => false,
273 }
274 }
275
276 /// Check whether the value is an i64 constant.
277 pub fn is_i64_const(&self) -> bool {

Callers 3

pop_i32_constMethod · 0.80
i32_shiftMethod · 0.80
pop_i32_constMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected