RPNXCortado
C++23 JVM class-file, bytecode, validation, and JAR toolkit
Loading...
Searching...
No Matches
rpnx::cortado::lookupswitch_instruction Struct Reference

An exact lookupswitch instruction, including alignment bytes. More...

#include <bytecode.hpp>

Public Attributes

std::vector< std::byte > padding
 Exact zero-to-three bytes aligning the default operand to four bytes.
 
branch_displacement32 default_displacement
 Target used when no pair matches.
 
std::vector< lookup_switch_pairpairs
 Strictly increasing match/target pairs.
 

Static Public Attributes

static constexpr opcode operation = opcode::lookupswitch
 

Detailed Description

An exact lookupswitch instruction, including alignment bytes.

Definition at line 190 of file bytecode.hpp.

Member Data Documentation

◆ default_displacement

branch_displacement32 rpnx::cortado::lookupswitch_instruction::default_displacement

Target used when no pair matches.

Definition at line 194 of file bytecode.hpp.

◆ operation

opcode rpnx::cortado::lookupswitch_instruction::operation = opcode::lookupswitch
staticconstexpr

Definition at line 192 of file bytecode.hpp.

◆ padding

std::vector< std::byte > rpnx::cortado::lookupswitch_instruction::padding

Exact zero-to-three bytes aligning the default operand to four bytes.

Definition at line 193 of file bytecode.hpp.

◆ pairs

std::vector< lookup_switch_pair > rpnx::cortado::lookupswitch_instruction::pairs

Strictly increasing match/target pairs.

Definition at line 195 of file bytecode.hpp.


The documentation for this struct was generated from the following file: