⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 259614 in webkit


Ignore:
Timestamp:
Apr 6, 2020, 5:11:24 PM (6 years ago)
Author:
mark.lam@apple.com
Message:

REGRESSION: 68000 JSC tests failing.
https://bugs.webkit.org/show_bug.cgi?id=210078
<rdar://problem/61364513>

Reviewed by Yusuke Suzuki.

The missing exception check is in jsc shell's GlobalObject::finishCreation().
Since this is just a debugging tool, and this exception will never be thrown in
practice, I've placated the validator by RELEASE_ASSERT'ing that the exception
will never be thrown.

  • jsc.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r259606 r259614  
     12020-04-06  Mark Lam  <mark.lam@apple.com>
     2
     3        REGRESSION: 68000 JSC tests failing.
     4        https://bugs.webkit.org/show_bug.cgi?id=210078
     5        <rdar://problem/61364513>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        The missing exception check is in jsc shell's GlobalObject::finishCreation().
     10        Since this is just a debugging tool, and this exception will never be thrown in
     11        practice, I've placated the validator by RELEASE_ASSERT'ing that the exception
     12        will never be thrown.
     13
     14        * jsc.cpp:
     15
    1162020-04-06  Ross Kirsling  <ross.kirsling@sony.com>
    217
  • trunk/Source/JavaScriptCore/jsc.cpp

    r259587 r259614  
    487487    void finishCreation(VM& vm, const Vector<String>& arguments)
    488488    {
     489        auto catchScope = DECLARE_CATCH_SCOPE(vm);
    489490        Base::finishCreation(vm);
    490491
     
    600601        JSFunction* IsHTMLDDAGetter = JSFunction::create(vm, this, 0, "IsHTMLDDA"_s, functionMakeMasquerader);
    601602        dollar->putGetter(this, Identifier::fromString(vm, "IsHTMLDDA"), IsHTMLDDAGetter, static_cast<unsigned>(PropertyAttribute::Accessor));
    602        
     603        catchScope.releaseAssertNoException();
     604
    603605        JSObject* agent = JSFinalObject::create(vm, plainObjectStructure);
    604606        dollar->putDirect(vm, Identifier::fromString(vm, "agent"), agent);
Note: See TracChangeset for help on using the changeset viewer.