summaryrefslogtreecommitdiff
path: root/compiler/GHC/Stg/Unarise.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Stg/Unarise.hs')
-rw-r--r--compiler/GHC/Stg/Unarise.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Stg/Unarise.hs b/compiler/GHC/Stg/Unarise.hs
index 23c2646f73..30234fe57c 100644
--- a/compiler/GHC/Stg/Unarise.hs
+++ b/compiler/GHC/Stg/Unarise.hs
@@ -456,7 +456,7 @@ unariseRubbish_maybe (LitRubbish rep)
= Nothing -- Single, non-void PrimRep. Nothing to do!
| otherwise -- Multiple reps, possibly with VoidRep. Eliminate via elimCase
- = Just [ StgLitArg (LitRubbish (primRepToType prep))
+ = Just [ StgLitArg (LitRubbish (primRepToRuntimeRep prep))
| prep <- preps, not (isVoidRep prep) ]
where
preps = runtimeRepPrimRep (text "unariseRubbish_maybe") rep