Title: [241891] branches/safari-607-branch/Source/_javascript_Core
Revision
241891
Author
[email protected]
Date
2019-02-21 13:27:27 -0800 (Thu, 21 Feb 2019)

Log Message

Cherry-pick r241772. rdar://problem/48248228

    Fix DFG doesGC() for TryGetById and ProfileType nodes.
    https://bugs.webkit.org/show_bug.cgi?id=194821
    <rdar://problem/48206690>

    Reviewed by Saam Barati.

    Fix doesGC() for the following nodes:

        ProfileType:
            calls operationProcessTypeProfilerLogDFG(), which can calculatedClassName(),
            which can call JSString::tryGetValue(), which can resolve a rope.

        TryGetById:
            calls operationTryGetByIdOptimize(), which can startWatchingPropertyForReplacements()
            on a structure, which can allocate StructureRareData.

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

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

Modified Paths

Diff

Modified: branches/safari-607-branch/Source/_javascript_Core/ChangeLog (241890 => 241891)


--- branches/safari-607-branch/Source/_javascript_Core/ChangeLog	2019-02-21 21:27:25 UTC (rev 241890)
+++ branches/safari-607-branch/Source/_javascript_Core/ChangeLog	2019-02-21 21:27:27 UTC (rev 241891)
@@ -1,5 +1,51 @@
 2019-02-20  Alan Coon  <[email protected]>
 
+        Cherry-pick r241772. rdar://problem/48248228
+
+    Fix DFG doesGC() for TryGetById and ProfileType nodes.
+    https://bugs.webkit.org/show_bug.cgi?id=194821
+    <rdar://problem/48206690>
+    
+    Reviewed by Saam Barati.
+    
+    Fix doesGC() for the following nodes:
+    
+        ProfileType:
+            calls operationProcessTypeProfilerLogDFG(), which can calculatedClassName(),
+            which can call JSString::tryGetValue(), which can resolve a rope.
+    
+        TryGetById:
+            calls operationTryGetByIdOptimize(), which can startWatchingPropertyForReplacements()
+            on a structure, which can allocate StructureRareData.
+    
+    * dfg/DFGDoesGC.cpp:
+    (JSC::DFG::doesGC):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-02-19  Mark Lam  <[email protected]>
+
+            Fix DFG doesGC() for TryGetById and ProfileType nodes.
+            https://bugs.webkit.org/show_bug.cgi?id=194821
+            <rdar://problem/48206690>
+
+            Reviewed by Saam Barati.
+
+            Fix doesGC() for the following nodes:
+
+                ProfileType:
+                    calls operationProcessTypeProfilerLogDFG(), which can calculatedClassName(),
+                    which can call JSString::tryGetValue(), which can resolve a rope.
+
+                TryGetById:
+                    calls operationTryGetByIdOptimize(), which can startWatchingPropertyForReplacements()
+                    on a structure, which can allocate StructureRareData.
+
+            * dfg/DFGDoesGC.cpp:
+            (JSC::DFG::doesGC):
+
+2019-02-20  Alan Coon  <[email protected]>
+
         Cherry-pick r241753. rdar://problem/48243425
 
     Fix DFG doesGC() for CompareEq/Less/LessEq/Greater/GreaterEq and CompareStrictEq nodes.

Modified: branches/safari-607-branch/Source/_javascript_Core/dfg/DFGDoesGC.cpp (241890 => 241891)


--- branches/safari-607-branch/Source/_javascript_Core/dfg/DFGDoesGC.cpp	2019-02-21 21:27:25 UTC (rev 241890)
+++ branches/safari-607-branch/Source/_javascript_Core/dfg/DFGDoesGC.cpp	2019-02-21 21:27:27 UTC (rev 241891)
@@ -116,7 +116,6 @@
     case ValueSub:
     case ValueMul:
     case ValueDiv:
-    case TryGetById:
     case CheckStructure:
     case CheckStructureOrEmpty:
     case CheckStructureImmediate:
@@ -143,7 +142,6 @@
     case CompareBelow:
     case CompareBelowEq:
     case CompareEqPtr:
-    case ProfileType:
     case ProfileControlFlow:
     case OverridesHasInstance:
     case IsEmpty:
@@ -299,6 +297,7 @@
     case LoadVarargs:
     case NumberToStringWithRadix:
     case NumberToStringWithValidRadixConstant:
+    case ProfileType:
     case PutById:
     case PutByIdDirect:
     case PutByIdFlush:
@@ -333,6 +332,7 @@
     case ToObject:
     case ToPrimitive:
     case ToThis:
+    case TryGetById:
     case CreateThis:
     case ObjectCreate:
     case ObjectKeys:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to