X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=compiler%2FnativeGen%2FRegAllocInfo.hs;h=df7421877a8ad458c339273d727d1360665b2076;hb=4706dd570b3426eeb08be9451e12e036c171de92;hp=98c4e2dfe061310d19ec1cfc1481f1c1e819e5c7;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/nativeGen/RegAllocInfo.hs b/compiler/nativeGen/RegAllocInfo.hs index 98c4e2d..df74218 100644 --- a/compiler/nativeGen/RegAllocInfo.hs +++ b/compiler/nativeGen/RegAllocInfo.hs @@ -224,12 +224,6 @@ regUsage instr = case instr of _other -> panic "regUsage: unrecognised instr" where -#if x86_64_TARGET_ARCH - -- call parameters: include %eax, because it is used - -- to pass the number of SSE reg arguments to varargs fns. - params = eax : allArgRegs ++ allFPArgRegs -#endif - -- 2 operand form; first operand Read; second Written usageRW :: Operand -> Operand -> RegUsage usageRW op (OpReg reg) = mkRU (use_R op) [reg]