diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-02-28 09:00:58 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-02-28 09:00:58 -0800 |
commit | dc69f3054732ae2eba459a4828727e1f9d6b5d13 (patch) | |
tree | 62534bbf8ad389753497567b89734f12c8775013 /src/gcinfo | |
parent | 22aeaa1109dff3a042b6f059af865ffd545ebe0e (diff) | |
download | coreclr-dc69f3054732ae2eba459a4828727e1f9d6b5d13.tar.gz coreclr-dc69f3054732ae2eba459a4828727e1f9d6b5d13.tar.bz2 coreclr-dc69f3054732ae2eba459a4828727e1f9d6b5d13.zip |
Fix definitions of preserved regs in GCInfo to match Unix calling convention
Diffstat (limited to 'src/gcinfo')
-rw-r--r-- | src/gcinfo/gcinfoencoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gcinfo/gcinfoencoder.cpp b/src/gcinfo/gcinfoencoder.cpp index d06e06b6c7..f9d6ebb4a1 100644 --- a/src/gcinfo/gcinfoencoder.cpp +++ b/src/gcinfo/gcinfoencoder.cpp @@ -593,8 +593,10 @@ bool GcInfoEncoder::IsAlwaysScratch(GcSlotDesc &slotDesc) UINT16 PreservedRegMask = (1 << 3) // rbx | (1 << 5) // rbp +#ifndef UNIX_AMD64_ABI | (1 << 6) // rsi | (1 << 7) // rdi +#endif // UNIX_AMD64_ABI | (1 << 12) // r12 | (1 << 13) // r13 | (1 << 14) // r14 |