diff options
Diffstat (limited to 'vm/Thread.c')
| -rw-r--r-- | vm/Thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/Thread.c b/vm/Thread.c index 6410bb416..8a3fa53e4 100644 --- a/vm/Thread.c +++ b/vm/Thread.c @@ -1723,7 +1723,6 @@ static void threadExitUncaughtException(Thread* self, Object* group) { Object* exception; Object* handlerObj; - ClassObject* throwable; Method* uncaughtHandler = NULL; InstField* threadHandler; @@ -4104,6 +4103,7 @@ static void gcScanReferenceTable(ReferenceTable *refTable) } } +#ifdef USE_INDIRECT_REF static void gcScanIndirectRefTable(IndirectRefTable* pRefTable) { Object** op = pRefTable->table; @@ -4117,6 +4117,7 @@ static void gcScanIndirectRefTable(IndirectRefTable* pRefTable) op++; } } +#endif /* * Scan a Thread and mark any objects it references. |
