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

Add pseudo-instruction Ladjust_trap_depth #2322

Merged
merged 5 commits into from Jun 24, 2019

Commits on Jun 24, 2019

  1. Add pseudo-instruction Ladjust_trap_depth

    Ladjust_trap_depth replaces dummy Lpushtrap generated in linearize of
    Iexit to notify assembler generation about updates to the
    stack. Ladjust_trap_depth is used to keep the virtual stack pointer in
    sync and emit dwarf information, without emitting any assembly
    instructions. It therefore avoids generating dead code.
    
    This patch is extract from PR1482 @lthls
    gretay-js committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    71b57cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    794cd9e View commit details
    Browse the repository at this point in the history
  3. More aggressive discard_dead_code in linearize for push/pop trap

    Replace Lpushtrap and Lpoptrap with the curresponding Ladjust_trap_depth.
    gretay-js committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    1711d91 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87aadc8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26a4a21 View commit details
    Browse the repository at this point in the history