aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/Machregsaux.ml
diff options
context:
space:
mode:
Diffstat (limited to 'riscV/Machregsaux.ml')
-rw-r--r--riscV/Machregsaux.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/riscV/Machregsaux.ml b/riscV/Machregsaux.ml
index 840943e7..e3e47946 100644
--- a/riscV/Machregsaux.ml
+++ b/riscV/Machregsaux.ml
@@ -18,3 +18,5 @@ let class_of_type = function
| AST.Tint | AST.Tlong -> 0
| AST.Tfloat | AST.Tsingle -> 1
| AST.Tany32 | AST.Tany64 -> assert false
+
+let nr_regs = [| 26; 32|]