kpdecker
1d83ad6cce
Avoid defineProperty when not needed
...
This lets us use the fast path for most object literal assignments and then utilizes the defineProperty path when there is a chance that we could hit the setter issue described in #357 .
10x performance boosts seen for the six-speed test case, going from 200k operations/sec to 2M ops/sec.
2015-06-25 09:22:03 -05:00
Sebastian McKenzie
0f70c76312
5.6.7
2015-06-25 04:18:49 +01:00
Sebastian McKenzie
e8c672bf4f
v5.6.7
v5.6.7
2015-06-25 04:17:52 +01:00
Sebastian McKenzie
7083ac61ff
remove test.js
2015-06-25 04:16:06 +01:00
Sebastian McKenzie
d256809120
Merge branch 'master' of github.com:babel/babel
...
# Conflicts:
# src/babel/traversal/path/replacement.js
2015-06-25 04:12:13 +01:00
Sebastian McKenzie
26a19f82d2
add 5.6.7 changelog
2015-06-25 04:11:40 +01:00
Sebastian McKenzie
128d3b5c91
add missing computed loose test - ref #1820
2015-06-25 04:11:32 +01:00
Sebastian McKenzie
c1a080d0ca
supress duplicate deprecation messages
2015-06-25 04:11:13 +01:00
Sebastian McKenzie
0b1ce6c9a4
always coerce leading computed property initialisers into the init object - fixes #1820
2015-06-25 04:10:56 +01:00
Sebastian McKenzie
a6f04055c0
fix block scoping transformer
2015-06-25 04:10:32 +01:00
Sebastian McKenzie
c3219e8b88
deprecate returning source strings from visitor methods
2015-06-25 03:51:25 +01:00
Sebastian McKenzie
a35c863341
deprecate returning source strings from visitor methods
2015-06-25 03:50:10 +01:00
Sebastian McKenzie
6f862a4c45
actually push for left declaration to the returned block scoping body - fixes #1819
2015-06-25 03:48:29 +01:00
Sebastian McKenzie
cf38210fd2
5.6.6
2015-06-24 23:28:44 +01:00
Sebastian McKenzie
5c9d564339
v5.6.6
v5.6.6
2015-06-24 23:27:44 +01:00
Sebastian McKenzie
031a61515b
add labels, and inX properties to lookahead getState
2015-06-24 23:26:59 +01:00
Sebastian McKenzie
d3884fd53b
add inType assignment in flow parse declare method
2015-06-24 23:26:48 +01:00
Sebastian McKenzie
c6eef3080e
add 5.6.6 changelog
2015-06-24 23:26:35 +01:00
Sebastian McKenzie
25be0a974d
fixing linting errors
2015-06-24 23:20:03 +01:00
Sebastian McKenzie
7ccd135e83
fix isKeyword flow overload
2015-06-24 23:18:21 +01:00
Sebastian McKenzie
4fc1bbeb60
acorn resync
2015-06-24 23:15:27 +01:00
Sebastian McKenzie
32a4d7172b
optimise generator for compact mode
2015-06-24 23:15:22 +01:00
Sebastian McKenzie
aa25903c05
parse void as an identifier when inside a type annotation to avoid setting void keyword token - cc @DmitrySoshnikov
2015-06-24 23:15:00 +01:00
Sebastian McKenzie
23ec1a455e
upgrade babel-plugin-dead-code-elimination
2015-06-24 23:14:08 +01:00
Sebastian McKenzie
e6ac2d049b
add 5.6.5 changelog
2015-06-24 13:50:53 +01:00
Sebastian McKenzie
084ae31816
5.6.5
2015-06-24 13:48:43 +01:00
Sebastian McKenzie
8e530afd78
v5.6.5
v5.6.5
2015-06-24 13:47:54 +01:00
Sebastian McKenzie
6c66a82b37
Merge branch 'master' of github.com:babel/babel
2015-06-24 13:46:05 +01:00
Sebastian McKenzie
737abca3a9
use this.space() instead of manually pushing
2015-06-24 13:45:56 +01:00
Sebastian McKenzie
9db43ca7a9
clean up t.isReferenced
2015-06-24 13:45:48 +01:00
Sebastian McKenzie
25b0683316
add Path#couldBeBaseType
2015-06-24 13:45:32 +01:00
Sebastian McKenzie
a096f6b1c5
fix noOptimise state being incorrect when recursing into multiple nested functions - fixes #1815
2015-06-24 13:45:14 +01:00
Sebastian McKenzie
e41ab2ab0c
Merge pull request #1807 from benjamn/patch-1
...
Update Regenerator dependency to 0.8.31.
2015-06-23 17:07:25 +01:00
Ben Newman
6a6764fa7b
Update Regenerator dependency to 0.8.31.
...
Fixes #1805 .
2015-06-23 12:06:48 -04:00
Sebastian McKenzie
a2358d6863
5.6.4
2015-06-22 20:39:14 +01:00
Sebastian McKenzie
612ef79d35
v5.6.4
v5.6.4
2015-06-22 20:38:12 +01:00
Sebastian McKenzie
2dfa6ddf36
add 5.6.4 changelog
2015-06-22 20:37:00 +01:00
Sebastian McKenzie
2910d4f82c
fix Program can only be replaced with another Program error
2015-06-22 20:36:34 +01:00
Sebastian McKenzie
4b6c954f5e
add ParenthesizedExpression node type for plugins to generate
2015-06-22 20:36:12 +01:00
Sebastian McKenzie
b7e23e3410
5.6.3
2015-06-22 11:57:53 +01:00
Sebastian McKenzie
a19f10e124
v5.6.3
v5.6.3
2015-06-22 11:56:46 +01:00
Sebastian McKenzie
8e1f134635
fix rest parameter array allocation loop being incorrectly aliased - fixes #1800
2015-06-22 11:54:57 +01:00
Sebastian McKenzie
aa151016f5
5.6.2
2015-06-22 00:10:56 +01:00
Sebastian McKenzie
ce3c6289a2
v5.6.2
v5.6.2
2015-06-22 00:08:52 +01:00
Sebastian McKenzie
0364519869
remove unused import
2015-06-22 00:06:43 +01:00
Sebastian McKenzie
58cda35831
log spread element rest parameter as a candidate instead of replacing it in place - fixes #1796
2015-06-22 00:06:03 +01:00
Sebastian McKenzie
ebaa06f4a2
add ensureBlock path method
2015-06-21 23:59:14 +01:00
Sebastian McKenzie
4b0f624fb3
turn method literal keys into assignments in loose mode - fixes #1797
2015-06-21 23:59:06 +01:00
Sebastian McKenzie
aa0f3ac5d0
5.6.1
2015-06-21 00:07:07 +01:00
Sebastian McKenzie
725906a7dc
v5.6.1
v5.6.1
2015-06-21 00:05:13 +01:00