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

Changeset 242862 in webkit


Ignore:
Timestamp:
Mar 13, 2019, 1:24:57 AM (7 years ago)
Author:
bshafiei@apple.com
Message:

Cherry-pick r242810. rdar://problem/48839349

The HasIndexedProperty node does GC.
https://bugs.webkit.org/show_bug.cgi?id=195559
<rdar://problem/48767923>

Reviewed by Yusuke Suzuki.

JSTests:

  • stress/HasIndexedProperty-does-gc.js: Added.

Source/JavaScriptCore:

HasIndexedProperty can call the slow path operationHasIndexedPropertyByInt(),
which can eventually call JSString::getIndex(), which can resolve a rope.

  • dfg/DFGDoesGC.cpp: (JSC::DFG::doesGC):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242810 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-607-branch
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/JSTests/ChangeLog

    r242859 r242862  
     12019-03-13  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Cherry-pick r242810. rdar://problem/48839349
     4
     5    The HasIndexedProperty node does GC.
     6    https://bugs.webkit.org/show_bug.cgi?id=195559
     7    <rdar://problem/48767923>
     8   
     9    Reviewed by Yusuke Suzuki.
     10   
     11    JSTests:
     12   
     13    * stress/HasIndexedProperty-does-gc.js: Added.
     14   
     15    Source/JavaScriptCore:
     16   
     17    HasIndexedProperty can call the slow path operationHasIndexedPropertyByInt(),
     18    which can eventually call JSString::getIndex(), which can resolve a rope.
     19   
     20    * dfg/DFGDoesGC.cpp:
     21    (JSC::DFG::doesGC):
     22   
     23   
     24   
     25    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     26
     27    2019-03-12  Mark Lam  <mark.lam@apple.com>
     28
     29            The HasIndexedProperty node does GC.
     30            https://bugs.webkit.org/show_bug.cgi?id=195559
     31            <rdar://problem/48767923>
     32
     33            Reviewed by Yusuke Suzuki.
     34
     35            * stress/HasIndexedProperty-does-gc.js: Added.
     36
    1372019-03-13  Babak Shafiei  <bshafiei@apple.com>
    238
  • branches/safari-607-branch/Source/JavaScriptCore/ChangeLog

    r242859 r242862  
     12019-03-13  Babak Shafiei  <bshafiei@apple.com>
     2
     3        Cherry-pick r242810. rdar://problem/48839349
     4
     5    The HasIndexedProperty node does GC.
     6    https://bugs.webkit.org/show_bug.cgi?id=195559
     7    <rdar://problem/48767923>
     8   
     9    Reviewed by Yusuke Suzuki.
     10   
     11    JSTests:
     12   
     13    * stress/HasIndexedProperty-does-gc.js: Added.
     14   
     15    Source/JavaScriptCore:
     16   
     17    HasIndexedProperty can call the slow path operationHasIndexedPropertyByInt(),
     18    which can eventually call JSString::getIndex(), which can resolve a rope.
     19   
     20    * dfg/DFGDoesGC.cpp:
     21    (JSC::DFG::doesGC):
     22   
     23   
     24   
     25    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     26
     27    2019-03-12  Mark Lam  <mark.lam@apple.com>
     28
     29            The HasIndexedProperty node does GC.
     30            https://bugs.webkit.org/show_bug.cgi?id=195559
     31            <rdar://problem/48767923>
     32
     33            Reviewed by Yusuke Suzuki.
     34
     35            HasIndexedProperty can call the slow path operationHasIndexedPropertyByInt(),
     36            which can eventually call JSString::getIndex(), which can resolve a rope.
     37
     38            * dfg/DFGDoesGC.cpp:
     39            (JSC::DFG::doesGC):
     40
    1412019-03-13  Babak Shafiei  <bshafiei@apple.com>
    242
  • branches/safari-607-branch/Source/JavaScriptCore/dfg/DFGDoesGC.cpp

    r241891 r242862  
    202202    case GetGetterSetterByOffset:
    203203    case GetEnumerableLength:
    204     case HasIndexedProperty:
    205204    case FiatInt52:
    206205    case BooleanToNumber:
     
    289288    case GetMapBucket:
    290289    case HasGenericProperty:
     290    case HasIndexedProperty:
    291291    case HasOwnProperty:
    292292    case HasStructureProperty:
Note: See TracChangeset for help on using the changeset viewer.