GHCi support for levity-polymorphic join points
Fixes #16509. See Note [Levity-polymorphic join points] in ByteCodeGen, which tells the full story. This commit also adds some comments and cleans some code in the byte-code generator, as I was exploring around trying to understand it. test case: ghci/scripts/T16509
Showing
- compiler/ghci/ByteCodeAsm.hs 5 additions, 1 deletioncompiler/ghci/ByteCodeAsm.hs
- compiler/ghci/ByteCodeGen.hs 87 additions, 29 deletionscompiler/ghci/ByteCodeGen.hs
- compiler/ghci/ByteCodeInstr.hs 8 additions, 2 deletionscompiler/ghci/ByteCodeInstr.hs
- compiler/simplStg/RepType.hs 1 addition, 1 deletioncompiler/simplStg/RepType.hs
- testsuite/tests/ghci/scripts/T16509.hs 11 additions, 0 deletionstestsuite/tests/ghci/scripts/T16509.hs
- testsuite/tests/ghci/scripts/T16509.script 1 addition, 0 deletionstestsuite/tests/ghci/scripts/T16509.script
- testsuite/tests/ghci/scripts/all.T 1 addition, 0 deletionstestsuite/tests/ghci/scripts/all.T
Loading
Please register or sign in to comment