aboutsummaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2013-06-22Merge remote-tracking branch 'upstream/incoming' into source-mapsJez Ng
Conflicts: emcc tools/js-optimizer.js tools/js_optimizer.py
2013-06-22clean up closure callingAlon Zakai
2013-06-22remove unneeded lineAlon Zakai
2013-06-22only minify globals when reloopingAlon Zakai
2013-06-22fix -g2 and add testingAlon Zakai
2013-06-22Get test_source_map passing again.Jez Ng
2013-06-22Put uglify back the way it was.Jez Ng
Makes for an easier-to-review pull request.
2013-06-22Make optimizer handle both strings and string-like type objects.Jez Ng
NodeWithToken is a string-like type produced by the parser during 'embed tokens' mode, which allows us to track line numbers.
2013-06-22Fix line numbering for invoke instructions.Jez Ng
Line numbering of exceptions now work (better) in optimized mode.
2013-06-22Source maps should only be activated via the `--map` flag.Jez Ng
2013-06-21do not run addition optimization pass in asm; it just adds overhead, and ↵Alon Zakai
minorly increases code size by changing addition order against the grain of operator precedence
2013-06-21update testsAlon Zakai
2013-06-21reduce indentation in relooper1.5.1Alon Zakai
2013-06-21decrease indentation level in js optimizerAlon Zakai
2013-06-21do not eliminate loop vars when there is a shared helperAlon Zakai
2013-06-20do not return node in main simplifyNotCompsPass all the time, it thinks it ↵Alon Zakai
is being replaced and adds much overhead
2013-06-19Make sure the line numbers sync up.Jez Ng
2013-06-19fix bug with reducing f()|0|constAlon Zakai
2013-06-19keep |0 on function calls, allow other bitwise ops on heap accesses etc.Alon Zakai
2013-06-19Implement source maps for optimized builds.Jez Ng
2013-06-19Update the source-map library.Jez Ng
2013-06-19Move source mapping files into their own folder.Jez Ng
2013-06-19Map source lines for assignment statements.Jez Ng
2013-06-19Delete uglify code that was only needed for compression.Jez Ng
This makes it easier to reason about the remainder...
2013-06-19Lay the groundwork for optimized source maps.Jez Ng
2013-06-19keep coercions on heap accesses and function calls, but fully optimize them ↵Alon Zakai
otherwise
2013-06-19Fix source map line numbering for inline scripts.Jez Ng
2013-06-19Add test for source maps.Jez Ng
Tweak behavior of post_build; the `post2` hook now expects a function.
2013-06-19Add check for keep_llvm_debug + minor touchups.Jez Ng
2013-06-19Implement basic source maps. Closes #1252.Jez Ng
2013-06-19Commit the source-map library.Jez Ng
2013-06-18post messages to crunch worker with a new arrayBuffer, to avoid copying an ↵Alon Zakai
underlying one
2013-06-18Update minimum node version.Jez Ng
2013-06-18do not use EMCC_OPTIMIZE_NORMALLY in relooperAlon Zakai
2013-06-18Fix bug in file_packager.py introduced in my recent pull request that caused ↵Jukka Jylänki
all files to be skipped from being packaged if the path contains a relative '.' in its path name (e.g. './path/etc').
2013-06-17Merge pull request #1288 from juj/dont_package_hidden_filesAlon Zakai
Report debug diagnostics in file packager if EMCC_DEBUG=1. Make file pac...
2013-06-18Rename emcc_debug to DEBUG in tools/file_packager.py to be consistent.Jukka Jylänki
2013-06-17v 1.5.01.5.0Alon Zakai
2013-06-17enable all debug logging in emcc -vAlon Zakai
2013-06-13do not eliminate dead code in EXPORT_ALLAlon Zakai
2013-06-13Report debug diagnostics in file packager if EMCC_DEBUG=1. Make file ↵Jukka Jylänki
packager skip all path components that have a path starting with '.', like ('.git/xxx/yyy/'), or the filename starts with '.', or the file is a Win32 hidden file. Explicitly specified files on the command line are always packaged, even if they start with '.' or are hidden. Add unit tests to check that it works.
2013-06-08handle more cases in simplifyNotCompsAlon Zakai
2013-06-08only remove seq|0 when seq is an assign valueAlon Zakai
2013-06-08remove unneeded outside |0 when a sequence ends in a safe bitopAlon Zakai
2013-06-08optimize away bitcasts to variables that will only be used in an assign to ↵Alon Zakai
the parallel heap type
2013-06-07improve tempDoublePtr elimination and only run analysis when necessaryAlon Zakai
2013-06-07eliminate bitcasts of immediately loaded valuesAlon Zakai
2013-06-07optimize some HEAP32 expressions, including some unnecessary bitcasts ↵Alon Zakai
through tempDoublePtr
2013-06-07ignore tempDoublePtr operations, they do not really alias memoryAlon Zakai
2013-06-07fix crunch pathAlon Zakai