summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmUtils.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/codeGen/StgCmmUtils.hs')
-rw-r--r--compiler/codeGen/StgCmmUtils.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/codeGen/StgCmmUtils.hs b/compiler/codeGen/StgCmmUtils.hs
index ca0d23a3ac..f209005108 100644
--- a/compiler/codeGen/StgCmmUtils.hs
+++ b/compiler/codeGen/StgCmmUtils.hs
@@ -327,6 +327,12 @@ callerSaves (VanillaReg 7 _) = True
#ifdef CALLER_SAVES_R8
callerSaves (VanillaReg 8 _) = True
#endif
+#ifdef CALLER_SAVES_R9
+callerSaves (VanillaReg 9 _) = True
+#endif
+#ifdef CALLER_SAVES_R10
+callerSaves (VanillaReg 10 _) = True
+#endif
#ifdef CALLER_SAVES_F1
callerSaves (FloatReg 1) = True
#endif