Commit 366182af authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

ghci: Include "Rts.h" before using TABLES_NEXT_TO_CODE

Reviewers: austin

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4088
parent d6c33da8
{-# LANGUAGE CPP, MagicHash, ScopedTypeVariables #-}
-- Get definitions for the structs, constants & config etc.
#include "Rts.h"
-- |
-- Run-time info table support. This module provides support for
-- creating and reading info tables /in the running program/.
......@@ -24,9 +27,6 @@ import System.IO.Unsafe -- needed for 2nd stage
type ItblCodes = Either [Word8] [Word32]
-- Get definitions for the structs, constants & config etc.
#include "Rts.h"
-- Ultra-minimalist version specially for constructors
#if SIZEOF_VOID_P == 8
type HalfWord = Word32
......
Markdown is supported
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