Alon Zakai
|
041f6b6751
|
continue on registerizeHarder
|
2014-12-10 15:50:28 -08:00 |
Alon Zakai
|
9be2154364
|
more registerizeHarder work
|
2014-12-10 14:56:08 -08:00 |
Alon Zakai
|
b015fb39dc
|
more work on registerizeHarder
|
2014-12-10 14:22:13 -08:00 |
Alon Zakai
|
5e32b716b0
|
refactoring in preparation for conversion of registerizeHarder
|
2014-12-10 13:34:21 -08:00 |
Alon Zakai
|
3642f5c8a1
|
update cashew
|
2014-12-09 10:56:35 -08:00 |
Alon Zakai
|
c702b43fda
|
update cashew and stop building the no-longer-needed istring.cpp
|
2014-12-08 17:25:22 -08:00 |
Alon Zakai
|
5ce5d05031
|
update cashew
|
2014-12-08 17:04:57 -08:00 |
Alon Zakai
|
e802eefcb4
|
update cashew
|
2014-12-08 17:04:57 -08:00 |
Alon Zakai
|
ead96a4a8c
|
update cashew
|
2014-12-08 14:47:55 -08:00 |
Alon Zakai
|
551d50938e
|
update cashew
|
2014-12-08 11:15:59 -08:00 |
Alon Zakai
|
11ee38e4af
|
support noop in native optimizer
|
2014-12-08 11:15:51 -08:00 |
Alon Zakai
|
403d1ee5c5
|
build configs for native optimizer
|
2014-12-07 16:38:09 -08:00 |
Alon Zakai
|
956f2d9967
|
update cashew
|
2014-12-07 14:08:12 -08:00 |
Alon Zakai
|
facac7def4
|
update cashew and enable last in native optimizer
|
2014-12-06 12:01:50 -08:00 |
Alon Zakai
|
c15d66a961
|
update cashew
|
2014-12-05 17:59:33 -08:00 |
Alon Zakai
|
f88137c06d
|
emit another newline in native optimizer, to match uglify
|
2014-12-04 18:38:40 -08:00 |
Alon Zakai
|
74e940dff4
|
start to emit js in native optimizer
|
2014-12-03 17:14:24 -08:00 |
Alon Zakai
|
7bfa91b337
|
update cashew
|
2014-12-03 16:51:14 -08:00 |
Alon Zakai
|
2a856083e4
|
update cashew
|
2014-11-30 14:01:09 -08:00 |
Alon Zakai
|
658a5a1381
|
asmLastOpts fixes
|
2014-11-30 12:58:04 -08:00 |
Alon Zakai
|
dae2a92aa8
|
convert asmLastOpts to native optimizer
|
2014-11-30 12:08:33 -08:00 |
Alon Zakai
|
c4892e2172
|
update cashew
|
2014-11-29 20:34:48 -08:00 |
Alon Zakai
|
36f16e1c0b
|
update cashew
|
2014-11-28 21:47:11 -08:00 |
Alon Zakai
|
a6adc76553
|
update cashew; other.test_js_optimizer now passes with native parsing
|
2014-11-28 20:34:42 -08:00 |
Alon Zakai
|
0c4d4b7304
|
update cashew
|
2014-11-28 12:23:49 -08:00 |
Alon Zakai
|
56e4253ded
|
update cashew
|
2014-11-28 11:02:24 -08:00 |
Alon Zakai
|
dcc248d44e
|
fix extraInfo parsing
|
2014-11-28 11:02:24 -08:00 |
Alon Zakai
|
0f71709f0d
|
prepare to parse JS in optimizer
|
2014-11-28 11:02:23 -08:00 |
Alon Zakai
|
24a6676c0c
|
do not hide stderr when building native optimizer, and option parsing improvements
|
2014-11-28 11:02:23 -08:00 |
Alon Zakai
|
d05d1b20a6
|
use cashew in native optimizer
|
2014-11-27 21:04:39 -08:00 |
Alon Zakai
|
a5d95d90c6
|
move some included headers in optimizer from c to c++
|
2014-11-15 22:42:53 -08:00 |
Alon Zakai
|
1205ecc101
|
avoid using sys/stat.h in optimizer
|
2014-11-15 16:50:52 -08:00 |
Alon Zakai
|
7e3f14f749
|
enable native optimizer on minified output
|
2014-11-14 16:57:10 -08:00 |
Alon Zakai
|
f8750120dc
|
fix and enable minifyNames in native optimizer
|
2014-11-13 15:38:39 -08:00 |
Alon Zakai
|
e6ff252953
|
minifyLocals fixes
|
2014-11-13 15:01:19 -08:00 |
Alon Zakai
|
92fbdce521
|
initial port of minifyLocals
|
2014-11-13 14:39:56 -08:00 |
Alon Zakai
|
2d53599913
|
support for JSON objects and extraInfo in optimizer
|
2014-11-13 13:47:27 -08:00 |
Alon Zakai
|
f6e3a9c230
|
make array accesses non-tolerant
|
2014-11-13 11:28:30 -08:00 |
Alon Zakai
|
b2d3cadf15
|
optimizer fixes
|
2014-11-12 17:53:31 -08:00 |
Alon Zakai
|
582ce2a550
|
fix oob read on vector in registerize
|
2014-11-12 17:29:19 -08:00 |
Alon Zakai
|
fd738c6754
|
remove side-effect-free nodes in registerize; enable registerize in native optimizer
|
2014-11-12 17:02:50 -08:00 |
Alon Zakai
|
91a0d820c0
|
fix some registerize porting bugs
|
2014-11-12 16:48:04 -08:00 |
Alon Zakai
|
aff6780ade
|
fix some registerize crashes
|
2014-11-12 16:15:35 -08:00 |
Alon Zakai
|
f418b5f550
|
initial work to port registerize
|
2014-11-12 14:47:33 -08:00 |
Alon Zakai
|
68b550a8d1
|
additional small traversal opts
|
2014-11-12 13:06:47 -08:00 |
Alon Zakai
|
eb8b83c583
|
optimize traversePre with a stack-based stack
|
2014-11-12 13:00:33 -08:00 |
Alon Zakai
|
e75930d8aa
|
little optimization on traversePre
|
2014-11-12 11:24:12 -08:00 |
Alon Zakai
|
a6af6aa258
|
fix bug with removing a param as if it were a var
|
2014-11-11 17:53:45 -08:00 |
Alon Zakai
|
abb4573d3d
|
finish eliminator port
|
2014-11-11 17:22:39 -08:00 |
Alon Zakai
|
05faca9b34
|
eliminate fixes
|
2014-11-11 17:06:43 -08:00 |
Alon Zakai
|
d97b1c6384
|
get all of ported eliminator to build
|
2014-11-11 16:36:45 -08:00 |
Alon Zakai
|
88d8f9687d
|
eliminator fixes
|
2014-11-11 15:25:23 -08:00 |
Alon Zakai
|
3d6d6ed1ef
|
fix Ref not operator
|
2014-11-11 15:24:59 -08:00 |
Alon Zakai
|
e5de2cd5e5
|
initial porting of eliminator to native optimizer
|
2014-11-11 14:17:58 -08:00 |
Alon Zakai
|
767b573f9f
|
asmData.deleteVar
|
2014-11-11 13:33:28 -08:00 |
Alon Zakai
|
7827f7c782
|
fix simplifyNotComps
|
2014-11-10 17:34:35 -08:00 |
Alon Zakai
|
c930b4941f
|
fix double to int conversions
|
2014-11-10 16:46:07 -08:00 |
Alon Zakai
|
65abc91825
|
remove two super-heavy asserts
|
2014-11-10 15:28:07 -08:00 |
Alon Zakai
|
862f81bd58
|
use IString everywhere
|
2014-11-10 15:20:31 -08:00 |
Alon Zakai
|
97d68a3420
|
intern all common strings
|
2014-11-10 14:29:29 -08:00 |
Alon Zakai
|
89b200bb02
|
remove unneeded include
|
2014-11-10 13:46:58 -08:00 |
Alon Zakai
|
2c68e408ad
|
initial work on string interning, and reusing the input for all strings
|
2014-11-10 13:40:47 -08:00 |
Alon Zakai
|
0032c42675
|
remove traverseChildren, which forces recursion
|
2014-11-08 12:38:48 -08:00 |
Alon Zakai
|
26271c5318
|
derecurse traversePre|Post
|
2014-11-08 11:03:00 -08:00 |
Alon Zakai
|
5eb2cedc7d
|
remove rapidjson
|
2014-11-08 10:40:35 -08:00 |
Alon Zakai
|
0163724aff
|
fix comment
|
2014-11-07 18:28:58 -08:00 |
Alon Zakai
|
e61991b2a4
|
use arena allocator
|
2014-11-07 17:42:17 -08:00 |
Alon Zakai
|
cbc5fc1263
|
never free Values, leave them all alive until process exit
|
2014-11-07 17:32:00 -08:00 |
Alon Zakai
|
d6d4a81839
|
use unordered_map
|
2014-11-06 20:32:54 -08:00 |
Alon Zakai
|
d85213d9cc
|
fix missing getNumber bug
|
2014-11-06 13:35:37 -08:00 |
Alon Zakai
|
19340e803b
|
fix fround var defs
|
2014-11-06 11:51:11 -08:00 |
Alon Zakai
|
54e16823d7
|
refactor AsmData
|
2014-11-06 10:52:05 -08:00 |
Alon Zakai
|
3442f0c542
|
avoid strncmp
|
2014-11-05 18:02:50 -08:00 |
Alon Zakai
|
e703658c7e
|
do not emit params as vars
|
2014-11-05 17:54:33 -08:00 |
Alon Zakai
|
b3973ded6c
|
enable simplifyNotComps
|
2014-11-05 17:51:19 -08:00 |
Alon Zakai
|
12a8cd9443
|
enable more parts of simplifyExpressions
|
2014-11-05 17:47:05 -08:00 |
Alon Zakai
|
f54abf922b
|
enable more parts of simplifyExpressions, and use Value == when comparing Refs
|
2014-11-05 17:40:38 -08:00 |
Alon Zakai
|
4303279317
|
initial work to convert simplifyExpressions to new optimizer
|
2014-11-05 17:03:00 -08:00 |
Alon Zakai
|
d26fcc824e
|
avoid isspace
|
2014-11-04 16:59:46 -08:00 |
Alon Zakai
|
f036f6813e
|
fix js_optimizer.py decision when to use the native optimizer
|
2014-11-04 15:58:45 -08:00 |
Alon Zakai
|
1bb13aade5
|
fix optimizeFrounds and fix js_optimizer testing for native passes to only run where possible, adding an frounds-only pass so that is tested
|
2014-11-04 15:51:32 -08:00 |
Alon Zakai
|
b45294cd5a
|
some optimizer fixes
|
2014-11-04 15:30:11 -08:00 |
Alon Zakai
|
128cb505e8
|
emit full float precision when stringifying
|
2014-11-04 15:17:40 -08:00 |
Alon Zakai
|
8ba3dca6a4
|
get detectType on num
|
2014-11-04 14:54:28 -08:00 |
Alon Zakai
|
436500292c
|
make Value[] tolerant, return Null on out of bounds
|
2014-11-04 14:54:06 -08:00 |
Alon Zakai
|
d8b4d111a2
|
add pretty-printing and an assert
|
2014-11-04 14:44:07 -08:00 |
Alon Zakai
|
c9ccab8194
|
final fixes for simplifyIfs
|
2014-11-04 14:21:34 -08:00 |
Alon Zakai
|
971b76804b
|
fix deepCompare
|
2014-11-04 13:29:03 -08:00 |
Alon Zakai
|
9ef8a77e98
|
simplifyIfs porting error fixes
|
2014-11-04 12:14:39 -08:00 |
Alon Zakai
|
5cedfc6045
|
simplifyIfs fixes
|
2014-11-04 11:39:37 -08:00 |
Alon Zakai
|
553404f0d0
|
fix up shallow and deep compares
|
2014-11-04 11:39:22 -08:00 |
Alon Zakai
|
7bc309cd2b
|
fix Number parsing
|
2014-11-04 11:26:35 -08:00 |
Alon Zakai
|
ac6a40261e
|
get optimizer building and running without crashes
|
2014-11-04 11:11:40 -08:00 |
Alon Zakai
|
e037505db7
|
misc fixes
|
2014-11-03 17:49:42 -08:00 |
Alon Zakai
|
048cc5b9b9
|
get most of optimizer building on new minijson.h
|
2014-11-03 17:32:38 -08:00 |
Alon Zakai
|
2076afb706
|
minijson.h
|
2014-11-03 16:09:28 -08:00 |
Alon Zakai
|
0379c53dbc
|
end of the road for rapidjson attempt
|
2014-11-03 14:29:49 -08:00 |
Alon Zakai
|
45941ecb0d
|
set up infrastructure to test native optimizer in other.test_js_optimizer
|
2014-10-31 11:16:40 -07:00 |
Alon Zakai
|
b01e144487
|
enable optimizeFrounds as a native optimizer pass
|
2014-10-30 17:28:47 -07:00 |
Alon Zakai
|
525a17d2c0
|
error detection and comments handling in optimizer
|
2014-10-30 16:57:01 -07:00 |
Alon Zakai
|
b483837914
|
optimizer fixes
|
2014-10-30 16:45:32 -07:00 |
Alon Zakai
|
968d27db26
|
use global singletons for common strings
|
2014-10-30 14:02:30 -07:00 |
Alon Zakai
|
38f11ca42c
|
compiling early version of optimizer.cpp
|
2014-10-30 10:30:58 -07:00 |
Alon Zakai
|
64db81a58f
|
add rapidjson
|
2014-10-29 17:16:31 -07:00 |