Compilation fix for bug 524841.

This commit is contained in:
Andreas Gal 2009-10-27 18:15:37 -07:00
parent b94b5fa44a
commit 37bcf491fe

View File

@ -305,7 +305,7 @@ JSThreadData *
js_CurrentThreadData(JSRuntime *rt) js_CurrentThreadData(JSRuntime *rt)
{ {
#ifdef JS_THREADSAFE #ifdef JS_THREADSAFE
JSThread *thread = js_CurrentThread(); JSThread *thread = js_CurrentThread(rt);
if (!thread) if (!thread)
return NULL; return NULL;