diff options
author | Sergey Andreenko <seandree@microsoft.com> | 2019-03-13 18:31:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 18:31:27 -0700 |
commit | 83327daf3c6186587f91182c39afd8e768baecfd (patch) | |
tree | 187e621f4232a7d00831cd712c6537de5e7e2869 /src/jit/emit.h | |
parent | 3d4ed7c829803206db7caea1e348bc4791aec0a6 (diff) | |
download | coreclr-83327daf3c6186587f91182c39afd8e768baecfd.tar.gz coreclr-83327daf3c6186587f91182c39afd8e768baecfd.tar.bz2 coreclr-83327daf3c6186587f91182c39afd8e768baecfd.zip |
Fix/clean compNoGCHelperCallKillSet for arm. (#23078)
* Add an assert to compNoGCHelperCallKillSet.
That registers that lose GC or byref values also are in compHelperCallKillSet return set.
* Move compNoGCHelperCallKillSet from compiler to emitter.
* Rename `compNoGCHelperCallKillSet` to `emitGetGCRegsKilledByNoGCCall`.
* Fix GCRegsKill sets for arm CORINFO_HELP_PROF_FCN_ENTER and CORINFO_HELP_PROF_FCN_LEAVE.
Diffstat (limited to 'src/jit/emit.h')
-rw-r--r-- | src/jit/emit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jit/emit.h b/src/jit/emit.h index 7d6e43f90f..876dc085fc 100644 --- a/src/jit/emit.h +++ b/src/jit/emit.h @@ -1927,6 +1927,9 @@ public: regMaskTP emitGetGCRegsSavedOrModified(CORINFO_METHOD_HANDLE methHnd); + // Gets a register mask that represent the kill set for a NoGC helper call. + regMaskTP emitGetGCRegsKilledByNoGCCall(CorInfoHelpFunc helper); + #if EMIT_TRACK_STACK_DEPTH unsigned emitCntStackDepth; // 0 in prolog/epilog, One DWORD elsewhere unsigned emitMaxStackDepth; // actual computed max. stack depth |