Title: [253124] trunk
- Revision
- 253124
- Author
- [email protected]
- Date
- 2019-12-04 15:01:57 -0800 (Wed, 04 Dec 2019)
Log Message
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):
Modified Paths
Removed Paths
Diff
Modified: trunk/JSTests/ChangeLog (253123 => 253124)
--- trunk/JSTests/ChangeLog 2019-12-04 22:24:24 UTC (rev 253123)
+++ trunk/JSTests/ChangeLog 2019-12-04 23:01:57 UTC (rev 253124)
@@ -1,5 +1,12 @@
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-12-04 Yusuke Suzuki <[email protected]>
+
[JSC] JSWebAssemblyGlobal creation should have exception check
https://bugs.webkit.org/show_bug.cgi?id=204857
<rdar://problem/57618579>
Deleted: trunk/JSTests/stress/generator-cell-with-type.js (253123 => 253124)
--- trunk/JSTests/stress/generator-cell-with-type.js 2019-12-04 22:24:24 UTC (rev 253123)
+++ trunk/JSTests/stress/generator-cell-with-type.js 2019-12-04 23:01:57 UTC (rev 253124)
@@ -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: trunk/Source/_javascript_Core/ChangeLog (253123 => 253124)
--- trunk/Source/_javascript_Core/ChangeLog 2019-12-04 22:24:24 UTC (rev 253123)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-12-04 23:01:57 UTC (rev 253124)
@@ -1,5 +1,13 @@
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-12-04 Yusuke Suzuki <[email protected]>
+
[JSC] JSWebAssemblyGlobal creation should have exception check
https://bugs.webkit.org/show_bug.cgi?id=204857
<rdar://problem/57618579>
Modified: trunk/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h (253123 => 253124)
--- trunk/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h 2019-12-04 22:24:24 UTC (rev 253123)
+++ trunk/Source/_javascript_Core/dfg/DFGAbstractInterpreterInlines.h 2019-12-04 23:01:57 UTC (rev 253124)
@@ -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