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

Remove unnecessary extend instructions #1147

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Commits on Aug 1, 2024

  1. remove unnecessary extend instructions

    The Wasm i64_extend_i32_u and i64_extend_i32_s instructions are unnecessary in Wasmi bytecode since they can be replaced entirely by the sign-extension instructions. This is possible since Wasmi bytecode is untyped during execution and the only different between those instructions is their effect on the type system.
    Robbepop committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b542121 View commit details
    Browse the repository at this point in the history
  2. add debug_assert

    Robbepop committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9f90837 View commit details
    Browse the repository at this point in the history