Ignore:
Timestamp:
Sep 26, 2016, 7:46:19 PM (9 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r206405.
https://bugs.webkit.org/show_bug.cgi?id=162588

This change caused LayoutTest crashes. (Requested by
ryanhaddad on #webkit).

Reverted changeset:

"Add some needed CatchScopes in code that should not throw."
https://bugs.webkit.org/show_bug.cgi?id=162584
http://trac.webkit.org/changeset/206405

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp

    r206405 r206408  
    584584{
    585585    VM& vm = callFrame->vm();
    586     auto catchScope = DECLARE_CATCH_SCOPE(vm);
     586    auto throwScope = DECLARE_THROW_SCOPE(vm);
    587587    if (Debugger* debugger = callFrame->vmEntryGlobalObject()->debugger()) {
    588588        SuspendExceptionScope scope(&vm);
     
    591591        else
    592592            debugger->didExecuteProgram(callFrame);
    593         ASSERT_UNUSED(catchScope, !catchScope.exception());
     593        ASSERT_UNUSED(throwScope, !throwScope.exception());
    594594    }
    595595}
Note: See TracChangeset for help on using the changeset viewer.