[runtime] Properly handle rethrow outside of catch blocks. Fixes #20412
commit9d8be3d40c21a1e40aa7de7a74f548c2d96788f9
authorRodrigo Kumpera <kumpera@gmail.com>
Sun, 27 Jul 2014 21:58:11 +0000 (27 18:58 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Sun, 27 Jul 2014 21:58:11 +0000 (27 18:58 -0300)
treea4d8d094b979901875fcb1a78ed9a0d1cb0dcd28
parent91c346a3f602b783ed5af6f53a6bb41262d0903e
[runtime] Properly handle rethrow outside of catch blocks. Fixes #20412

Fix the verifier to fail a rethrow in a filter block.
Change the JIT to emit an exception instead of asserting.
mono/metadata/verify.c
mono/mini/method-to-ir.c