New codegen failing test-cases

Simon Marlow marlowsd at gmail.com
Thu Jan 13 13:57:35 CET 2011


On 13/01/2011 12:51, Edward Z. Yang wrote:
> 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?

Please do, yes.

Cheers,
	Simon



More information about the Glasgow-haskell-users mailing list