Title: [154204] trunk/Source/_javascript_Core
Revision
154204
Author
[email protected]
Date
2013-08-16 14:40:47 -0700 (Fri, 16 Aug 2013)

Log Message

<https://bugs.webkit.org/show_bug.cgi?id=119913> Baseline JIT gives erroneous
error message that an object is not a constructor though it expects a function

Reviewed by Michael Saboff.

* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (154203 => 154204)


--- trunk/Source/_javascript_Core/ChangeLog	2013-08-16 21:29:48 UTC (rev 154203)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-08-16 21:40:47 UTC (rev 154204)
@@ -1,3 +1,13 @@
+2013-08-16  Mark Lam  <[email protected]>
+
+        <https://bugs.webkit.org/show_bug.cgi?id=119913> Baseline JIT gives erroneous
+        error message that an object is not a constructor though it expects a function
+
+        Reviewed by Michael Saboff.
+
+        * jit/JITStubs.cpp:
+        (JSC::DEFINE_STUB_FUNCTION):
+
 2013-08-16  Filip Pizlo  <[email protected]>
 
         Object properties added using dot syntax (o.f = ...) from code that isn't in eval should be less likely to cause an object to become a dictionary

Modified: trunk/Source/_javascript_Core/jit/JITStubs.cpp (154203 => 154204)


--- trunk/Source/_javascript_Core/jit/JITStubs.cpp	2013-08-16 21:29:48 UTC (rev 154203)
+++ trunk/Source/_javascript_Core/jit/JITStubs.cpp	2013-08-16 21:40:47 UTC (rev 154204)
@@ -1420,7 +1420,7 @@
     ASSERT(callType != CallTypeJS);
     if (callType != CallTypeHost) {
         ASSERT(callType == CallTypeNone);
-        ErrorWithExecAndCalleeFunctor functor = ErrorWithExecAndCalleeFunctor(createNotAConstructorError, callee);
+        ErrorWithExecAndCalleeFunctor functor = ErrorWithExecAndCalleeFunctor(createNotAFunctionError, callee);
         return throwExceptionFromOpCall<EncodedJSValue>(stackFrame, callFrame, STUB_RETURN_ADDRESS, functor);
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to