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

12232 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai e5de2cd5e5 initial porting of eliminator to native optimizer 2014-11-11 14:17:58 -08:00
Alon Zakai be68d22ae9 fix missing var in js optimizer 2014-11-11 14:17:33 -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 f5c48bab27 fix bisect_pair on programs not returning 0 2014-11-10 16:45:21 -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 46f5621115 comment about debugging/profiling flags 2014-11-06 20:32:36 -08:00
Alon Zakai a3298c6205 update optimizer build flags 2014-11-06 18:34:15 -08:00
Alon Zakai d85213d9cc fix missing getNumber bug 2014-11-06 13:35:37 -08:00
Alon Zakai 55c7bd0a6f emitJSON/receiveJSON fixes 2014-11-06 13:15:28 -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 db463c7fed unify decisions on whether to run natively, and take into account source maps, which native cannot do 2014-11-04 17:11:11 -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 92747bfba7 fix EMCC_DEBUG=2 with native passes 2014-11-04 15:17:10 -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 84f75552aa fix test harness for native optimizer 2014-11-04 11:26:43 -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