Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2017-09-26 03:31:09 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-09-26 06:14:34 +0300
commit94f2d8ea3943f7e90cda86ae7b7cb47d3da5a53a (patch)
tree941c381b0df93a9a335bf7d40c31c3ab94bd95f0 /src/Native/Runtime/coreclr
parent351d113aaa275354213aeb31bdc0709b56774508 (diff)
[tfs-changeset: 1676255]
Diffstat (limited to 'src/Native/Runtime/coreclr')
-rw-r--r--src/Native/Runtime/coreclr/gcinfodecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/coreclr/gcinfodecoder.cpp b/src/Native/Runtime/coreclr/gcinfodecoder.cpp
index 8e538d2a0..a7bc3d204 100644
--- a/src/Native/Runtime/coreclr/gcinfodecoder.cpp
+++ b/src/Native/Runtime/coreclr/gcinfodecoder.cpp
@@ -1680,7 +1680,7 @@ OBJECTREF* GcInfoDecoder::GetCapturedRegister(
PREGDISPLAY pRD
)
{
- _ASSERTE(regNum >= 0 && regNum <= 28);
+ _ASSERTE(regNum >= 0 && regNum < GEN_REG_COUNT);
// The fields of CONTEXT are in the same order as
// the processor encoding numbers.