Skip to content
Snippets Groups Projects
Commit c0da98f8 authored by Simon Marlow's avatar Simon Marlow Committed by Austin Seipp
Browse files

Fix a bug in codegen for non-updatable selector thunks (#8817)

To evaluate most non-updatable thunks, we can jump directly to the
entry code if we know what it is.  But not for a selector thunk: these
might be updated by the garbage collector, so we have to enter the
closure with an indirect jump through its info pointer.

(cherry picked from commit b1ddec1e)
parent e9212f0e
No related branches found
Tags ghc-8.4.1-alpha3
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment