Merge pull request #2735 from xmcclure/early-lookup-addr
authormonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 9 Mar 2016 03:55:27 +0000 (03:55 +0000)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Wed, 9 Mar 2016 03:55:27 +0000 (03:55 +0000)
commit73cda12003768c9b6bc6fb55ccc7984fd6637dca
treef7e159605f2b67342e20912c75a49601c58eb3b0
parent9e4c2757e7ce010369138b5ae9f3f0023a8101fe
parent98dbaf2bdee7392d65a5fe3a42f149f2c3db1647
Merge pull request #2735 from xmcclure/early-lookup-addr

Early ICALL_ADDR lookup on pinvoke to fix checked-build assert

The pinvoke implementation in the failure case was creating a managed
exception object while in blocking mode, a rules violation. This patch
puts a redundant lookup early so that any exceptions occur before
blocking mode is entered. (The "real" lookup is unchanged because the
current pattern is optimized well by the JIT.)