Windows build fix.
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Oct 2010 21:33:58 +0000 (21:33 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Oct 2010 21:33:58 +0000 (21:33 +0000)
* jit/JITStubs.cpp:
(JSC::jitThrow):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/jit/JITStubs.cpp

index dfe4b1d..24227e2 100644 (file)
@@ -1,3 +1,10 @@
+2010-10-27  Brian Weinstein  <bweinstein@apple.com>
+
+        Windows build fix.
+
+        * jit/JITStubs.cpp:
+        (JSC::jitThrow):
+
 2010-10-27  Gavin Barraclough  <barraclough@apple.com>
 
         Reviewed by Oliver Hunt.
index 50d84c6..e5cf503 100644 (file)
@@ -1078,7 +1078,8 @@ static ExceptionHandler jitThrow(JSGlobalData* globalData, CallFrame* callFrame,
 
     void* catchRoutine = handler ? handler->nativeCode.executableAddress() : FunctionPtr(ctiOpThrowNotCaught).value();
     ASSERT(catchRoutine);
-    return (ExceptionHandler){ catchRoutine, callFrame };
+    ExceptionHandler exceptionHandler = { catchRoutine, callFrame };
+    return exceptionHandler;
 }
 
 #if CPU(ARM_THUMB2)