Use function-local StackingAllocator for EnC added methods (#26256)
authorJuan Hoyos <juan.hoyos@microsoft.com>
Tue, 20 Aug 2019 02:21:40 +0000 (19:21 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Aug 2019 02:21:40 +0000 (19:21 -0700)
commitecb4575a825e8a6aa21f9775bc8005524e56e03d
tree9c4e8e2ed676dcf3a769c6e01ad65bc01b945214
parent6d8482c379f67a00d63acd823ef351497a7bba4d
Use function-local StackingAllocator for EnC added methods (#26256)

As adding EnC methods happens on the Debugger Thread, there's no managed Thread object from which to obtain the cached StackingAllocator. Instead, just use a function-local StackingAllocator.
src/vm/class.cpp