diff options
Diffstat (limited to 'src/gc/env/gcenv.ee.h')
-rw-r--r-- | src/gc/env/gcenv.ee.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gc/env/gcenv.ee.h b/src/gc/env/gcenv.ee.h index 0c1fd4988a..f71380e1a1 100644 --- a/src/gc/env/gcenv.ee.h +++ b/src/gc/env/gcenv.ee.h @@ -9,10 +9,11 @@ struct ScanContext; class CrawlFrame; +struct gc_alloc_context; typedef void promote_func(PTR_PTR_Object, ScanContext*, uint32_t); -typedef void enum_alloc_context_func(alloc_context*, void*); +typedef void enum_alloc_context_func(gc_alloc_context*, void*); typedef struct { @@ -74,7 +75,7 @@ public: static void EnablePreemptiveGC(Thread * pThread); static void DisablePreemptiveGC(Thread * pThread); - static alloc_context * GetAllocContext(Thread * pThread); + static gc_alloc_context * GetAllocContext(Thread * pThread); static bool CatchAtSafePoint(Thread * pThread); static void GcEnumAllocContexts(enum_alloc_context_func* fn, void* param); |