Skip to content
  • commit-queue@webkit.org's avatar
    [Win] Compile errors when enabling DFG JIT. · 85f8e26d
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=120998
    
    Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-30
    Reviewed by Brent Fulgham.
    
    Source/JavaScriptCore:
    
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Added files.
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Ditto.
    * dfg/DFGAllocator.h: Removed scope.
    * dfg/DFGWorklist.cpp: Use new ThreadingOnce class instead of pthread_once.
    (JSC::DFG::globalWorklist):
    * heap/DeferGC.h: Link fix, member needs to be public.
    * jit/JITOperationWrappers.h: Added required assembler macros.
    
    Source/WTF:
    
    * wtf/CompilationThread.cpp: Use new ThreadingOnce class instead of pthread_once.
    (WTF::initializeCompilationThreads):
    * wtf/ThreadingOnce.h: Added ThreadingOnce class encapsulating pthread_once functionality.
    (WTF::ThreadingOnce::ThreadingOnce):
    (WTF::ThreadingOnce::~ThreadingOnce):
    (WTF::ThreadingOnce::callOnce):
    * wtf/text/CString.h: Export needed symbols.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    85f8e26d