Changeset 194333 in webkit
- Timestamp:
- Dec 21, 2015 10:40:10 AM (8 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r194332 r194333 1 2015-12-18 Mark Lam <mark.lam@apple.com> 2 3 Add unary operator tests to compare JIT and LLINT results. 4 https://bugs.webkit.org/show_bug.cgi?id=152453 5 6 Reviewed by Benjamin Poulain. 7 8 Also fixed a few things in the binary-op-test.js. 9 10 * tests/stress/op_negate.js: Added. 11 (o1.valueOf): 12 * tests/stress/op_postdec.js: Added. 13 (o1.valueOf): 14 * tests/stress/op_postinc.js: Added. 15 (o1.valueOf): 16 * tests/stress/op_predec.js: Added. 17 (o1.valueOf): 18 * tests/stress/op_preinc.js: Added. 19 (o1.valueOf): 20 * tests/stress/resources/binary-op-test.js: 21 (stringifyIfNeeded): 22 (isIdentical): 23 (run): 24 * tests/stress/resources/unary-op-test.js: Added. 25 (stringifyIfNeeded): 26 (generateBinaryTests): 27 (isIdentical): 28 (runTest): 29 (run): 30 1 31 2015-12-21 Ryan Haddad <ryanhaddad@apple.com> 2 32 -
trunk/Source/JavaScriptCore/tests/stress/resources/binary-op-test.js
r193788 r194333 31 31 if (typeof x == "string") 32 32 return '"' + x + '"'; 33 if (typeof x == "object") 34 return 'objWithVal:' + x; 33 35 return x; 34 36 } … … 77 79 78 80 function isIdentical(x, y) { 81 if (typeof x == "undefined" && typeof y == "undefined") 82 return true; 79 83 if (typeof x != typeof y) 80 84 return false; … … 123 127 for (var test of tests) 124 128 runTest(test); 125 // for (var i = 0; i < tests.length; i++)126 // runTest(tests[i]);127 129 128 130 if (errorReport !== "")
Note: See TracChangeset
for help on using the changeset viewer.