summaryrefslogtreecommitdiff
path: root/src/jit/reglist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/reglist.h')
-rw-r--r--src/jit/reglist.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/jit/reglist.h b/src/jit/reglist.h
new file mode 100644
index 0000000000..7b706110a8
--- /dev/null
+++ b/src/jit/reglist.h
@@ -0,0 +1,18 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+#ifndef REGLIST_H
+#define REGLIST_H
+
+#include "target.h"
+#include "tinyarray.h"
+
+// The "regList" type is a small set of registerse
+#ifdef _TARGET_X86_
+typedef TinyArray<unsigned short, regNumber, REGNUM_BITS> regList;
+#else
+// The regList is unused for all other targets.
+#endif // _TARGET_*
+
+#endif // REGLIST_H