Changeset 154204 in webkit for trunk/Source/JavaScriptCore/jit


Ignore:
Timestamp:
Aug 16, 2013, 2:40:47 PM (12 years ago)
Author:
[email protected]
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):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.