Commit 5b93af46 authored by pcapriotti's avatar pcapriotti
Browse files

Fix build for non x86/x86_64 (#7065)

parent 97adc5de
......@@ -404,7 +404,7 @@ xmm n = regSingle (firstxmm+n)
-- horror show -----------------------------------------------------------------
freeReg, freeRegBase :: RegNo -> FastBool
freeReg :: RegNo -> FastBool
globalRegMaybe :: GlobalReg -> Maybe RealReg
allArgRegs :: [(Reg, Reg)]
allIntArgRegs :: [Reg]
......@@ -483,6 +483,8 @@ freeReg rsp = fastBool False -- %rsp is the C stack pointer
-- split patterns in two functions to prevent overlaps
freeReg r = freeRegBase r
freeRegBase :: RegNo -> FastBool
#ifdef REG_Base
freeRegBase REG_Base = fastBool False
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment