Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: split vmgen/linker state from TCtx #843

Merged
merged 5 commits into from
Aug 17, 2023

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    69c4c34 View commit details
    Browse the repository at this point in the history
  2. vmjit: make genX procedure more uniform

    Move emission of the `Ret` instruction into `vmgen.genExpr` and have the
    `genExpr` procedure in `vmjit` emit an 'eof' instruction. This brings
    the shape of the latter closer to that of `genStmt`.
    zerbina committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    fc824e0 View commit details
    Browse the repository at this point in the history
  3. separate all possible vmgen state from TCtx

    The state and required contextual data is moved into the new
    `CodeGenCtx` type owned by `vmgen`. All types only referenced by the
    now-moved code are moved with it.
    zerbina committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    dfd776d View commit details
    Browse the repository at this point in the history
  4. vmrunner: don't rely on TCtx.callbackKeys

    The field doesn't exist anymore.
    zerbina committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8d09ae4 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. vmjit: fix typo in doc comment

    Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
    zerbina and saem authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6bcf18c View commit details
    Browse the repository at this point in the history