For some architectures the code generator may cache a live value in a register/stack slot whereas for others it may be able to cheaply materialize the value as needed. This can lead to the situation where one ISA needs a live value to recreate the stack frame and another doesn't. This patch provides the basic infrastructure to detect that situation and handle it for an initial set of live values (namely stack references).
For some architectures the code generator may cache a live value in a register/stack slot whereas for others it may be able to cheaply materialize the value as needed. This can lead to the situation where one ISA needs a live value to recreate the stack frame and another doesn't. This patch provides the basic infrastructure to detect that situation and handle it for an initial set of live values (namely stack references).