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/runtime/SamplingProfiler.cpp

    r206405 r206408  
    592592        return String();
    593593
    594     auto scope = DECLARE_CATCH_SCOPE(vm);
    595594    ExecState* exec = callee->globalObject()->globalExec();
    596595    auto getPropertyIfPureOperation = [&] (const Identifier& ident) -> String {
    597596        PropertySlot slot(callee, PropertySlot::InternalMethodType::VMInquiry);
    598597        PropertyName propertyName(ident);
    599         bool hasProperty = callee->getPropertySlot(exec, propertyName, slot);
    600         ASSERT_UNUSED(scope, !scope.exception());
    601         if (hasProperty) {
     598        if (callee->getPropertySlot(exec, propertyName, slot)) {
    602599            if (slot.isValue()) {
    603600                JSValue nameValue = slot.getValue(exec, propertyName);
Note: See TracChangeset for help on using the changeset viewer.