Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Sylvain Henry's avatar
    b36ee57b
    JS: reenable h$appendToHsString optimization (#24495) · b36ee57b
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
    The optimization introducing h$appendToHsString wasn't kicking in
    anymore (while it did in 9.8.1) because of the changes introduced in #23270 (7e0c8b3b).
    This patch reenables the optimization by matching on case-expression, as
    done in Cmm for unpackCString# standard thunks.
    
    The test is also T24495 added in the next commits (two commits for ease
    of backporting to 9.8).
    b36ee57b
    History
    JS: reenable h$appendToHsString optimization (#24495)
    Sylvain Henry authored and Marge Bot's avatar Marge Bot committed
    The optimization introducing h$appendToHsString wasn't kicking in
    anymore (while it did in 9.8.1) because of the changes introduced in #23270 (7e0c8b3b).
    This patch reenables the optimization by matching on case-expression, as
    done in Cmm for unpackCString# standard thunks.
    
    The test is also T24495 added in the next commits (two commits for ease
    of backporting to 9.8).
Code owners
Assign users and groups as approvers for specific file changes. Learn more.