Title: [233446] trunk
- Revision
- 233446
- Author
- [email protected]
- Date
- 2018-07-02 16:45:22 -0700 (Mon, 02 Jul 2018)
Log Message
Repository fix after r233427 and r233443.
.:
* jstests: Removed.
JSTests:
Added back the test which got erroneously deleted in r233443.
* stress/instanceof-non-object-prototype.js:
Modified Paths
Added Paths
Removed Paths
Diff
Modified: trunk/ChangeLog (233445 => 233446)
--- trunk/ChangeLog 2018-07-02 23:17:41 UTC (rev 233445)
+++ trunk/ChangeLog 2018-07-02 23:45:22 UTC (rev 233446)
@@ -1,3 +1,9 @@
+2018-07-02 Ryosuke Niwa <[email protected]>
+
+ Repository fix after r233427 and r233443.
+
+ * jstests: Removed.
+
2018-06-30 Adam Barth <[email protected]>
Port _javascript_Core to OS(FUCHSIA)
Modified: trunk/JSTests/ChangeLog (233445 => 233446)
--- trunk/JSTests/ChangeLog 2018-07-02 23:17:41 UTC (rev 233445)
+++ trunk/JSTests/ChangeLog 2018-07-02 23:45:22 UTC (rev 233446)
@@ -1,3 +1,10 @@
+2018-07-02 Ryosuke Niwa <[email protected]>
+
+ Repository fix after r233427 and r233443.
+ Added back the test which got erroneously deleted in r233443.
+
+ * stress/instanceof-non-object-prototype.js:
+
2018-07-02 Keith Miller <[email protected]>
InstanceOf IC should do generic if the prototype is not an object.
Copied: trunk/JSTests/stress/instanceof-non-object-prototype.js (from rev 233427, trunk/jstests/stress/instanceof-non-object-prototype.js) (0 => 233446)
--- trunk/JSTests/stress/instanceof-non-object-prototype.js (rev 0)
+++ trunk/JSTests/stress/instanceof-non-object-prototype.js 2018-07-02 23:45:22 UTC (rev 233446)
@@ -0,0 +1,21 @@
+let base = "sting";
+let constructor = function() { };
+constructor.prototype = 42;
+
+function test(a, b) {
+ return a instanceof b;
+}
+noInline(test);
+
+for (let i = 0; i < 10000; i++) {
+ let exception;
+ try {
+ var result = test(base, constructor);
+ } catch (e) {
+ exception = e;
+ }
+ if (exception)
+ throw new Error("Threw an exception: " + exception);
+ if (result !== false)
+ throw new Error("instanceof returned: " + result);
+}
Property changes: trunk/JSTests/stress/instanceof-non-object-prototype.js
Added: svn:mergeinfo
+/trunk/jstests/stress/instanceof-non-object-prototype.js:53455
\ No newline at end of property
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes