Title: [184647] trunk/Source/_javascript_Core
Revision
184647
Author
[email protected]
Date
2015-05-20 12:35:17 -0700 (Wed, 20 May 2015)

Log Message

No LLInt Test Failure: jsc-layout-tests.yaml/js/script-tests/object-literal-duplicate-properties.js.layout-no-llint
https://bugs.webkit.org/show_bug.cgi?id=145219

Reviewed by Mark Lam.

* jit/JITOperations.cpp:
Throw the error we just got, instead of a stack overflow exception.
This matches other error handling for callers of prepareForExecution.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (184646 => 184647)


--- trunk/Source/_javascript_Core/ChangeLog	2015-05-20 18:40:42 UTC (rev 184646)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-05-20 19:35:17 UTC (rev 184647)
@@ -1,3 +1,14 @@
+2015-05-20  Joseph Pecoraro  <[email protected]>
+
+        No LLInt Test Failure: jsc-layout-tests.yaml/js/script-tests/object-literal-duplicate-properties.js.layout-no-llint
+        https://bugs.webkit.org/show_bug.cgi?id=145219
+
+        Reviewed by Mark Lam.
+
+        * jit/JITOperations.cpp:
+        Throw the error we just got, instead of a stack overflow exception.
+        This matches other error handling for callers of prepareForExecution.
+
 2015-05-19  Filip Pizlo  <[email protected]>
 
         Add some assertions about the CFG in the loop pre-header creation phase

Modified: trunk/Source/_javascript_Core/jit/JITOperations.cpp (184646 => 184647)


--- trunk/Source/_javascript_Core/jit/JITOperations.cpp	2015-05-20 18:40:42 UTC (rev 184646)
+++ trunk/Source/_javascript_Core/jit/JITOperations.cpp	2015-05-20 19:35:17 UTC (rev 184647)
@@ -746,7 +746,7 @@
 
         JSObject* error = functionExecutable->prepareForExecution(execCallee, callee, scope, kind);
         if (error) {
-            throwStackOverflowError(exec);
+            exec->vm().throwException(exec, error);
             return reinterpret_cast<char*>(vm->getCTIStub(throwExceptionFromCallSlowPathGenerator).code().executableAddress());
         }
         codeBlock = functionExecutable->codeBlockFor(kind);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to