[interp] Kill InterpFrame.ex (#16666)
commitf0dabc6618931ccd4c544657ed1a7f3d3d803c25
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 5 Sep 2019 20:10:13 +0000 (5 23:10 +0300)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2019 20:10:13 +0000 (5 23:10 +0300)
tree963462c487754b6e82fb60d2d73862669d77a1d8
parent673c8835fd90c5aa05a8836fcfcf24711d456fc7
[interp] Kill InterpFrame.ex (#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).
mono/mini/interp/interp-internals.h
mono/mini/interp/interp.c