summaryrefslogtreecommitdiff
path: root/src/gc/gcenv.ee.standalone.inl
diff options
context:
space:
mode:
authorSean Gillespie <sean@swgillespie.me>2017-04-09 13:58:29 -0700
committerGitHub <noreply@github.com>2017-04-09 13:58:29 -0700
commit2dfc74df1f9fe238eb2ec25c4764b8b65432b010 (patch)
treee04a2ddc84bf73067292cb9648d36ff3a0b92575 /src/gc/gcenv.ee.standalone.inl
parent1a9781b68b8ec66c223bb96f44ae1d2704ce6fdf (diff)
downloadcoreclr-2dfc74df1f9fe238eb2ec25c4764b8b65432b010.tar.gz
coreclr-2dfc74df1f9fe238eb2ec25c4764b8b65432b010.tar.bz2
coreclr-2dfc74df1f9fe238eb2ec25c4764b8b65432b010.zip
[Local GC] Move knowledge of the free object method table outside of the GC (#10755)
* [Local GC] Move knowledge of the free object method table outside of the GC * Revert "[Local GC] Move knowledge of the free object method table outside of the GC" This reverts commit 02979e5eb12dd44edb2603e16411dd7d7ffc377d. * Address code review feedback: leave ArrayBase alone, as it should be part of the binary contract between the EE and the GC * Correct a bad merge
Diffstat (limited to 'src/gc/gcenv.ee.standalone.inl')
-rw-r--r--src/gc/gcenv.ee.standalone.inl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gc/gcenv.ee.standalone.inl b/src/gc/gcenv.ee.standalone.inl
index f26a7768d5..f6954fc476 100644
--- a/src/gc/gcenv.ee.standalone.inl
+++ b/src/gc/gcenv.ee.standalone.inl
@@ -231,6 +231,11 @@ ALWAYS_INLINE bool GCToEEInterface::EagerFinalized(Object* obj)
return g_theGCToCLR->EagerFinalized(obj);
}
+ALWAYS_INLINE MethodTable* GCToEEInterface::GetFreeObjectMethodTable()
+{
+ assert(g_theGCToCLR != nullptr);
+ return g_theGCToCLR->GetFreeObjectMethodTable();
+}
#undef ALWAYS_INLINE
#endif // __GCTOENV_EE_STANDALONE_INL__