summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/API/APIShims.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/API/APIShims.h')
-rw-r--r--Source/JavaScriptCore/API/APIShims.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/API/APIShims.h b/Source/JavaScriptCore/API/APIShims.h
index 26db2dc..2e13851 100644
--- a/Source/JavaScriptCore/API/APIShims.h
+++ b/Source/JavaScriptCore/API/APIShims.h
@@ -42,7 +42,7 @@ protected:
UNUSED_PARAM(registerThread);
#if ENABLE(JSC_MULTIPLE_THREADS)
if (registerThread)
- globalData->heap.machineStackMarker().registerThread();
+ globalData->heap.machineThreads().addCurrentThread();
#endif
m_globalData->heap.activityCallback()->synchronize();
m_globalData->timeoutChecker.start();