|
RPNXCortado
C++23 JVM class-file, bytecode, validation, and JAR toolkit
|
An exact tableswitch 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 the key is outside the table. | |
| std::int32_t | low {} |
| Lowest table key; the highest key is derived from the target count. | |
| std::vector< branch_displacement32 > | displacements |
Consecutive targets beginning at low; never empty in strict mode. | |
Static Public Attributes | |
| static constexpr opcode | operation = opcode::tableswitch |
An exact tableswitch instruction, including alignment bytes.
Definition at line 179 of file bytecode.hpp.
| branch_displacement32 rpnx::cortado::tableswitch_instruction::default_displacement |
Target used when the key is outside the table.
Definition at line 183 of file bytecode.hpp.
| std::vector< branch_displacement32 > rpnx::cortado::tableswitch_instruction::displacements |
Consecutive targets beginning at low; never empty in strict mode.
Definition at line 185 of file bytecode.hpp.
| std::int32_t rpnx::cortado::tableswitch_instruction::low {} |
Lowest table key; the highest key is derived from the target count.
Definition at line 184 of file bytecode.hpp.
|
staticconstexpr |
Definition at line 181 of file bytecode.hpp.
| std::vector< std::byte > rpnx::cortado::tableswitch_instruction::padding |
Exact zero-to-three bytes aligning the default operand to four bytes.
Definition at line 182 of file bytecode.hpp.