From: Sergey Andreenko Date: Mon, 11 Jun 2018 21:29:17 +0000 (-0700) Subject: skip empty regMask in verifyRegistersUsed (dotnet/coreclr#18415) X-Git-Tag: submit/tizen/20210909.063632~11030^2~4622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae0f63739345595711ed209fb32122fc41dd032d;p=platform%2Fupstream%2Fdotnet%2Fruntime.git skip empty regMask in verifyRegistersUsed (dotnet/coreclr#18415) Commit migrated from https://github.com/dotnet/coreclr/commit/5c556d13b09e8f7c702da04d8ab2ece8ef9b71a6 --- diff --git a/src/coreclr/src/jit/regset.cpp b/src/coreclr/src/jit/regset.cpp index 2bec96f..1ff5ee0 100644 --- a/src/coreclr/src/jit/regset.cpp +++ b/src/coreclr/src/jit/regset.cpp @@ -95,6 +95,11 @@ void RegSet::verifyRegistersUsed(regMaskTP regMask) return; } + if (regMask == RBM_NONE) + { + return; + } + // TODO-Cleanup: we need to identify the places where the registers // are not marked as used when this is called. rsSetRegsModified(regMask);