MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / bytes

Method bytes

src/reginfo.rs:246–248  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

244 #[inline]
245 #[must_use]
246 pub const fn bytes(self) -> u32 {
247 1 << self.log2_bytes()
248 }
249
250 /// Returns the log2 of the size of the spill slot in bytes.
251 #[inline]

Callers 2

finalize_stack_layoutMethod · 0.80
check_stackMethod · 0.80

Calls 1

log2_bytesMethod · 0.80

Tested by

no test coverage detected