diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-09-12 12:37:01 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-09-12 12:37:01 +0100 |
commit | 44b5f471a314d964948c38684ce74b7a87df4ed8 (patch) | |
tree | 075f88991983d976ad13714da61b9773a6ca0a02 /compiler/codeGen/CgUtils.hs | |
parent | f611396a581e733c41cee41750c95675bdb64961 (diff) | |
download | haskell-44b5f471a314d964948c38684ce74b7a87df4ed8.tar.gz |
Pass DynFlags down to gcWord
Diffstat (limited to 'compiler/codeGen/CgUtils.hs')
-rw-r--r-- | compiler/codeGen/CgUtils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs index 29554c8f14..ca03dfa484 100644 --- a/compiler/codeGen/CgUtils.hs +++ b/compiler/codeGen/CgUtils.hs @@ -184,7 +184,7 @@ addToMemE width ptr n tagToClosure :: DynFlags -> TyCon -> CmmExpr -> CmmExpr tagToClosure dflags tycon tag - = CmmLoad (cmmOffsetExprW dflags closure_tbl tag) gcWord + = CmmLoad (cmmOffsetExprW dflags closure_tbl tag) (gcWord dflags) where closure_tbl = CmmLit (CmmLabel lbl) lbl = mkClosureTableLabel (tyConName tycon) NoCafRefs |