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

Method inc

cranelift/codegen/src/loop_analysis.rs:55–61  ·  view source on GitHub ↗

One loop level deeper.

(self)

Source from the content-addressed store, hash-verified

53 }
54 /// One loop level deeper.
55 pub fn inc(self) -> Self {
56 if self.0 == (Self::INVALID - 1) {
57 self
58 } else {
59 Self(self.0 + 1)
60 }
61 }
62 /// A clamped loop level from a larger-width (usize) depth.
63 pub fn clamped(level: usize) -> Self {
64 Self(

Callers 1

assign_loop_levelsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected