bloqade.lanes.bytecode.decode.StackUnderflowError
← Module overview
class
classStackUnderflowError¶source
bloqade.lanes.bytecode.decode.StackUnderflowError
Bases: Exception
Raised by ``StackMachineFrame`` when a pop operation would fail.
Signature
class StackUnderflowError(snapshot: tuple[ir.SSAValue, ...], required: int)Carries a snapshot of the stack at the point of failure and how many
values the operation required. The decoder catches this at the
_visit dispatcher and rewraps into DecodingError with
instruction context (index + opcode name).
Parameters
| Name | Type | Description |
|---|---|---|
snapshot | tuple[ir.SSAValue, ...] | |
required | int |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
snapshot | — | snapshot | |
required | — | required |