Clean CodeGen::genEmitCall (dotnet/coreclr#19804)
authorSergey Andreenko <seandree@microsoft.com>
Thu, 6 Sep 2018 23:03:09 +0000 (16:03 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Sep 2018 23:03:09 +0000 (16:03 -0700)
commita36ec857074023ec8abe85bda952915dde4b50d8
tree9debf19ff69187b4cf612bd7f2aa5ea7a8006bea
parent5eafcfc9c3be908a8716465201ccbe112cdb6ee9
Clean CodeGen::genEmitCall (dotnet/coreclr#19804)

* delete isProfLeaveCB from arm signature

The previous implementation was done many years ago and I do not why it was done that way.

* extract GetSavedSet

* add isNoGCHelper

* delete isNoGC arg

* move declarations closer to their uses

* delete isGc from genEmitCall

* delete unused method declaration.

* add emitNoGChelper that accepts CORINFO_METHOD_HANDLE

* fix missed switch cases

* add function headers

* Fix feedback

* Fix feedback2

Commit migrated from https://github.com/dotnet/coreclr/commit/e80e55a1ace4b4de10072b0f6f71f79aca868906
14 files changed:
src/coreclr/src/jit/codegen.h
src/coreclr/src/jit/codegenarm.cpp
src/coreclr/src/jit/codegenarm64.cpp
src/coreclr/src/jit/codegencommon.cpp
src/coreclr/src/jit/codegenlinear.cpp
src/coreclr/src/jit/codegenxarch.cpp
src/coreclr/src/jit/emit.cpp
src/coreclr/src/jit/emit.h
src/coreclr/src/jit/emitarm.cpp
src/coreclr/src/jit/emitarm.h
src/coreclr/src/jit/emitarm64.cpp
src/coreclr/src/jit/emitarm64.h
src/coreclr/src/jit/emitxarch.cpp
src/coreclr/src/jit/emitxarch.h