From 2dfc74df1f9fe238eb2ec25c4764b8b65432b010 Mon Sep 17 00:00:00 2001 From: Sean Gillespie Date: Sun, 9 Apr 2017 13:58:29 -0700 Subject: [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 --- src/vm/gcenv.ee.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/vm/gcenv.ee.cpp') diff --git a/src/vm/gcenv.ee.cpp b/src/vm/gcenv.ee.cpp index f11b8f9aba..54c7991ee9 100644 --- a/src/vm/gcenv.ee.cpp +++ b/src/vm/gcenv.ee.cpp @@ -1394,3 +1394,9 @@ bool GCToEEInterface::EagerFinalized(Object* obj) return false; } + +MethodTable* GCToEEInterface::GetFreeObjectMethodTable() +{ + assert(g_pFreeObjectMethodTable != nullptr); + return g_pFreeObjectMethodTable; +} -- cgit v1.2.3