Changeset 262239 in webkit


Ignore:
Timestamp:
May 28, 2020, 7:28:35 AM (5 years ago)
Author:
mark.lam@apple.com
Message:

Gardening: Add an assertNoException() to placate the exception checker and green the bots.
https://bugs.webkit.org/show_bug.cgi?id=212248

Not reviewed.

This solution was pointed out by Caio Lima in https://bugs.webkit.org/show_bug.cgi?id=212248#c10.

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::init):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r262233 r262239  
     12020-05-28  Mark Lam  <mark.lam@apple.com>
     2
     3        Gardening: Add an assertNoException() to placate the exception checker and green the bots.
     4        https://bugs.webkit.org/show_bug.cgi?id=212248
     5
     6        Not reviewed.
     7
     8        This solution was pointed out by Caio Lima in https://bugs.webkit.org/show_bug.cgi?id=212248#c10.
     9
     10        * runtime/JSGlobalObject.cpp:
     11        (JSC::JSGlobalObject::init):
     12
    1132020-05-27  Saam Barati  <sbarati@apple.com>
    214
  • trunk/Source/JavaScriptCore/runtime/JSGlobalObject.cpp

    r262233 r262239  
    10521052    {
    10531053        JSValue hasOwnPropertyFunction = jsCast<JSFunction*>(objectPrototype()->get(this, vm.propertyNames->hasOwnProperty));
     1054        catchScope.assertNoException();
    10541055        RELEASE_ASSERT(!!jsDynamicCast<JSFunction*>(vm, hasOwnPropertyFunction));
    10551056        m_linkTimeConstants[static_cast<unsigned>(LinkTimeConstant::hasOwnPropertyFunction)].set(vm, this, jsCast<JSFunction*>(hasOwnPropertyFunction));
Note: See TracChangeset for help on using the changeset viewer.