diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/GHC/StgToJS/CoreUtils.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/StgToJS/CoreUtils.hs b/compiler/GHC/StgToJS/CoreUtils.hs index c52abf88b6..a99518ed7a 100644 --- a/compiler/GHC/StgToJS/CoreUtils.hs +++ b/compiler/GHC/StgToJS/CoreUtils.hs @@ -200,6 +200,7 @@ primTypeVt t = case tyConAppTyCon_maybe (unwrapType t) of | tc == mVarPrimTyCon -> RtsObjV | tc == tVarPrimTyCon -> RtsObjV | tc == bcoPrimTyCon -> RtsObjV -- fixme what do we need here? + | tc == ioPortPrimTyCon -> RtsObjV -- FIXME: Jeff (2022, 05) IOPort, how to handle in JS? | tc == anyTyCon -> PtrV | tc == compactPrimTyCon -> ObjV -- unsupported? | tc == eqPrimTyCon -> VoidV -- coercion token? |
