Changeset 36437 in webkit for trunk/JavaScriptCore/VM/Machine.cpp


Ignore:
Timestamp:
Sep 15, 2008, 3:43:14 AM (17 years ago)
Author:
[email protected]
Message:

2008-09-15 Cameron Zwarich <[email protected]>

Reviewed by Maciej Stachowiak.

Fix a crash in fast/js/exception-expression-offset.html caused by not
updating all mentions of the length of op_construct in r36427.

  • VM/Machine.cpp: (JSC::Machine::cti_op_construct_NotJSConstruct):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.cpp

    r36427 r36437  
    45324532    ASSERT(constructType == ConstructTypeNone);
    45334533
    4534     exec->setException(createNotAConstructorError(exec, constrVal, ARG_instr4, ARG_codeBlock));
     4534    exec->setException(createNotAConstructorError(exec, constrVal, ARG_instr5, ARG_codeBlock));
    45354535    VM_CHECK_EXCEPTION_AT_END();
    45364536    return 0;
Note: See TracChangeset for help on using the changeset viewer.