diff options
author | Pat Gavlin <pagavlin@microsoft.com> | 2016-09-09 11:04:19 -0700 |
---|---|---|
committer | Pat Gavlin <pagavlin@microsoft.com> | 2016-09-09 11:04:19 -0700 |
commit | 0224d864af72cc2fa414bf7daedeb6d559cb1140 (patch) | |
tree | d5ad7eb465096cbde3e0d677240674e627a2af76 | |
parent | 4033fe5af8469d3e0c81d99cd2fa842c5baea57c (diff) | |
download | coreclr-0224d864af72cc2fa414bf7daedeb6d559cb1140.tar.gz coreclr-0224d864af72cc2fa414bf7daedeb6d559cb1140.tar.bz2 coreclr-0224d864af72cc2fa414bf7daedeb6d559cb1140.zip |
Model the kill set for ASSIGN_BYREF on x86.
This helper kills esi, edi, and ecx.
-rwxr-xr-x | src/jit/codegencommon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/codegencommon.cpp b/src/jit/codegencommon.cpp index 2710447ade..56ab2e706b 100755 --- a/src/jit/codegencommon.cpp +++ b/src/jit/codegencommon.cpp @@ -646,6 +646,8 @@ regMaskTP Compiler::compHelperCallKillSet(CorInfoHelpFunc helper) return RBM_RSI | RBM_RDI | RBM_CALLEE_TRASH; #elif defined(_TARGET_ARM64_) return RBM_CALLEE_TRASH_NOGC; +#elif defined(_TARGET_X86_) + return RBM_ESI | RBM_EDI | RBM_ECX; #else NYI("Model kill set for CORINFO_HELP_ASSIGN_BYREF on target arch"); return RBM_CALLEE_TRASH; |