JIT: handle byref-typed immediates in encoding (#21477)
authorAndy Ayers <andya@microsoft.com>
Thu, 13 Dec 2018 00:54:08 +0000 (16:54 -0800)
committerGitHub <noreply@github.com>
Thu, 13 Dec 2018 00:54:08 +0000 (16:54 -0800)
commit962b1737249adcbf6eea9388463a042e4dc19288
tree01dcb393c3346f0e58f9ff016027cd93b2a207ff
parent4d7f7112efaf54a9634abf2f3a8fecc254301c85
JIT: handle byref-typed immediates in encoding (#21477)

We may now retype some immediates (for instance RVA statics feeding into Spans)
as byrefs.  These need to be tracked as such during encoding so that the encoder
GC liveness tracking stays current.

Fixes the assert seen in #21466.
src/jit/codegenxarch.cpp