Package org.ek9lang.compiler.backend.jvm.support


package org.ek9lang.compiler.backend.jvm.support
JVM Backend Support Utilities - Extracted utilities for bytecode generation.

This package contains focused utility classes extracted from the AbstractAsmGenerator base class, following the EK9 pattern of small, single-responsibility classes.

Context and State:

Bytecode Generation:

These utilities are composed by AbstractAsmGenerator and used by the specialized AsmGenerator subclasses.

  • Class
    Description
    Generates debug information for JVM bytecode.
    Shared JVM opcode selection for the bytecode generators: primitive/reference local-variable load/store opcodes and optimal integer-constant loading.
    Shared construction of JVM method/constructor descriptors from already-JVM-internal type names.
    Generates JVM bytecode for EK9 literal values.
    Metadata for a local variable needed for LocalVariableTable generation.
    Shared context for a method that must be coordinated across all generators.
    Scope boundary information for tracking variable lifetimes.
    Support for stack-oriented code generation.
    Represents the source of a temp variable for stack-oriented code generation.
    The type of source for a temp variable.
    Generates JVM bytecode for variable load and store operations.