Title: [253125] tags/Safari-609.1.11
Revision
253125
Author
[email protected]
Date
2019-12-04 15:24:48 -0800 (Wed, 04 Dec 2019)

Log Message

Cherry-pick r253124. rdar://problem/57596734

    Unreviewed, rolling out r252416, vimeo does not work
    https://bugs.webkit.org/show_bug.cgi?id=204141

    JSTests:

    * stress/generator-cell-with-type.js: Removed.

    Source/_javascript_Core:

    * dfg/DFGAbstractInterpreterInlines.h:
    (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):

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

Modified Paths

Removed Paths

Diff

Modified: tags/Safari-609.1.11/JSTests/ChangeLog (253124 => 253125)


--- tags/Safari-609.1.11/JSTests/ChangeLog	2019-12-04 23:01:57 UTC (rev 253124)
+++ tags/Safari-609.1.11/JSTests/ChangeLog	2019-12-04 23:24:48 UTC (rev 253125)
@@ -1,3 +1,28 @@
+2019-12-04  Alan Coon  <[email protected]>
+
+        Cherry-pick r253124. rdar://problem/57596734
+
+    Unreviewed, rolling out r252416, vimeo does not work
+    https://bugs.webkit.org/show_bug.cgi?id=204141
+    
+    JSTests:
+    
+    * stress/generator-cell-with-type.js: Removed.
+    
+    Source/_javascript_Core:
+    
+    * dfg/DFGAbstractInterpreterInlines.h:
+    (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-12-04  Yusuke Suzuki  <[email protected]>
+
+            Unreviewed, rolling out r252416, vimeo does not work
+            https://bugs.webkit.org/show_bug.cgi?id=204141
+
+            * stress/generator-cell-with-type.js: Removed.
+
 2019-11-22  Tadeu Zagallo  <[email protected]>
 
         [WebAssembly] Improve Wasm::LLIntGenerator

Deleted: tags/Safari-609.1.11/JSTests/stress/generator-cell-with-type.js (253124 => 253125)


--- tags/Safari-609.1.11/JSTests/stress/generator-cell-with-type.js	2019-12-04 23:01:57 UTC (rev 253124)
+++ tags/Safari-609.1.11/JSTests/stress/generator-cell-with-type.js	2019-12-04 23:24:48 UTC (rev 253125)
@@ -1,45 +0,0 @@
-// This test takes too long on arm and mips devices.
-//@ skip if ["arm", "mips"].include?($architecture)
-function shouldBe(actual, expected) {
-    if (actual !== expected)
-        throw new Error('bad value: ' + actual);
-}
-
-function shouldThrow(func, errorMessage) {
-    var errorThrown = false;
-    var error = null;
-    try {
-        func();
-    } catch (e) {
-        errorThrown = true;
-        error = e;
-    }
-    if (!errorThrown)
-        throw new Error('not thrown');
-    if (String(error) !== errorMessage)
-        throw new Error(`bad error: ${String(error)}`);
-}
-
-function *generator()
-{
-}
-
-function test(gen)
-{
-    var func = gen.next;
-    shouldBe(gen.next().done, true);
-    return func;
-}
-noInline(test);
-var gen = generator();
-for (var i = 0; i < 1e6; ++i)
-    test(gen);
-
-for (var i = 0; i < 1e6; ++i) {
-    test(gen);
-    shouldThrow(() => {
-        test({
-            __proto__: gen.__proto__
-        });
-    }, `TypeError: |this| should be a generator`);
-}

Modified: tags/Safari-609.1.11/Source/_javascript_Core/ChangeLog (253124 => 253125)


--- tags/Safari-609.1.11/Source/_javascript_Core/ChangeLog	2019-12-04 23:01:57 UTC (rev 253124)
+++ tags/Safari-609.1.11/Source/_javascript_Core/ChangeLog	2019-12-04 23:24:48 UTC (rev 253125)
@@ -1,3 +1,29 @@
+2019-12-04  Alan Coon  <[email protected]>
+
+        Cherry-pick r253124. rdar://problem/57596734
+
+    Unreviewed, rolling out r252416, vimeo does not work
+    https://bugs.webkit.org/show_bug.cgi?id=204141
+    
+    JSTests:
+    
+    * stress/generator-cell-with-type.js: Removed.
+    
+    Source/_javascript_Core:
+    
+    * dfg/DFGAbstractInterpreterInlines.h:
+    (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@253124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-12-04  Yusuke Suzuki  <[email protected]>
+
+            Unreviewed, rolling out r252416, vimeo does not work
+            https://bugs.webkit.org/show_bug.cgi?id=204141
+
+            * dfg/DFGAbstractInterpreterInlines.h:
+            (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
+
 2019-11-22  Per Arne Vollan  <[email protected]>
 
         Fix compile error in release mode

Modified: tags/Safari-609.1.11/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h (253124 => 253125)


--- tags/Safari-609.1.11/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h	2019-12-04 23:01:57 UTC (rev 253124)
+++ tags/Safari-609.1.11/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h	2019-12-04 23:24:48 UTC (rev 253125)
@@ -1444,35 +1444,6 @@
             if (constantWasSet)
                 break;
         }
-
-        if (forNode(node->child1()).m_structure.isFinite()) {
-            bool constantWasSet = false;
-            switch (node->op()) {
-            case IsCellWithType: {
-                bool ok = true;
-                Optional<bool> result;
-                forNode(node->child1()).m_structure.forEach(
-                    [&](RegisteredStructure structure) {
-                        bool matched = structure->typeInfo().type() == node->queriedType();
-                        if (!result)
-                            result = matched;
-                        else {
-                            if (result.value() != matched)
-                                ok = false;
-                        }
-                    });
-                if (ok && result) {
-                    setConstant(node, jsBoolean(result.value()));
-                    constantWasSet = true;
-                }
-                break;
-            }
-            default:
-                break;
-            }
-            if (constantWasSet)
-                break;
-        }
         
         // FIXME: This code should really use AbstractValue::isType() and
         // AbstractValue::couldBeType().
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to