Commit Graph

  • fc3010bec5 add tests for #2613 alexlamsl 2017-12-24 20:42:01 +08:00
  • 7de541f9c8 fix tests alexlamsl 2017-12-24 19:21:31 +08:00
  • dbf8684287 Merge branch 'master' into harmony-v3.3.0 alexlamsl 2017-12-24 19:19:24 +08:00
  • f1556cb945 v3.3.0 v3.3.0 Alex Lam S.L 2017-12-24 17:34:56 +08:00
  • efffb81735 fix comments output & improve /*@__PURE__*/ Alex Lam S.L 2017-12-24 12:38:45 +08:00
  • 202f90ef8f fix corner cases with collapse_vars, inline & reduce_vars (#2637) Alex Lam S.L 2017-12-24 01:24:12 +08:00
  • c07ea17c01 fix escape analysis on AST_PropAccess (#2636) Alex Lam S.L 2017-12-24 00:36:46 +08:00
  • edb4e3bd52 make comments output more robust (#2633) Alex Lam S.L 2017-12-22 04:59:54 +08:00
  • 8d156b51fe arrows fix for object literal methods containing arguments (#2632) kzc 2017-12-21 04:50:26 -05:00
  • 4113609dd4 extend test/ufuzz.js to inline & reduce_funcs (#2620) Alex Lam S.L 2017-12-20 23:52:18 +08:00
  • 7ac7b0872f remove AST hack from inline (#2627) Alex Lam S.L 2017-12-20 17:05:53 +08:00
  • 86ae5881b7 disable hoist_funs by default (#2626) Alex Lam S.L 2017-12-20 17:05:40 +08:00
  • fac003c64f avoid inline of function with special argument names (#2625) Alex Lam S.L 2017-12-20 02:48:04 +08:00
  • 2273655c17 fix inline after single-use reduce_vars (#2623) Alex Lam S.L 2017-12-19 22:19:33 +08:00
  • 01057cf76d Transform can be simplified when clone is not done. (#2621) Ondřej Španěl 2017-12-19 10:56:16 +01:00
  • 032f096b7f add test for #2613 (#2618) Alex Lam S.L 2017-12-19 05:22:05 +08:00
  • 4b334edf49 handle global constant collision with local variable after inline (#2617) Alex Lam S.L 2017-12-19 03:05:30 +08:00
  • 8ddcbc39e6 compress apply() & call() of function (#2613) Alex Lam S.L 2017-12-18 16:23:39 +08:00
  • 0b0eac1d5d drop property assignment to constants (#2612) Alex Lam S.L 2017-12-18 12:07:53 +08:00
  • 85bfa17139 fix slowness in unused for blocks (#2614) kzc 2017-12-17 23:06:14 -05:00
  • b29fc8b27c improve transversal efficiency in collapse_vars (#2611) Alex Lam S.L 2017-12-18 03:00:05 +08:00
  • 80c8dfcde6 fix export default of anonymous generators and async functions (#2607) kzc 2017-12-17 11:11:52 -05:00
  • 5de369fa67 export parse() (#2608) Alex Lam S.L 2017-12-17 23:12:23 +08:00
  • 7918a50d52 improve reset_opt_flags() (#2610) Alex Lam S.L 2017-12-17 23:01:08 +08:00
  • 21794c9b8d account for catch variable when inline (#2605) Alex Lam S.L 2017-12-16 15:21:09 +08:00
  • 6c686ce593 fix nested inline (#2602) Alex Lam S.L 2017-12-16 02:16:35 +08:00
  • db902af4c6 fix escape analysis on || and && (#2600) Alex Lam S.L 2017-12-15 19:48:14 +08:00
  • 7d6907cb99 fix dead_code on nested try (#2599) Alex Lam S.L 2017-12-15 19:41:28 +08:00
  • 092d9affb8 fix reduce_vars on do...while (#2596) Alex Lam S.L 2017-12-15 16:33:19 +08:00
  • 8f681b1d17 handle inline of function arguments (#2590) Alex Lam S.L 2017-12-15 13:28:30 +08:00
  • 90313875f7 inline single-use function across loop (#2594) Alex Lam S.L 2017-12-14 19:24:54 +08:00
  • 3f18a61532 fix reduce_vars on single AST_Defun reference across loop (#2593) Alex Lam S.L 2017-12-14 18:47:05 +08:00
  • 02a6ce07eb improve reduce_vars (#2592) Alex Lam S.L 2017-12-14 15:32:13 +08:00
  • 738fd52bc4 improve collapse_vars (#2591) Alex Lam S.L 2017-12-14 15:31:35 +08:00
  • d18979bb23 improve dead_code tests (#2589) kzc 2017-12-13 23:12:06 -05:00
  • 8266993c6e fix dead_code on return/throw within try (#2588) Alex Lam S.L 2017-12-14 04:38:21 +08:00
  • 9a137e8613 drop local assign-only variable in return (#2587) Alex Lam S.L 2017-12-14 02:59:59 +08:00
  • ef618332ea fold cascade functionality into collapse_vars (#2586) Alex Lam S.L 2017-12-14 01:20:36 +08:00
  • 7f418978c9 recover lost opportunities from #2574 (#2584) Alex Lam S.L 2017-12-13 18:20:53 +08:00
  • 04cc395c35 improve collapse_vars on side-effect-free replacements (#2583) Alex Lam S.L 2017-12-13 04:52:54 +08:00
  • e008dc1bde minor clean-up for IIFE (#2582) Alex Lam S.L 2017-12-13 01:27:26 +08:00
  • ddf96cfda2 avoid Function.prototype pollution by test/sandbox.js (#2581) Alex Lam S.L 2017-12-12 05:02:01 +08:00
  • ebfd5c5c74 fix AST_VarDef.may_throw() (#2580) Alex Lam S.L 2017-12-12 03:30:25 +08:00
  • f2ad542679 fix collapse_vars on switch (#2578) Alex Lam S.L 2017-12-11 18:11:09 +08:00
  • c43118be4f remove unused code (#2579) Alex Lam S.L 2017-12-11 17:39:08 +08:00
  • 93f3b2b114 escape consecutive unpaired surrogates (#2576) Alex Lam S.L 2017-12-11 01:15:44 +08:00
  • bf000beae7 rename tests (#2575) Alex Lam S.L 2017-12-11 00:24:54 +08:00
  • f8ff349ba7 harmony-v3.2.2 harmony-v3.2.2 Alex Lam S.L 2017-12-11 00:16:36 +08:00
  • 0e16d92786 handle exceptional flow correctly in collapse_vars (#2574) Alex Lam S.L 2017-12-11 00:16:02 +08:00
  • f2b179ae94 fix escape analysis for AST_Expansion alexlamsl 2017-12-10 14:55:12 +08:00
  • c7e8fc4830 fix escape analysis for `AST_Await alexlamsl 2017-12-10 14:43:09 +08:00
  • f778a0aa01 fix escape analysis for AST_Yield alexlamsl 2017-12-10 14:25:23 +08:00
  • 7fd4b66eaa fix tests alexlamsl 2017-12-10 14:16:54 +08:00
  • 21c986ff5b Merge branch 'master' into harmony-v3.2.2 alexlamsl 2017-12-10 14:12:24 +08:00
  • 2441827408 v3.2.2 v3.2.2 Alex Lam S.L 2017-12-10 13:46:17 +08:00
  • 0aff037a35 improve unused on assign-only symbols (#2568) Alex Lam S.L 2017-12-09 06:19:29 +08:00
  • 74a2f53683 fix escape analysis for AST_Throw (#2564) Alex Lam S.L 2017-12-08 02:54:37 +08:00
  • e20935c3f2 fix escape analysis for AST_Conditional & AST_Sequence (#2563) Alex Lam S.L 2017-12-08 01:50:38 +08:00
  • 3e34f62a1c account for side-effects in conditional call inversion (#2562) Alex Lam S.L 2017-12-08 01:15:31 +08:00
  • d21cb84696 eliminate noop calls more aggressively (#2559) Alex Lam S.L 2017-12-07 01:22:08 +08:00
  • 3dd495ecdd improve if_return (#2558) Alex Lam S.L 2017-12-07 01:01:52 +08:00
  • 87bae623e9 simplify computed properties for methods, getters & setters (#2555) Alex Lam S.L 2017-12-04 00:18:48 +08:00
  • 606f7a5b37 harmony-v3.2.1 harmony-v3.2.1 Alex Lam S.L 2017-12-03 13:51:27 +08:00
  • b91a2e018a fix tests alexlamsl 2017-12-03 12:14:31 +08:00
  • c9dbe9deb1 Merge branch 'master' into harmony-v3.2.1 alexlamsl 2017-12-03 11:59:41 +08:00
  • b9f3ddfb30 v3.2.1 v3.2.1 Alex Lam S.L 2017-12-03 11:39:51 +08:00
  • 77332a0315 fix dead_code on for (#2552) Alex Lam S.L 2017-12-02 15:46:05 +08:00
  • 85c56adbd1 more tests for #2535 (#2551) Alex Lam S.L 2017-12-02 02:26:56 +08:00
  • 8da3754e51 improve evaluate on typeof (#2550) Alex Lam S.L 2017-12-02 02:18:33 +08:00
  • 9a6b11f8e6 improve boolean compression (#2548) Alex Lam S.L 2017-12-01 22:41:35 +08:00
  • 7ac6fdcc99 improve switch case compression (#2547) Alex Lam S.L 2017-12-01 14:32:00 +08:00
  • f6610baaa8 improve AST_For.init & AST_Switch.expression compression (#2546) Alex Lam S.L 2017-12-01 12:53:59 +08:00
  • 09b320e8a5 convert to number under boolean context (#2545) Alex Lam S.L 2017-12-01 12:52:36 +08:00
  • 5a1e99d713 improve compression of if conditions (#2544) Alex Lam S.L 2017-12-01 06:18:31 +08:00
  • b762f2d6f4 improve compression of loop conditions (#2543) Alex Lam S.L 2017-12-01 05:52:33 +08:00
  • 172079a47f improve code reuse (#2542) Alex Lam S.L 2017-12-01 03:40:46 +08:00
  • c58d3936a3 fix corner case in call binding (#2541) Alex Lam S.L 2017-12-01 03:18:20 +08:00
  • 18302bf8e9 backport test from #2526 (#2534) Alex Lam S.L 2017-11-29 13:32:00 +08:00
  • bc5047c1e7 fix inline on nested substitutions (#2533) Alex Lam S.L 2017-11-29 13:31:41 +08:00
  • 1885f91f13 document top level minify() option safari10 (#2532) kzc 2017-11-28 16:48:33 -05:00
  • 736c366d93 introduce --safari10 (#2530) Alex Lam S.L 2017-11-29 03:34:47 +08:00
  • 1646c5844f document the new output option safari10 (#2529) kzc 2017-11-28 13:29:23 -05:00
  • aacf760fb4 add Safari workaround for await (#2528) Alex Lam S.L 2017-11-29 00:20:36 +08:00
  • 755e2a62c6 extend hoist_props to AST_Arrow & AST_Class (#2527) Alex Lam S.L 2017-11-28 22:54:44 +08:00
  • 62d2817d6c reduce this in block scopes (#2526) Alex Lam S.L 2017-11-28 22:54:21 +08:00
  • 37cbd7080c replace single-use class definitions (#2524) Alex Lam S.L 2017-11-28 20:57:15 +08:00
  • 206a54a746 fix nested hoist_props substitution (#2523) Alex Lam S.L 2017-11-28 14:39:00 +08:00
  • 32def5ebf5 improve synergy between collapse_vars & unused (#2521) Alex Lam S.L 2017-11-28 14:02:39 +08:00
  • ecc9f6b770 drop assignment in AST_VarDef.value (#2522) Alex Lam S.L 2017-11-28 13:08:40 +08:00
  • b84c99ef5c harmony-v3.2.0 harmony-v3.2.0 Alex Lam S.L 2017-11-26 06:02:49 +08:00
  • 4f08c2f504 Merge branch 'master' into harmony-v3.2.0 alexlamsl 2017-11-26 04:23:57 +08:00
  • b37a68c84f v3.2.0 v3.2.0 Alex Lam S.L 2017-11-26 04:08:35 +08:00
  • c141ae6f8d fix argument/atom collision by properties (#2514) Alex Lam S.L 2017-11-25 22:52:46 +08:00
  • 97c464dbf5 fix wording and formatting (#2512) Alex Lam S.L 2017-11-25 19:07:46 +08:00
  • ba4894af18 document top level minify option keep_classnames (#2511) kzc 2017-11-25 03:33:03 -05:00
  • f1e3ef5262 separate keep_classnames & keep_fnames (#2510) Alex Lam S.L 2017-11-25 16:31:52 +08:00
  • 3b28b915eb extend escape analysis on constant expression properties (#2509) Alex Lam S.L 2017-11-24 14:07:39 +08:00
  • eb001dc1d9 fix argument/atom collision by collapse_vars (#2507) Alex Lam S.L 2017-11-24 07:26:22 +08:00
  • aa9bdf416e make AST_Lambda.contains_this() less magical (#2505) Alex Lam S.L 2017-11-24 07:03:37 +08:00
  • bbf38dc9c0 fix reduce_vars on arrow functions with this (#2504) Alex Lam S.L 2017-11-24 06:21:49 +08:00