Граф коммитов

74 Коммитов

Автор SHA1 Сообщение Дата
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