aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
AgeCommit message (Collapse)Author
2012-01-11do not blow up the stack with lots of varargsAlon Zakai
2012-01-10align stack to QUANTUM_SIZE in ta2 properly, avoiding unnecessary checks and ↵Alon Zakai
corrections
2012-01-06prevent stack from being exhausted due to allocas and byval argumentsAlon Zakai
2012-01-05properly handle implicit entry labels + phi also in the unoptimized phi caseAlon Zakai
2012-01-05handle various possible namings for an implicitly named entryAlon Zakai
2012-01-05handle the case where there is no explicit label for the entry, and the name ↵Alon Zakai
of the entry is important for phi purposes
2012-01-04fix bug with investigating types in the main pass, and in rare cases ↵Alon Zakai
defining types with incorrect data because of that
2012-01-03tweak loop hoistingAlon Zakai
2012-01-03hoist even large entries into loopsAlon Zakai
2012-01-02do not set label when continue-ing to a loop with one entryAlon Zakai
2012-01-02use BRNOL in loops tooAlon Zakai
2012-01-02do not set label when leaving a multiple with one post-entry, and properly ↵Alon Zakai
optimize the case of not setting label with new BRNOL branch signature
2012-01-01improve loop hoisting and add testAlon Zakai
2012-01-01do not set __label__ if a loop has only one entry in its externalsAlon Zakai
2012-01-01hoist some externals into loopsAlon Zakai
2011-12-15rewrite variable analysis code. eliminate unused variables without side ↵Alon Zakai
effects, and improve nativization logic.
2011-12-11simplify and slim down value intertypeAlon Zakai
2011-12-03optimize type analysis loopAlon Zakai
2011-12-03various minor compiler optimizationsAlon Zakai
2011-12-03refactoring towards supporting node.jsAlon Zakai
2011-12-02misc compiler optimizations, now takes half as long to compile freetypeAlon Zakai
2011-12-02fix missing var in analyzerAlon Zakai
2011-12-02various fixes from js strict mode testingAlon Zakai
2011-12-01code cleanup, do not do heavy operations in parameters to print or assertAlon Zakai
2011-12-01misc minor but important memory fixesAlon Zakai
2011-11-30refactor compiler to allow future batching of types and globals. move ↵Alon Zakai
postsets from run() to the toplevel to boost performance and simplify compilation. fix various bugs that were noticed during this
2011-11-29discard almost all .tokens when intertyper ends, to save memory (all except ↵Alon Zakai
for inside Globals)
2011-11-27tiny fix for needAnalysis being a dictionaryAlon Zakai
2011-11-23replace compiler tricks for one-time loop removal and label removal with a ↵Alon Zakai
proper pass in the js optimizer
2011-11-23optimize relooper optimizerAlon Zakai
2011-11-22remove buggy condition stealing optimization, that is no longer useful anyhowAlon Zakai
2011-11-21properly handle branches to phi from invokes in assignsAlon Zakai
2011-11-19fix for phis from invokeAlon Zakai
2011-11-18support reaching phi from invoke, and a workaround with vars in phi sets for ↵Alon Zakai
closure compiler
2011-11-18support switches to phiAlon Zakai
2011-11-18phi progress, almost all unoptimized tests passAlon Zakai
2011-11-18add new var intertype for hollowed-out phisAlon Zakai
2011-11-18further refactoring of phi, and work towards optimized phiAlon Zakai
2011-11-18refactor phi code for unoptimized caseAlon Zakai
2011-11-18rename OPTIMIZE to MICRO_OPTSAlon Zakai
2011-11-11fix phi semantics with multiple dependent phisAlon Zakai
2011-11-09initial work on i64Alon Zakai
2011-10-09try to handle q1 cases where only part of a structure is copied. code is not ↵Alon Zakai
actually hit in the test suite yet
2011-10-07fix bug with analyzing {..}* typesAlon Zakai
2011-09-08expose branch condition to analysis; fixes ta2 bug with test_ifAlon Zakai
2011-09-06handle anonymous packed struct typesAlon Zakai
2011-09-02some metadata and label fixesAlon Zakai
2011-09-01fix bugs with parsing anonymous structure typesAlon Zakai
2011-09-01misc minor bugsAlon Zakai
2011-08-31initial work to support resume, landingpad and insertvalueAlon Zakai