Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Inline functions #1

Open
filipeom opened this issue Sep 19, 2023 · 0 comments
Open

Inline functions #1

filipeom opened this issue Sep 19, 2023 · 0 comments

Comments

@filipeom
Copy link
Member

filipeom commented Sep 19, 2023

llvm-opt can't inline this with -O3:

  (func $__WASP_symb_int (type 2) (param i32) (result i32)
    call $i32_symbol)
  (func $__original_main (type 0) (result i32)
    (local i32 i32)
    i32.const 1026
    call $__WASP_symb_int

This might be due to debug symbols?

@filipeom filipeom changed the title Use binaryen to inline functions Inline functions Nov 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant