Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
5677 commits behind, 369 commits ahead of the upstream repository.
  • Cheng Shao's avatar
    6d9ca41e
    rts: drop interpretBCO support from non-dyn ways on wasm · 6d9ca41e
    Cheng Shao authored
    This commit drops interpretBCO support from non dynamic rts ways on
    wasm. The bytecode interpreter is only useful when the RTS linker also
    works, and on wasm it only works for dynamic ways anyway. An
    additional benefit of dropping interpretBCO is reduction in code size
    of linked wasm modules, especially since interpretBCO references
    ffi_call which is an auto-generated large function in libffi-wasm and
    unused by most user applications.
    
    (cherry picked from commit 90a35c41)
    6d9ca41e
    History
    rts: drop interpretBCO support from non-dyn ways on wasm
    Cheng Shao authored
    This commit drops interpretBCO support from non dynamic rts ways on
    wasm. The bytecode interpreter is only useful when the RTS linker also
    works, and on wasm it only works for dynamic ways anyway. An
    additional benefit of dropping interpretBCO is reduction in code size
    of linked wasm modules, especially since interpretBCO references
    ffi_call which is an auto-generated large function in libffi-wasm and
    unused by most user applications.
    
    (cherry picked from commit 90a35c41)
Code owners