Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | ensure exports are added deterministically from binaries | Alon Zakai (kripken) | 2017-01-04 | 2 | -4/+6 | |
| |/ | ||||||
* | | Handle stacky code (#868) | Alon Zakai | 2017-01-04 | 6 | -23/+96 | |
| | | | | | | | | * handle stacky code in binaries, using a block+local | |||||
* | | Print long string in one call (#864) | Loo Rong Jie | 2017-01-03 | 2 | -23/+23 | |
|/ | ||||||
* | Merge pull request #859 from WebAssembly/linking | Alon Zakai | 2016-12-27 | 55 | -497/+1218 | |
|\ | | | | | Dynamic linking | |||||
| * | handle imports in tables in interpreter | Alon Zakai | 2016-12-07 | 3 | -13/+23 | |
| | | ||||||
| * | properly legalize imported table elements | Alon Zakai | 2016-12-07 | 6 | -9/+90 | |
| | | ||||||
| * | fix legalization issues with f32s | Alon Zakai | 2016-12-07 | 6 | -11/+83 | |
| | | ||||||
| * | verify we don't legalize table elements | Alon Zakai | 2016-12-07 | 5 | -4/+10 | |
| | | ||||||
| * | comment | Alon Zakai | 2016-12-07 | 1 | -1/+1 | |
| | | ||||||
| * | lower min and max in asm2wasm in wasm f*.min/max | Alon Zakai | 2016-12-07 | 4 | -1/+98 | |
| | | ||||||
| * | make legalizeJSInterface handle f32s as well, which are not valid in asm.js ffis | Alon Zakai | 2016-12-07 | 11 | -31/+307 | |
| | | ||||||
| * | convert ftCall_* and mftCall_* into table calls | Alon Zakai | 2016-12-07 | 6 | -8/+111 | |
| | | ||||||
| * | support asm.js numeric exports by creating a global and exporting that | Alon Zakai | 2016-12-07 | 6 | -17/+44 | |
| | | ||||||
| * | add a RemoveUnusedModuleElements pass, and make LegalizeJSInterface create ↵ | Alon Zakai | 2016-12-07 | 29 | -403/+421 | |
| | | | | | | | | TempRet0 if needed (otherwise we might remove it before we use it) | |||||
| * | use tableBase for the table segments | Alon Zakai | 2016-12-07 | 17 | -17/+17 | |
| | | ||||||
| * | export the wasm table on Module | Alon Zakai | 2016-12-07 | 1 | -0/+1 | |
| | | ||||||
| * | use wasmMaxTableSize | Alon Zakai | 2016-12-07 | 1 | -1/+6 | |
| | | ||||||
| * | fix the order of emitting the start section | Alon Zakai | 2016-12-07 | 1 | -1/+1 | |
| | | ||||||
| * | fix table import size when no maximum is provided | Alon Zakai | 2016-12-07 | 7 | -1/+7 | |
| | | ||||||
| * | add table-max option, and make it and mem-max set the limit to no limit for -1 | Alon Zakai | 2016-12-07 | 1 | -2/+21 | |
| | | ||||||
* | | fix copy of call_indirect bug (#860) | Alon Zakai | 2016-12-21 | 1 | -1/+1 | |
| | | ||||||
* | | hash the type of nodes (#856) | Alon Zakai | 2016-12-07 | 1 | -0/+10 | |
| | | ||||||
* | | ignore unknown user sections, fixes #857 (#858) | Alon Zakai | 2016-12-07 | 2 | -8/+13 | |
| | | ||||||
* | | use exported static base and bump (#853) | Alon Zakai | 2016-12-06 | 1 | -2/+2 | |
| | | ||||||
* | | Refactor check.py so that groups of tests can be split into separate … (#849) | jgravelle-google | 2016-12-06 | 7 | -347/+547 | |
|/ | | | | | | | | | | | | | | * Refactor check.py so that groups of tests can be split into separate files - Move helper util functions into test/shared.py - Move scripts/support.py to test/support.py - Split s2wasm tests into its own file * Fix flake8 warnings for shared.py and s2wasm.py * Move test scripts from test/ to scripts/test/ * Replace 'from shared import *' with explicit imports | |||||
* | Update known test failures and waterfall revision (#854) | jgravelle-google | 2016-12-01 | 8 | -18/+20 | |
| | ||||||
* | Generate global imports separately from emscripten glue (#852) | jgravelle-google | 2016-12-01 | 4 | -19/+21 | |
| | ||||||
* | Handle importing globals in s2wasm (#843) | jgravelle-google | 2016-11-30 | 8 | -36/+280 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle importing globals in s2wasm * Make importedGlobals a set of Names, make Names hashable * Revert "Make importedGlobals a set of Names, make Names hashable" This reverts commit 1d0ca7a5e3839b15ca60593330979864c9c3ed60. * Refactor relocation parsing to handle expressions directly * PR Feedback - Move comment where it belongs - Add comment about ownership to addRelocation - Remove do-nothing parseImportGlobal * Reword "imported globals" to "imported objects" - Flip isObjectImported to isObjectImplemented, for consistency * Add tests for s2wasm globals. Also implement import relocation expression handling * Simplify globals.s test * Fix memory leak of relocation * Use unique_ptr instead of delete in getRelocatableExpression | |||||
* | Fix regression from #850 (#851) | Alon Zakai | 2016-11-30 | 10 | -378/+593 | |
| | | | | | | * fix regression from #850 - it is not always safe to fold added offsets into load/store offsets, as the add wraps but offset does not * small refactoring to simplify asm2wasm pass invocation | |||||
* | Optimize added factors into load/store offsets (#850) | Alon Zakai | 2016-11-29 | 7 | -332/+516 | |
| | | | | | * optimize added factors into load/store offsets, removing the add * optimize offset of load/store of a constant into the constant | |||||
* | more consistent placement of & and *, on the type (#848) | Alon Zakai | 2016-11-28 | 3 | -105/+111 | |
| | ||||||
* | increase limit in RelooperJumpThreading (#847) | Alon Zakai | 2016-11-28 | 5 | -327/+327 | |
| | ||||||
* | Wrap description (#839) | Loo Rong Jie | 2016-11-28 | 3 | -5/+32 | |
| | ||||||
* | fix a reordering bug in merge-blocks (#846) | Alon Zakai | 2016-11-25 | 3 | -18/+98 | |
| | ||||||
* | fix python spacing in some scripts (#841) | Alon Zakai | 2016-11-15 | 2 | -0/+2 | |
| | ||||||
* | add --mem-max option to set the maximum size of memory, overriding the ↵ | Alon Zakai | 2016-11-11 | 1 | -0/+10 | |
| | | | | default (which is the normal size of memory if no growth, or infinity if growth) (#837) | |||||
* | Run wasm natively by default, no fallbacks to interpreting (#838) | Alon Zakai | 2016-11-11 | 1 | -2/+2 | |
| | | | | | | * run wasm natively by default, no fallbacks to interpreting * improve error message, suggesting people add methods if they want more | |||||
* | improve memory growth ignoring code in asm2wasm, we may not have the marker ↵ | Alon Zakai | 2016-11-11 | 1 | -15/+21 | |
| | | | | symbols (e.g. in ONLY_MY_CODE that is the case) (#835) | |||||
* | update wasm.js (#836) | Alon Zakai | 2016-11-11 | 1 | -10/+10 | |
| | ||||||
* | Fix Windows colors (#833) | Loo Rong Jie | 2016-11-11 | 2 | -5/+4 | |
| | | | | * Fix Windows colors and update README.md | |||||
* | show a warning with guidance when a memory size incompatibility issue makes ↵ | Alon Zakai | 2016-11-10 | 1 | -0/+3 | |
| | | | | wasm compilation fail (#834) | |||||
* | Merge pull request #831 from WebAssembly/symbol-map | Alon Zakai | 2016-11-10 | 3 | -3/+56 | |
|\ | | | | | Symbols fixes | |||||
| * | emit entries in the Names section for imports as well, as was recently ↵ | Alon Zakai | 2016-11-09 | 1 | -3/+35 | |
| | | | | | | | | changed in the spec | |||||
| * | add a --symbolmap option to wasm-as, which emits a side file with the name ↵ | Alon Zakai | 2016-11-09 | 3 | -0/+21 | |
|/ | | | | mapping (similar to Names section, but external) | |||||
* | support assigns of f32 to HEAP64 in asm2wasm (#830) | Alon Zakai | 2016-11-07 | 6 | -2/+57 | |
| | ||||||
* | Merge pull request #827 from WebAssembly/relooper | Alon Zakai | 2016-11-07 | 9 | -3076/+3205 | |
|\ | | | | | Reloop if-loops with label targets | |||||
| * | handle a label setting inside the if-body of a label value in ↵ | Alon Zakai | 2016-11-06 | 8 | -3074/+3197 | |
| | | | | | | | | RelooperJumpThreading | |||||
| * | make ExtractFunction use an env var instead of a hardcoded string | Alon Zakai | 2016-11-06 | 1 | -2/+8 | |
|/ | ||||||
* | Merge pull request #826 from WebAssembly/opts | Alon Zakai | 2016-11-06 | 24 | -9561/+9909 | |
|\ | | | | | A few minor optimizations | |||||
| * | improve local simplication: simplify without if/block structure values ↵ | Alon Zakai | 2016-11-06 | 20 | -9321/+9465 | |
| | | | | | | | | before coalesce, so that coalesce can remove all copies, then do another pass of full simplification after it |