diff options
author | Ian Lynagh <igloo@earth.li> | 2011-12-19 15:56:25 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-12-19 15:57:22 +0000 |
commit | b442c077593b10d5226edf2afd60918a90a23315 (patch) | |
tree | cf88c18445afe3ad7a27a1c5d755b59609c2554e /compiler/nativeGen/SPARC/CodeGen/CondCode.hs | |
parent | 06c6d9709fb73cbaf9c0e1da337c5467c2839f0a (diff) | |
download | haskell-b442c077593b10d5226edf2afd60918a90a23315.tar.gz |
Make getDynFlags* functions use HasDynFlags/getDynFlags too
Diffstat (limited to 'compiler/nativeGen/SPARC/CodeGen/CondCode.hs')
-rw-r--r-- | compiler/nativeGen/SPARC/CodeGen/CondCode.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nativeGen/SPARC/CodeGen/CondCode.hs b/compiler/nativeGen/SPARC/CodeGen/CondCode.hs index 215a565ba6..f02b7a45a8 100644 --- a/compiler/nativeGen/SPARC/CodeGen/CondCode.hs +++ b/compiler/nativeGen/SPARC/CodeGen/CondCode.hs @@ -62,10 +62,10 @@ getCondCode (CmmMachOp mop [x, y]) MO_U_Lt _ -> condIntCode LU x y MO_U_Le _ -> condIntCode LEU x y - _ -> do dflags <- getDynFlagsNat + _ -> do dflags <- getDynFlags pprPanic "SPARC.CodeGen.CondCode.getCondCode" (pprPlatform (targetPlatform dflags) (CmmMachOp mop [x,y])) -getCondCode other = do dflags <- getDynFlagsNat +getCondCode other = do dflags <- getDynFlags pprPanic "SPARC.CodeGen.CondCode.getCondCode" (pprPlatform (targetPlatform dflags) other) |