Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
ae522144
Commit
ae522144
authored
Dec 22, 2006
by
mnislaih
Browse files
Remove a reference to GHC.Exts.Ptr in stage1
Hopefully this will help to restore ability to build HEAD on GHC 5.0x systems
parent
e940d0ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/deSugar/DsBreakpoint.lhs
View file @
ae522144
...
...
@@ -51,6 +51,7 @@ import Data.IORef
import Foreign.StablePtr
import GHC.Exts
#ifdef GHCI
mkBreakpointExpr :: SrcSpan -> Id -> DsM (LHsExpr Id)
mkBreakpointExpr loc bkptFuncId = do
scope' <- getLocalBindsDs
...
...
@@ -99,6 +100,9 @@ mkBreakpointExpr loc bkptFuncId = do
srcSpanLit :: SrcSpan -> HsExpr Id
srcSpanLit span = HsLit (HsString (mkFastString (showSDoc (ppr span))))
instrumenting = idName bkptFuncId == breakpointAutoName
#else
mkBreakpointExpr = undefined -- A stage1 ghc doesn't care about breakpoints
#endif
debug_enabled :: DsM Bool
#if defined(GHCI) && defined(DEBUGGER)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment