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

Method endianness

cranelift/codegen/src/isa/mod.rs:446–451  ·  view source on GitHub ↗

Get the endianness of this ISA.

(&self)

Source from the content-addressed store, hash-verified

444
445 /// Get the endianness of this ISA.
446 pub fn endianness(&self) -> ir::Endianness {
447 match self.triple().endianness().unwrap() {
448 target_lexicon::Endianness::Little => ir::Endianness::Little,
449 target_lexicon::Endianness::Big => ir::Endianness::Big,
450 }
451 }
452
453 /// Returns the minimum symbol alignment for this ISA.
454 pub fn symbol_alignment(&self) -> u64 {

Callers 10

is_isa_compatibleFunction · 0.45
checked_loadMethod · 0.45
checked_storeMethod · 0.45
newMethod · 0.45
emit_dwarf_sectionsFunction · 0.45
clone_unitFunction · 0.45
objectMethod · 0.45

Calls 2

unwrapMethod · 0.45
tripleMethod · 0.45

Tested by 1

is_isa_compatibleFunction · 0.36