jsc.cpp should call initializeMainThread() to make sure that GC thread assertions...
[WebKit-https.git] / Source / JavaScriptCore / jsc.cpp
index a96253a..9b8cd33 100644 (file)
@@ -2559,9 +2559,7 @@ int jscmain(int argc, char** argv)
     CommandLine options(argc, argv);
 
     // Initialize JSC before getting VM.
-#if ENABLE(SAMPLING_REGIONS)
     WTF::initializeMainThread();
-#endif
     JSC::initializeThreading();
 
     VM* vm = &VM::create(LargeHeap).leakRef();