New codegen failing test-cases
Edward Z. Yang
ezyang at MIT.EDU
Thu Jan 13 13:51:18 CET 2011
Yep, switching
> 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' = [ (CmmHinted (inlineExpr u a e) hint) | (CmmHinted e hint) <- es
to
> inlineStmt u a (CmmCall target regs es srt ret)
> = CmmCall (infn target) regs es' srt ret
> where infn (CmmCallee fn cconv) = CmmCallee (inlineExpr u a fn) cconv
> infn (CmmPrim p) = CmmPrim p
> es' = [ (CmmHinted (inlineExpr u a e) hint) | (CmmHinted e hint) <- es
Fixes it. Shall I submit a patch?
Cheers,
Edward
More information about the Glasgow-haskell-users
mailing list