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

17 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai b912cd9ae7 ressurect optimizeShifts (just in js optimizer and tests), with a fix for ensuring at most one value with unknown lower bits; #2481 2014-07-05 14:00:00 -07:00
Alon Zakai 14d6b2cdab remove stack parameter from js optimizer traverse(), to avoid overhead when not needed 2014-03-27 13:50:01 -07:00
Alon Zakai df420614de update tests 2013-06-21 16:37:48 -07:00
Alon Zakai c3af81d6df simplify shift optimizer and make it safer by not optimizing out >> << combos 2011-12-31 11:52:54 -08:00
Alon Zakai 0823d6c87d fix and enable optimizeShiftsAggressive test 2011-12-31 09:41:15 -08:00
Alon Zakai 8268b5a015 improve shift optimizer tests 2011-12-30 20:53:32 -08:00
Alon Zakai 3d9832b751 make shift optimizer output more similar to normal output 2011-12-29 18:55:41 -08:00
Alon Zakai e53ee130a3 let shiftOptimizer either replace the original variable, or keep it and add a new shifted variable 2011-12-29 17:24:31 -08:00
Alon Zakai 4f876565ff clean optimizeShifts 2011-12-29 15:27:37 -08:00
Alon Zakai d4bbcb6a28 fix bug with optimizeShifts asserting shifted constants can always be simplified 2011-12-29 11:03:08 -08:00
Alon Zakai fb8bb521a9 do not recombine large shifts in optimizeShifts 2011-12-28 18:18:32 -08:00
Alon Zakai f0d47bd575 fix bug in optimizeShifts with not fixing the shift of X = needsShift 2011-12-28 17:43:22 -08:00
Alon Zakai 995e37ebc0 ignore string nodes when recombining additions in optimizeShifts 2011-12-28 15:51:22 -08:00
Alon Zakai f705c72430 do not turn shifts into slow additions in optimizeShifts 2011-12-28 15:16:59 -08:00
Alon Zakai ab12dc1380 fix optimizeShifts bug 2011-12-28 14:41:46 -08:00
Alon Zakai d98cbf8aef complete optimizeShifts 2011-12-28 13:54:35 -08:00
Alon Zakai 68ec145d73 initial work on optimizeShifts pass in js optimizer 2011-12-28 12:04:42 -08:00