Update CG2 ArgIterator to match the runtime one (#56059)
authorJan Vorlicek <jan.vorlicek@volny.cz>
Tue, 27 Jul 2021 16:51:28 +0000 (18:51 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 16:51:28 +0000 (18:51 +0200)
commitbf5fe8c411e0d0a0eaef1f125f84d3fd0ca70bee
treecba1af6977e0047298267cdfc47fb602aa4ffeb2
parentc81ca16dcde608541e952f17d0d3866d6c9ae94a
Update CG2 ArgIterator to match the runtime one (#56059)

* Update CG2 ArgIterator to match the runtime one

The goal of the change is primarily to make it correct for the Apple
Silicon where the calling convention slightly differs from the
Unix ARM64 one, especially in passing arguments smaller than a pointer
size on stack.
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ArgIterator.cs
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/TransitionBlock.cs