summaryrefslogtreecommitdiff
path: root/src/jit/reglist.h
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2015-01-30 14:14:42 -0800
committerdotnet-bot <dotnet-bot@microsoft.com>2015-01-30 14:14:42 -0800
commitef1e2ab328087c61a6878c1e84f4fc5d710aebce (patch)
treedee1bbb89e9d722e16b0d1485e3cdd1b6c8e2cfa /src/jit/reglist.h
downloadcoreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.gz
coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.tar.bz2
coreclr-ef1e2ab328087c61a6878c1e84f4fc5d710aebce.zip
Initial commit to populate CoreCLR repo
[tfs-changeset: 1407945]
Diffstat (limited to 'src/jit/reglist.h')
-rw-r--r--src/jit/reglist.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/jit/reglist.h b/src/jit/reglist.h
new file mode 100644
index 0000000000..fb4f66f343
--- /dev/null
+++ b/src/jit/reglist.h
@@ -0,0 +1,19 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license 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