Clean CodeGen::genEmitCall (#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)
commite80e55a1ace4b4de10072b0f6f71f79aca868906
tree2a47b82a11e5e528a04a6d31a968780371d572cb
parent269deff2221f3c2acbc6b67f5e51a744a8f2f581
Clean CodeGen::genEmitCall (#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
14 files changed:
src/jit/codegen.h
src/jit/codegenarm.cpp
src/jit/codegenarm64.cpp
src/jit/codegencommon.cpp
src/jit/codegenlinear.cpp
src/jit/codegenxarch.cpp
src/jit/emit.cpp
src/jit/emit.h
src/jit/emitarm.cpp
src/jit/emitarm.h
src/jit/emitarm64.cpp
src/jit/emitarm64.h
src/jit/emitxarch.cpp
src/jit/emitxarch.h