diff options
author | Ian Lynagh <igloo@earth.li> | 2011-11-06 18:11:56 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-11-06 18:11:56 +0000 |
commit | d535ef006d85dbdb7cda2b09c5bc35cb80108909 (patch) | |
tree | 6cf735f8392afea90b442eccc78b868cec4aab01 /compiler/nativeGen/X86/Regs.hs | |
parent | ab9e7e37baa71576f9dd8aaff07d10a330e5625d (diff) | |
download | haskell-d535ef006d85dbdb7cda2b09c5bc35cb80108909.tar.gz |
Allow the use of R9 and R10 in primops; fixes trac #5423
Diffstat (limited to 'compiler/nativeGen/X86/Regs.hs')
-rw-r--r-- | compiler/nativeGen/X86/Regs.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs index 59566a7d1a..68ab351e86 100644 --- a/compiler/nativeGen/X86/Regs.hs +++ b/compiler/nativeGen/X86/Regs.hs @@ -500,6 +500,12 @@ freeReg REG_R7 = fastBool False #ifdef REG_R8 freeReg REG_R8 = fastBool False #endif +#ifdef REG_R9 +freeReg REG_R9 = fastBool False +#endif +#ifdef REG_R10 +freeReg REG_R10 = fastBool False +#endif #ifdef REG_F1 freeReg REG_F1 = fastBool False #endif |