summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToCmm/DataCon.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/StgToCmm/DataCon.hs')
-rw-r--r--compiler/GHC/StgToCmm/DataCon.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/StgToCmm/DataCon.hs b/compiler/GHC/StgToCmm/DataCon.hs
index 3f4c94abdd..d319ca7d17 100644
--- a/compiler/GHC/StgToCmm/DataCon.hs
+++ b/compiler/GHC/StgToCmm/DataCon.hs
@@ -311,7 +311,7 @@ precomputedStaticConInfo_maybe dflags binder con [arg]
platform = targetPlatform dflags
intClosure = maybeIntLikeCon con
charClosure = maybeCharLikeCon con
- getClosurePayload (NonVoid (StgLitArg (LitNumber LitNumInt val _))) = Just val
+ getClosurePayload (NonVoid (StgLitArg (LitNumber LitNumInt val))) = Just val
getClosurePayload (NonVoid (StgLitArg (LitChar val))) = Just $ (fromIntegral . ord $ val)
getClosurePayload _ = Nothing
-- Avoid over/underflow by comparisons at type Integer!