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

Method is_int

cranelift/codegen/src/ir/types.rs:231–236  ·  view source on GitHub ↗

Is this a scalar integer type?

(self)

Source from the content-addressed store, hash-verified

229
230 /// Is this a scalar integer type?
231 pub fn is_int(self) -> bool {
232 match self {
233 I8 | I16 | I32 | I64 | I128 => true,
234 _ => false,
235 }
236 }
237
238 /// Is this a scalar floating point type?
239 pub fn is_float(self) -> bool {

Callers 10

do_souper_harvestFunction · 0.45
fmtMethod · 0.45
is_base_typeMethod · 0.45
resolveMethod · 0.45
ty_supportedMethod · 0.45
gen_loadMethod · 0.45
gen_storeMethod · 0.45
verify_global_valuesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected