File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
external-stg-interpreter/lib/Stg/Interpreter Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -1407,23 +1407,9 @@ markLNE lneAddrs = do
14071407
14081408data ProgramPoint
14091409 = PP_Global
1410- | PP_Closure Id -- closure name
1411- | PP_Scrutinee Id -- qualified scrutinee result name
1412- | PP_Alt Id AltCon -- qualified scrutinee result name, alternative pattern
14131410 | PP_Apply Int ProgramPoint
1414- deriving (Eq , Ord )
1415-
1416- instance Show ProgramPoint where show = showProgramPoint
1417-
1418- showProgramPoint :: ProgramPoint -> String
1419- showProgramPoint = \ case
1420- PP_Global -> " <global>"
1421- PP_Closure n -> show n
1422- PP_Scrutinee v -> " scrut: " ++ show v
1423- PP_Alt v pat -> " alt: " ++ show v ++ " " ++ case pat of
1424- AltDataCon dc -> " AltDataCon " ++ show (DC dc)
1425- _ -> show pat
1426- PP_Apply i p -> " apply " ++ show i ++ " : " ++ show p
1411+ | PP_StgPoint StgPoint
1412+ deriving (Eq , Ord , Read , Show )
14271413
14281414dumpStgState :: M ()
14291415dumpStgState = do
You can’t perform that action at this time.
0 commit comments