[Webkit-unassigned] [Bug 120998] [Win] Compile errors when enabling DFG JIT.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 21 10:18:43 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120998





--- Comment #16 from Brent Fulgham <bfulgham at webkit.org>  2013-10-21 10:17:29 PST ---
(From update of attachment 214649)
View in context: https://bugs.webkit.org/attachment.cgi?id=214649&action=review

I think this looks fine. I had a couple of questions I wanted to check with you about before approving it.

> Source/JavaScriptCore/dfg/DFGAllocator.h:81
> +    void startBumpingIn(Region*);

I don't understand why we are removing the scoping here. Is this to silence a warning in Visual Studio?

> Source/JavaScriptCore/jit/JITOperationWrappers.h:332
> +__declspec(naked) EncodedJSValue JIT_OPERATION function(ExecState*, EncodedJSValue, StringImpl*) \

These macros are going to be hard to replicate for 64-bit with Visual Studio since it prohibits inline assembly.

> Source/WTF/wtf/CompilationThread.cpp:55
> +    initializeCompilationThreadsMutex.unlock();

We should probably create a WTF/ThreadingOnce.h/.cpp that encapsulates this pattern.  We use the pthread_once logic in a number of places, and it would be useful to only do this one way throughout our code base.

You don't need to do that in this bug, of course :-)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list