Allocate the lvaOutgoingArgSpaceVar very early, right after the user locals.
authorBrian Sullivan <briansul@microsoft.com>
Thu, 26 Apr 2018 18:13:32 +0000 (11:13 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Thu, 26 Apr 2018 18:13:32 +0000 (11:13 -0700)
commit383481c9ffad0291383ee406a575239b9ad76728
tree1b3375068c7771f3899b855f91970a33226c8b76
parent7273f13db6f26f24764fdf13c690b5a2e7215940
Allocate the lvaOutgoingArgSpaceVar very early, right after the user locals.
This ensures that it gets a low LclVar number so that we don't hit
the IMPL_LIMITATION associated with offsets > 255 for LclVar numbers above 32767
src/jit/lclvars.cpp
src/jit/utils.h
tests/src/JIT/Regression/JitBlue/GitHub_17777/GitHub_17777.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_17777/GitHub_17777.csproj [new file with mode: 0644]