Commit Graph

  • 18943f2e06 handle global constant collision with local variable after inline alexlamsl 2017-12-19 02:27:09 +0800
  • 8ddcbc39e6
    compress apply() & call() of function (#2613) Alex Lam S.L 2017-12-18 16:23:39 +0800
  • b12379d465 ensure order of execution alexlamsl 2017-12-18 14:07:21 +0800
  • 3bd99ccdd8 extend to apply and function references alexlamsl 2017-12-18 13:42:51 +0800
  • 0b0eac1d5d
    drop property assignment to constants (#2612) Alex Lam S.L 2017-12-18 12:07:53 +0800
  • 85bfa17139 fix slowness in unused for blocks (#2614) kzc 2017-12-17 23:06:14 -0500
  • 992bc88800 fix slowness in unused for blocks kzc 2017-12-17 21:21:05 -0500
  • fb0f8fb899 compress function.call() alexlamsl 2017-12-18 05:14:11 +0800
  • de45312bea drop property assignment to constants alexlamsl 2017-12-18 04:00:31 +0800
  • b29fc8b27c
    improve transversal efficiency in collapse_vars (#2611) Alex Lam S.L 2017-12-18 03:00:05 +0800
  • cfaf28ae32 improve transversal efficiency in collapse_vars alexlamsl 2017-12-17 22:57:13 +0800
  • 80c8dfcde6 fix export default of anonymous generators and async functions (#2607) kzc 2017-12-17 11:11:52 -0500
  • 5de369fa67
    export parse() (#2608) Alex Lam S.L 2017-12-17 23:12:23 +0800
  • 7918a50d52
    improve reset_opt_flags() (#2610) Alex Lam S.L 2017-12-17 23:01:08 +0800
  • 1fe2422f80 remove compress hack in favor of @alexlamsl's AST_Function suggestion kzc 2017-12-17 09:25:13 -0500
  • 23c28e290f improve reset_opt_flags() alexlamsl 2017-12-17 21:33:05 +0800
  • 5836dd14d7 export parse() alexlamsl 2017-12-17 19:18:46 +0800
  • f3332f591e add another export default anonymous async function test kzc 2017-12-17 02:26:05 -0500
  • 4c1baf88e2 add more tests kzc 2017-12-17 02:16:09 -0500
  • e5c4ae0fe0 workaround for compress of export default anonymous functions kzc 2017-12-17 01:38:58 -0500
  • 34f765d48b introduce options causing export default test failures kzc 2017-12-16 19:26:17 -0500
  • 9769a9f135 add more export default tests kzc 2017-12-16 18:38:26 -0500
  • beb87142ca add test: export_default_arrow kzc 2017-12-16 18:28:57 -0500
  • d08dc6cf73 fix export default of anonymous generators and async functions kzc 2017-12-16 18:20:13 -0500
  • 21794c9b8d
    account for catch variable when inline (#2605) Alex Lam S.L 2017-12-16 15:21:09 +0800
  • d5f4876f91 account for catch variable when inline alexlamsl 2017-12-16 14:16:19 +0800
  • 6c686ce593
    fix nested inline (#2602) Alex Lam S.L 2017-12-16 02:16:35 +0800
  • bded4e5f28 fix nested inline alexlamsl 2017-12-16 01:34:08 +0800
  • db902af4c6
    fix escape analysis on || and && (#2600) Alex Lam S.L 2017-12-15 19:48:14 +0800
  • 7d6907cb99
    fix dead_code on nested try (#2599) Alex Lam S.L 2017-12-15 19:41:28 +0800
  • 52fd938811 fix escape analysis on || and && alexlamsl 2017-12-15 19:11:03 +0800
  • a81c9360b1 fix dead_code on nested try alexlamsl 2017-12-15 18:51:11 +0800
  • 092d9affb8
    fix reduce_vars on do...while (#2596) Alex Lam S.L 2017-12-15 16:33:19 +0800
  • 504e0fe1a4 fix reduce_vars on do...while alexlamsl 2017-12-15 15:59:58 +0800
  • 8f681b1d17
    handle inline of function arguments (#2590) Alex Lam S.L 2017-12-15 13:28:30 +0800
  • 6339bda4bb improve gzip ratio via locality alexlamsl 2017-12-15 12:47:31 +0800
  • 8f5d8a9563 add test alexlamsl 2017-12-14 19:35:38 +0800
  • dc04aa5700 handle inline of function arguments alexlamsl 2017-12-14 14:14:46 +0800
  • 90313875f7
    inline single-use function across loop (#2594) Alex Lam S.L 2017-12-14 19:24:54 +0800
  • 3f18a61532
    fix reduce_vars on single AST_Defun reference across loop (#2593) Alex Lam S.L 2017-12-14 18:47:05 +0800
  • 90ba8bf516 inline single-use function across loop alexlamsl 2017-12-14 18:35:52 +0800
  • e1e5fc747d fix reduce_vars on single AST_Defun reference across loop alexlamsl 2017-12-14 18:15:18 +0800
  • 02a6ce07eb
    improve reduce_vars (#2592) Alex Lam S.L 2017-12-14 15:32:13 +0800
  • 738fd52bc4
    improve collapse_vars (#2591) Alex Lam S.L 2017-12-14 15:31:35 +0800
  • cb46d87a5f improve reduce_vars - account for hoisting nature of var alexlamsl 2017-12-14 14:58:34 +0800
  • 28e9f5c319 improve collapse_vars - handle single-use assignments other than AST_VarDef - scan AST_Call for candidates alexlamsl 2017-12-14 14:26:12 +0800
  • d18979bb23 improve dead_code tests (#2589) kzc 2017-12-13 23:12:06 -0500
  • 3fc1ef6dba more test improvements kzc 2017-12-13 19:11:25 -0500
  • c70fe074bf improve dead_code tests kzc 2017-12-13 17:59:51 -0500
  • 8266993c6e
    fix dead_code on return/throw within try (#2588) Alex Lam S.L 2017-12-14 04:38:21 +0800
  • c93b22cd6e fix dead_code on return/throw within try alexlamsl 2017-12-14 03:34:49 +0800
  • 9a137e8613
    drop local assign-only variable in return (#2587) Alex Lam S.L 2017-12-14 02:59:59 +0800
  • 3a6a36d3b9 adjust test alexlamsl 2017-12-14 02:14:35 +0800
  • f0e0254509 drop immediate assignment to local variable before return alexlamsl 2017-12-14 01:16:31 +0800
  • ef618332ea
    fold cascade functionality into collapse_vars (#2586) Alex Lam S.L 2017-12-14 01:20:36 +0800
  • f0fcaa1ea8 unify cascade & collapse_vars alexlamsl 2017-12-13 20:58:03 +0800
  • 7f418978c9
    recover lost opportunities from #2574 (#2584) Alex Lam S.L 2017-12-13 18:20:53 +0800
  • 2e739c51be recover lost opportunities from #2574 alexlamsl 2017-12-13 16:41:42 +0800
  • 04cc395c35
    improve collapse_vars on side-effect-free replacements (#2583) Alex Lam S.L 2017-12-13 04:52:54 +0800
  • 681a473dc3 add test alexlamsl 2017-12-13 02:33:14 +0800
  • e008dc1bde
    minor clean-up for IIFE (#2582) Alex Lam S.L 2017-12-13 01:27:26 +0800
  • 38fd166612 improve collapse_vars on side-effect-free replacements alexlamsl 2017-12-13 01:17:46 +0800
  • afa6dd1cd8 minor clean-up for IIFE - faster exact type match - aggressively convert to ! alexlamsl 2017-12-13 00:35:37 +0800
  • ddf96cfda2
    avoid Function.prototype pollution by test/sandbox.js (#2581) Alex Lam S.L 2017-12-12 05:02:01 +0800
  • 2d49a48460 avoid Function.prototype pollution by test/sandbox.js alexlamsl 2017-12-12 03:52:03 +0800
  • ebfd5c5c74
    fix AST_VarDef.may_throw() (#2580) Alex Lam S.L 2017-12-12 03:30:25 +0800
  • 1c6dfb0ee1 fix AST_VarDef.may_throw() alexlamsl 2017-12-12 02:37:24 +0800
  • f2ad542679
    fix collapse_vars on switch (#2578) Alex Lam S.L 2017-12-11 18:11:09 +0800
  • c43118be4f
    remove unused code (#2579) Alex Lam S.L 2017-12-11 17:39:08 +0800
  • bacf94ccd1 fix collapse_vars on switch alexlamsl 2017-12-11 14:08:53 +0800
  • 4241ed0e5c remove unused code alexlamsl 2017-12-11 14:12:56 +0800
  • 93f3b2b114
    escape consecutive unpaired surrogates (#2576) Alex Lam S.L 2017-12-11 01:15:44 +0800
  • bf000beae7
    rename tests (#2575) Alex Lam S.L 2017-12-11 00:24:54 +0800
  • f8ff349ba7
    harmony-v3.2.2 harmony-v3.2.2 Alex Lam S.L 2017-12-11 00:16:36 +0800
  • 0e16d92786
    handle exceptional flow correctly in collapse_vars (#2574) Alex Lam S.L 2017-12-11 00:16:02 +0800
  • d3425ac3c5 escape consecutive unpaired surrogates alexlamsl 2017-12-11 00:11:43 +0800
  • 6b547dae77 rename tests alexlamsl 2017-12-10 23:08:57 +0800
  • f2b179ae94 fix escape analysis for AST_Expansion alexlamsl 2017-12-10 14:55:12 +0800
  • c7e8fc4830 fix escape analysis for `AST_Await alexlamsl 2017-12-10 14:43:09 +0800
  • f778a0aa01 fix escape analysis for AST_Yield alexlamsl 2017-12-10 14:25:23 +0800
  • 7789f0f547 handle exceptional flow correctly in collapse_vars alexlamsl 2017-12-10 22:54:11 +0800
  • 7fd4b66eaa fix tests alexlamsl 2017-12-10 14:16:54 +0800
  • 21c986ff5b Merge branch 'master' into harmony-v3.2.2 alexlamsl 2017-12-10 14:12:24 +0800
  • 2441827408
    v3.2.2 v3.2.2 Alex Lam S.L 2017-12-10 13:46:17 +0800
  • 0aff037a35
    improve unused on assign-only symbols (#2568) Alex Lam S.L 2017-12-09 06:19:29 +0800
  • e6ac94b3f1 improve unused on assign-only symbols alexlamsl 2017-12-09 05:48:17 +0800
  • 74a2f53683
    fix escape analysis for AST_Throw (#2564) Alex Lam S.L 2017-12-08 02:54:37 +0800
  • 02617d6dd4 fix escape analysis for AST_Throw alexlamsl 2017-12-08 02:19:35 +0800
  • e20935c3f2
    fix escape analysis for AST_Conditional & AST_Sequence (#2563) Alex Lam S.L 2017-12-08 01:50:38 +0800
  • 3e34f62a1c
    account for side-effects in conditional call inversion (#2562) Alex Lam S.L 2017-12-08 01:15:31 +0800
  • f31f2e2d32 fix escape analysis for AST_Conditional & AST_Sequence alexlamsl 2017-12-08 00:09:22 +0800
  • b246c150a4 add test alexlamsl 2017-12-08 00:11:32 +0800
  • 4f5d12c573 faster fail-over alexlamsl 2017-12-07 23:36:39 +0800
  • 571ce3529e add test alexlamsl 2017-12-07 23:34:08 +0800
  • 31d801cc10 improve efficiency alexlamsl 2017-12-07 23:01:57 +0800
  • bbb5832122 add test alexlamsl 2017-12-07 22:38:01 +0800
  • 5d6f068455 account for side-effects in conditional call inversion alexlamsl 2017-12-07 21:55:29 +0800
  • d21cb84696
    eliminate noop calls more aggressively (#2559) Alex Lam S.L 2017-12-07 01:22:08 +0800
  • 3dd495ecdd
    improve if_return (#2558) Alex Lam S.L 2017-12-07 01:01:52 +0800
  • 87cea676f2 eliminate noop calls more aggressively alexlamsl 2017-12-07 00:52:17 +0800