diff options
author | Sean Gillespie <sean@swgillespie.me> | 2017-01-23 16:50:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 16:50:51 -0800 |
commit | ace6d1b728f4041d351cbf05e9356a23305be182 (patch) | |
tree | ac095ca5c008b46907d7b777f553518f2e4952db /src/gc/gcenv.ee.standalone.inl | |
parent | 8305136b93cc017343c028b60ab0aae98825d59f (diff) | |
download | coreclr-ace6d1b728f4041d351cbf05e9356a23305be182.tar.gz coreclr-ace6d1b728f4041d351cbf05e9356a23305be182.tar.bz2 coreclr-ace6d1b728f4041d351cbf05e9356a23305be182.zip |
[Local GC] Add three finalization-related operations to GCToEEInterface (#9029)
* Add three finalization-related operations to GCToEEInterface and utilize them from the GC
* Code review feedback
* Code review feedback
* Fix standalone GC build break
* Repair the standalone GC build
Diffstat (limited to 'src/gc/gcenv.ee.standalone.inl')
-rw-r--r-- | src/gc/gcenv.ee.standalone.inl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gc/gcenv.ee.standalone.inl b/src/gc/gcenv.ee.standalone.inl index 3b64586d70..e285394eb3 100644 --- a/src/gc/gcenv.ee.standalone.inl +++ b/src/gc/gcenv.ee.standalone.inl @@ -173,4 +173,10 @@ inline void GCToEEInterface::StompWriteBarrier(WriteBarrierParameters* args) g_theGCToCLR->StompWriteBarrier(args); } +inline void GCToEEInterface::EnableFinalization(bool foundFinalizers) +{ + assert(g_theGCToCLR != nullptr); + g_theGCToCLR->EnableFinalization(foundFinalizers); +} + #endif // __GCTOENV_EE_STANDALONE_INL__ |