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

Changeset 249225 in webkit


Ignore:
Timestamp:
Aug 28, 2019, 4:11:17 PM (7 years ago)
Author:
mark.lam@apple.com
Message:

Placate exception check validation in DFG's operationHasGenericProperty().
https://bugs.webkit.org/show_bug.cgi?id=201245
<rdar://problem/54777512>

Reviewed by Robin Morisset.

JSTests:

  • stress/missing-exception-check-in-operationHasGenericProperty.js: Added.

Source/JavaScriptCore:

  • dfg/DFGOperations.cpp:
Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r249164 r249225  
     12019-08-28  Mark Lam  <mark.lam@apple.com>
     2
     3        Placate exception check validation in DFG's operationHasGenericProperty().
     4        https://bugs.webkit.org/show_bug.cgi?id=201245
     5        <rdar://problem/54777512>
     6
     7        Reviewed by Robin Morisset.
     8
     9        * stress/missing-exception-check-in-operationHasGenericProperty.js: Added.
     10
    1112019-08-27  Mark Lam  <mark.lam@apple.com>
    212
  • trunk/Source/JavaScriptCore/ChangeLog

    r249223 r249225  
     12019-08-28  Mark Lam  <mark.lam@apple.com>
     2
     3        Placate exception check validation in DFG's operationHasGenericProperty().
     4        https://bugs.webkit.org/show_bug.cgi?id=201245
     5        <rdar://problem/54777512>
     6
     7        Reviewed by Robin Morisset.
     8
     9        * dfg/DFGOperations.cpp:
     10
    1112019-08-28  Ross Kirsling  <ross.kirsling@sony.com>
    212
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r249175 r249225  
    21362136
    21372137    JSObject* base = baseValue.toObject(exec);
     2138    ASSERT(!scope.exception() || !base);
    21382139    if (!base)
    21392140        return JSValue::encode(JSValue());
Note: See TracChangeset for help on using the changeset viewer.