[interp] Fix rethrow (#11844)
commit9c6d733449a04be3f042ed01fc9bc49fda8494bf
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 30 Nov 2018 09:22:11 +0000 (30 11:22 +0200)
committerGitHub <noreply@github.com>
Fri, 30 Nov 2018 09:22:11 +0000 (30 11:22 +0200)
tree74ff2d44e65be3281bbf2939d26680a8b81e87f3
parent7c01f6f5830eaff7a99d8a0182406918bb1f8cc7
[interp] Fix rethrow (#11844)

* [interp] Remove some useless code

* [interp] Remove useless variable

When unwinding, we get the last interp frame that was executing from the LMF marker.

* [interp] Rethrow from the actual ip

Before we would rethrow from ip - 1 which could be part of another clause, screwing up EH.

* [interp] Enable all bcl disabled tests
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Coalesce.cs
mcs/class/System.Core/Test/System.Linq/EnumerableAsQueryableTest.cs
mcs/class/System.Core/Test/System.Linq/ParallelEnumerableTests.cs
mcs/class/System/Test/System.Net/HttpListenerTest.cs
mcs/class/corlib/Test/System.Runtime.Serialization/SerializationTest.cs
mono/mini/interp/interp-internals.h
mono/mini/interp/interp.c