diff options
Diffstat (limited to 'compiler/GHC/ByteCode/InfoTable.hs')
-rw-r--r-- | compiler/GHC/ByteCode/InfoTable.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/GHC/ByteCode/InfoTable.hs b/compiler/GHC/ByteCode/InfoTable.hs index b02683d10f..84f4ed3ef0 100644 --- a/compiler/GHC/ByteCode/InfoTable.hs +++ b/compiler/GHC/ByteCode/InfoTable.hs @@ -11,6 +11,7 @@ module GHC.ByteCode.InfoTable ( mkITbls ) where import GHC.Prelude +import GHC.Platform import GHC.ByteCode.Types import GHC.Runtime.Interpreter import GHC.Driver.Session @@ -72,7 +73,8 @@ make_constr_itbls hsc_env cons = descr = dataConIdentity dcon - tables_next_to_code = tablesNextToCode dflags + platform = targetPlatform dflags + tables_next_to_code = platformTablesNextToCode platform r <- iservCmd hsc_env (MkConInfoTable tables_next_to_code ptrs' nptrs_really conNo (tagForCon dflags dcon) descr) |