Use the correct class handle for fat call temporary (#9893)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 2 Mar 2017 06:15:34 +0000 (22:15 -0800)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2017 06:15:34 +0000 (22:15 -0800)
commit58010850217463943ba5910ddc8303b9d36f709e
tree64ab5aff684f0137be2c5ceb35e6811c0e86c696
parent4bafc1004b99013eaa58450e4f974dc7169b5af1
Use the correct class handle for fat call temporary (#9893)

`clsHnd` is the class handle of the type that owns the method for
`opcode != CEE_CALLI`. We need the class handle for the method's
return type though.

This is ending up with RyuJIT asking weird questions over JitInterface
(`getClassGClayout` of a reference type).

Also removing a line that was added in #9191 to support the old code.
src/jit/importer.cpp