From dd11f2d5e87ba83ca16510e3e1ac6c41c1df1647 Mon Sep 17 00:00:00 2001 From: Luite Stegeman Date: Thu, 10 Dec 2020 14:19:02 +0100 Subject: Save the type of breakpoints in the Breakpoint tick in STG GHCi needs to know the types of all breakpoints, but it's not possible to get the exprType of any expression in STG. This is preparation for the upcoming change to make GHCi bytecode from STG instead of Core. --- compiler/GHC/Cmm/Parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/GHC/Cmm') diff --git a/compiler/GHC/Cmm/Parser.y b/compiler/GHC/Cmm/Parser.y index 92e981a841..ceb5ba8bad 100644 --- a/compiler/GHC/Cmm/Parser.y +++ b/compiler/GHC/Cmm/Parser.y @@ -224,7 +224,7 @@ import GHC.StgToCmm.Ticky import GHC.StgToCmm.Prof import GHC.StgToCmm.Bind ( emitBlackHoleCode, emitUpdateFrame ) -import GHC.Core ( Tickish(SourceNote) ) +import GHC.Core ( GenTickish(SourceNote) ) import GHC.Cmm.Opt import GHC.Cmm.Graph -- cgit v1.2.1