X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fcmm%2FCmmOpt.hs;h=c906050a1b893451149098bd3c915ad44d0beebc;hp=b96aa4aa8910ec70a2916b6644a825414911bcb5;hb=d76b6a05ab36066e8aeb67d58e25992d1ef83a8a;hpb=84629bd7dc7377a5f1138df7185a0b9771880834 diff --git a/compiler/cmm/CmmOpt.hs b/compiler/cmm/CmmOpt.hs index b96aa4a..c906050 100644 --- a/compiler/cmm/CmmOpt.hs +++ b/compiler/cmm/CmmOpt.hs @@ -156,7 +156,7 @@ inlineStmt u a (CmmCall target regs es srt ret) = CmmCall (infn target) regs es' srt ret where infn (CmmCallee fn cconv) = CmmCallee fn cconv infn (CmmPrim p) = CmmPrim p - es' = [ (inlineExpr u a e, hint) | (e,hint) <- es ] + es' = [ (CmmHinted (inlineExpr u a e) hint) | (CmmHinted e hint) <- es ] inlineStmt u a (CmmCondBranch e d) = CmmCondBranch (inlineExpr u a e) d inlineStmt u a (CmmSwitch e d) = CmmSwitch (inlineExpr u a e) d inlineStmt u a (CmmJump e d) = CmmJump (inlineExpr u a e) d