[llvmonly] Fix the computation of the generic context used to initialize shared metho...
authorZoltan Varga <vargaz@gmail.com>
Mon, 26 Oct 2015 22:28:45 +0000 (18:28 -0400)
committerZoltan Varga <vargaz@gmail.com>
Mon, 26 Oct 2015 22:28:50 +0000 (18:28 -0400)
commita6b766f06145b84c40521d1d694147af2bade686
treef7dbaf48be157214709e3b7fc04da101fe210ce2
parenteee225412a0f475fbe2145f18a8ac7d9b4ae2c12
[llvmonly] Fix the computation of the generic context used to initialize shared methods, previously we would be using the context of the class of the receiver, but that wouldn't work when its a non-generic class inheriting from a generic class. Use the context of the method which was used to lookup the shared method in the first place instead.
mono/mini/aot-runtime.c