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

Improve line:column tracking #660

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Commits on Nov 7, 2024

  1. Improve line:column tracking

    Emit source locations manually for more precise tracking. Don't infer
    them from emitted bytecode opcodes because that leads to inaccurate
    and sometimes surprising results.
    
    Speeds up code generation (although infinitesimally) as a bonus.
    
    Fixes: quickjs-ng#236
    bnoordhuis committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    e9f731d View commit details
    Browse the repository at this point in the history
  2. squash! make codegen

    bnoordhuis committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    00f8ced View commit details
    Browse the repository at this point in the history