[interp] Kill InterpFrame.ex (mono/mono#16666)
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 5 Sep 2019 20:10:13 +0000 (23:10 +0300)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2019 20:10:13 +0000 (23:10 +0300)
commitaa631aaa03031e3e8e3a015a346d00a5d026880a
tree3556e2c57be3d26cf0552e358478c8835e7c1b0a
parent5cfda814e1852c37d042e2ae2d0cda3bb169fd0c
[interp] Kill InterpFrame.ex (mono/mono#16666)

* [interp] Reduce unnecessary uses of frame->ex

* [interp] Remove ex from InterpFrame

We save stack space and move the exception where it belongs, in ThreadContext. It was confusing what frame->ex really meant, it was probably not used / initialized properly. We move it now to ThreadContext where it represents the current exception being thrown during EH (when we have a resume state set).

Commit migrated from https://github.com/mono/mono/commit/f0dabc6618931ccd4c544657ed1a7f3d3d803c25
src/mono/mono/mini/interp/interp-internals.h
src/mono/mono/mini/interp/interp.c