Commit c865c425 authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan
Browse files

StgCmmMonad: Implement Outputable instance for Sequel for debugging

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1563
parent 901cab10
......@@ -227,6 +227,10 @@ data Sequel
-- may allocate (e.g. it's a foreign call or
-- allocating primOp)
instance Outputable Sequel where
ppr (Return b) = ptext (sLit "Return") <+> ppr b
ppr (AssignTo regs b) = ptext (sLit "AssignTo") <+> ppr regs <+> ppr b
-- See Note [sharing continuations] below
data ReturnKind
= AssignedDirectly
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment