Commit Graph

  • e55cf6fe3b tweak test case alexlamsl 2017-04-09 02:50:10 +0800
  • 369a2a090e fix LHS cases for NaN & friends alexlamsl 2017-04-09 02:40:16 +0800
  • 9a978843f5 enhance test/ufuzz.js (#1803) Alex Lam S.L 2017-04-09 01:36:38 +0800
  • 0ef4787302 enhance test/ufuzz.js - -E to report test cases with runtime errors - favor returning expressions rather than empty return - emit a newline upon fuzzer completion to not erase the iteration count alexlamsl 2017-04-08 14:47:14 +0800
  • 0479ff0c54 fix a couple of bugs in global_defs (#1802) Alex Lam S.L 2017-04-08 16:46:25 +0800
  • a64ac1a586 reset optimisation flags on all node types alexlamsl 2017-04-08 14:55:18 +0800
  • cf72fe552f fix delete corner cases (#1799) Alex Lam S.L 2017-04-08 14:25:28 +0800
  • 9c17f2f5e3 fix a couple of bugs in global_defs - optimize() substituted expression - compute nested property string correctly alexlamsl 2017-04-08 14:07:22 +0800
  • d26ad039a2 fix delete corner cases - assignment - boolean - conditional - sequence alexlamsl 2017-04-08 13:23:33 +0800
  • a1532eb076 extend ufuzz generator (#1783) Alex Lam S.L 2017-04-07 18:47:30 +0800
  • c2a1bceb77 fix pure_getters for chained property access (#1798) Alex Lam S.L 2017-04-07 17:06:01 +0800
  • 1dcf048e50 Oopsy daisy alexlamsl 2017-04-07 15:47:49 +0800
  • 3aa389209e fix pure_getters for chained property access alexlamsl 2017-04-07 15:42:27 +0800
  • e3c9c22c75 fix corner cases with delete (#1796) Alex Lam S.L 2017-04-07 15:39:59 +0800
  • dfa245835f workaround Node.js bug alexlamsl 2017-04-07 15:06:46 +0800
  • eaf58af349 Moar! - add parameters to function declaration & expression - add return expression - add trivial arguments to function call alexlamsl 2017-04-07 14:53:40 +0800
  • 47a11b4751 extend ufuzz generator - property access - property assignment - allow bare expression within try-block - normalise Error in console.log() - generate more unary expressions - add parenthesis to enforce precedence - adjust variable reuse/creation alexlamsl 2017-04-04 16:26:54 +0800
  • 1e2d115d23 fix corner cases with delete delete Infinity returns false where as delete (1/0) returns true alexlamsl 2017-04-07 14:22:18 +0800
  • 0f4cd73dcc introduce "strict" to pure_getters (#1795) Alex Lam S.L 2017-04-07 13:31:58 +0800
  • 3c7b53c5af introduce "strict" to pure_getters alexlamsl 2017-04-07 13:12:08 +0800
  • 281e882d27 fix reduce_vars on catch variable (#1794) Alex Lam S.L 2017-04-07 12:32:56 +0800
  • 70329a099c fix recursive assignment in variable definition alexlamsl 2017-04-07 12:04:44 +0800
  • 3f09efeeea fix reduce_vars on catch variable Improved catch handling in figure_out_scope() means special case treatment of IE8 is no longer valid in reset_opt_flags(). alexlamsl 2017-04-07 05:33:42 +0800
  • cc6aa3e5ac fix incorrect context in variable substitution (#1791) Alex Lam S.L 2017-04-07 03:42:17 +0800
  • 5915190dcc add docs alexlamsl 2017-04-07 01:24:15 +0800
  • 218547048b populate may_eq_null() alexlamsl 2017-04-07 01:07:11 +0800
  • 874beea90a fix usage accounting within assignment alexlamsl 2017-04-07 00:48:13 +0800
  • e869779a98 enable inline_script by default (#1793) Alex Lam S.L 2017-04-07 00:45:51 +0800
  • 47e8beb255 enable inline_script by default alexlamsl 2017-04-07 00:04:06 +0800
  • 1d1a8575dd fix AST corruption alexlamsl 2017-04-06 19:47:05 +0800
  • 1a8c9dfdc4 fix incorrect context in variable substitution AST_Node.optimize() is context-aware, so don't cache its results to be used elsewhere. alexlamsl 2017-04-06 18:10:13 +0800
  • fb60a0bd3d Merge c5dd3df7ee into 06cdb74279 Anthony Van de Gejuchte 2017-04-06 03:26:16 +0000
  • 93c26cff29 Merge 895b288bdf into 06cdb74279 Richard van Velzen 2017-04-06 03:26:16 +0000
  • 06cdb74279 improve pure_getters (#1786) Alex Lam S.L 2017-04-06 11:18:59 +0800
  • 9dabc16db0 improve pure_getters - property access to null & undefined always has side effects - utilise reduce_vars to determine safe property access - may-be cases treated as side effects unless unsafe alexlamsl 2017-04-05 02:42:07 +0800
  • ff289b90a9 implement delayed resolution for reduce_vars (#1788) Alex Lam S.L 2017-04-05 21:06:42 +0800
  • 668ceead7f implement delayed resolution for reduce_vars Although it would be nice to enforce AST_Node cloning during transformation, that ship has sailed a long time ago. alexlamsl 2017-04-05 16:46:57 +0800
  • d440e8c316 Wrap parens around anonymous classes if first in statement Anthony Van de Gejuchte 2017-04-04 10:30:18 +0200
  • 9b6bc67c33 optimise do{...}while(false) (#1785) Alex Lam S.L 2017-04-04 23:48:22 +0800
  • dbb93fdb70 fix TreeWalker.loopcontrol_target() continue cannot refer to switch blocks alexlamsl 2017-04-04 19:36:26 +0800
  • 67bc50db16 optimise do{...}while(false) Now with better heuristics to avoid issues like #1532 alexlamsl 2017-04-04 18:23:39 +0800
  • 4b90dc1fdb remove --mangle-props from fuzzing (#1777) Alex Lam S.L 2017-04-04 16:24:16 +0800
  • 0b062cbce9 remove --mangle-props from fuzzing The inherently unsafe nature makes this feature unsuitable to be tested this way. alexlamsl 2017-04-04 16:07:34 +0800
  • c20bb99a62 Put expression after extend between parentheses if necessary (#1780) Anthony Van de Gejuchte 2017-04-04 06:38:13 +0200
  • 951770fc68 exclude mangling of special property names (#1779) Alex Lam S.L 2017-04-04 03:50:19 +0800
  • 060c3b7a2e Put expression after extend between parentheses if necessary Anthony Van de Gejuchte 2017-04-03 21:32:43 +0200
  • 5e76e8d015 tweak test case alexlamsl 2017-04-04 03:19:12 +0800
  • eec9a4b5fd tweak test case alexlamsl 2017-04-04 03:03:21 +0800
  • b78f0554a3 improve tests alexlamsl 2017-04-04 02:51:23 +0800
  • dd3bde86de exclude mangling of special property names - null - true - false - numeric literals alexlamsl 2017-04-04 01:35:58 +0800
  • 2377171200 Fix walker not able to handle destr pattern in spread when compressing (#1438) Anthony Van de Gejuchte 2017-04-03 19:23:22 +0200
  • 603d92effc Allow AST_DefaultAssign as parameter (#1778) Anthony Van de Gejuchte 2017-04-03 18:46:05 +0200
  • d7142bfe8e Fix walker not able to handle destr pattern in spread when compressing Anthony Van de Gejuchte 2017-01-26 00:01:13 +0100
  • 44d5557827 Allow AST_DefaultAssign as parameter Anthony Van de Gejuchte 2017-04-03 12:49:10 +0200
  • 48b3fe9952 fix mangleProperties on identifiers (#1776) Alex Lam S.L 2017-04-03 23:17:47 +0800
  • ddcd338343 fix mangleProperties on identifiers - fix handling of "-Infinity" - add test case for "-0" alexlamsl 2017-04-03 22:09:32 +0800
  • a400741868 workaround Node.js bugs (#1775) Alex Lam S.L 2017-04-03 18:56:11 +0800
  • d96863b488 workaround Node.js bugs Wrap test code in IIFE before passing to vm alexlamsl 2017-04-03 18:28:54 +0800
  • 17f0cc359f Allow empty destructuring (#1773) Anthony Van de Gejuchte 2017-04-03 11:21:27 +0200
  • c708f7b29d Allow empty destructuring Anthony Van de Gejuchte 2017-04-03 10:14:57 +0200
  • 59a4e56bc8 fix mangleProperties of undefined & Infinity (#1772) Alex Lam S.L 2017-04-03 12:31:05 +0800
  • d894965d66 fix mangleProperties of undefined & Infinity NaN already works by the happy accident of Number.NaN alexlamsl 2017-04-03 12:12:51 +0800
  • a0091c2268 Merge c0c42db007 into 1f1fccc45d Alexander 2017-04-03 01:51:03 +0000
  • 1f1fccc45d extend test/ufuzz.js (#1769) Alex Lam S.L 2017-04-03 04:00:33 +0800
  • ee0df19c3e add toplevel and mangleProperties alexlamsl 2017-04-03 03:26:23 +0800
  • aec71c4978 add empty string to VALUES alexlamsl 2017-04-03 03:18:14 +0800
  • 0da59791ca generate zero-element literals alexlamsl 2017-04-03 02:44:11 +0800
  • d724051d05 add AST_Dot for array literals adjust branch weightings alexlamsl 2017-04-03 02:37:31 +0800
  • dde7223537 adjust recursion breath and depth reduce key set to improve collision ratio alexlamsl 2017-04-03 02:30:41 +0800
  • 276e91b946 add AST_Dot alexlamsl 2017-04-03 02:15:07 +0800
  • 0fb82322d8 reduce execution timeout alexlamsl 2017-04-03 02:03:53 +0800
  • dfa8ec2fa4 extend test/ufuzz.js - property access - array literal - object literal alexlamsl 2017-04-03 01:56:39 +0800
  • 35bae3fcd0 Merge pull request #1766 from alexlamsl/harmony-v2.8.21 harmony-v2.8.21 Alex Lam S.L 2017-04-02 18:10:58 +0800
  • 4614b5b46e Merge branch 'master' into harmony-v2.8.21 alexlamsl 2017-04-02 17:24:45 +0800
  • b7f6b73f4e v2.8.21 v2.8.21 Alex Lam S.L 2017-04-02 17:07:55 +0800
  • 9469c03ac9 fix corner case in switch (#1765) Alex Lam S.L 2017-04-02 17:07:20 +0800
  • 15d7e724ce fix corner case in switch alexlamsl 2017-04-02 16:50:13 +0800
  • d57527697f avoid confusion of NaN & Infinity with catch symbol of the same name (#1763) Alex Lam S.L 2017-04-02 16:14:09 +0800
  • 4ac22c7b6b avoid confusion of NaN & Infinity with catch symbol of the same name alexlamsl 2017-04-02 15:37:36 +0800
  • f7ca4f2297 fix corner cases in switch and undefined (#1762) Alex Lam S.L 2017-04-02 14:52:25 +0800
  • 257be7548f Oops. alexlamsl 2017-04-02 14:09:05 +0800
  • cf0fbbfb7d gate OPT(AST_Switch) with switches alexlamsl 2017-04-02 14:07:53 +0800
  • dd0e753e90 fix undefined confusion with local variable alexlamsl 2017-04-02 13:57:28 +0800
  • 3fc717a531 fix side effects in switch condition for singular blocks alexlamsl 2017-04-02 13:24:26 +0800
  • c076e7b60d speed up fuzzer code generation (#1757) Alex Lam S.L 2017-04-02 05:11:29 +0800
  • 2987a4beb7 fix overflow in rng() alexlamsl 2017-04-02 04:52:22 +0800
  • 0136737c90 track canThrow during typeof creation alexlamsl 2017-04-02 04:12:53 +0800
  • 49781d0584 speed up fuzzer code generation - only output one top-level function or statement block - reduce rng() granularity from 2^32 to 65536 alexlamsl 2017-04-02 03:33:04 +0800
  • 4a55bb0be5 minor tweaks to test/ufuzz.js (#1756) Alex Lam S.L 2017-04-02 03:17:01 +0800
  • 834102fb7b improve usability of help alexlamsl 2017-04-02 02:59:02 +0800
  • 57ee6badf8 minor tweaks to test/ufuzz.js - count iterations from 1 instead of 0 - remove unsafe from default set of minify() tests alexlamsl 2017-04-02 02:33:23 +0800
  • 28ecea50a6 upgrade fuzzer (#1754) Alex Lam S.L 2017-04-02 02:10:50 +0800
  • 9a311705f5 fuzz regexp literals, more constant numbers, typeof expression (#1755) kzc 2017-04-01 14:08:46 -0400
  • 76613feb43 fuzz regexp literals, more constant numbers, typeof expression kzc 2017-04-01 13:46:51 -0400
  • 17f9fa326e upgrade fuzzer - configurable set of minify() options - test and report suspects upon failure - continue after failure if infinite iterations is specified alexlamsl 2017-04-02 00:42:06 +0800
  • 4435e92eda Merge eb28a18224 into ee3fe0f4cd TGJ Gilmore 2017-04-01 16:26:02 +0000
  • 0650444a21 Merge 280abda06f into ee3fe0f4cd Alex Lam S.L 2017-04-01 09:20:14 +0000
  • ee3fe0f4cd fix switch branch elimination (#1752) Alex Lam S.L 2017-04-01 17:19:57 +0800
  • 87f6e1b091 minor tweaks to fuzzer (#1751) Alex Lam S.L 2017-04-01 17:09:52 +0800
  • 121d3be4d9 fix switch branch elimination Merge unreachable case body with previous fallthrough case alexlamsl 2017-04-01 16:58:01 +0800