Changeset 154204 in webkit


Ignore:
Timestamp:
Aug 16, 2013, 2:40:47 PM (12 years ago)
Author:
mark.lam@apple.com
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r154199 r154204  
     12013-08-16  Mark Lam  <mark.lam@apple.com>
     2
     3        <https://bugs.webkit.org/show_bug.cgi?id=119913> Baseline JIT gives erroneous
     4        error message that an object is not a constructor though it expects a function
     5
     6        Reviewed by Michael Saboff.
     7
     8        * jit/JITStubs.cpp:
     9        (JSC::DEFINE_STUB_FUNCTION):
     10
    1112013-08-16  Filip Pizlo  <fpizlo@apple.com>
    212
  • trunk/Source/JavaScriptCore/jit/JITStubs.cpp

    r154199 r154204  
    14211421    if (callType != CallTypeHost) {
    14221422        ASSERT(callType == CallTypeNone);
    1423         ErrorWithExecAndCalleeFunctor functor = ErrorWithExecAndCalleeFunctor(createNotAConstructorError, callee);
     1423        ErrorWithExecAndCalleeFunctor functor = ErrorWithExecAndCalleeFunctor(createNotAFunctionError, callee);
    14241424        return throwExceptionFromOpCall<EncodedJSValue>(stackFrame, callFrame, STUB_RETURN_ADDRESS, functor);
    14251425    }
Note: See TracChangeset for help on using the changeset viewer.