Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Create a dummy function to prevent NULL miscomparisons, if necessary (#658) | Dominic Chen | 2016-08-03 | 2 | -16/+49 | |
| | | | Resolves WebAssembly/spec#312 | |||||
* | support pre-assigning indexes for functions that are called indirectly (#616) | Dominic Chen | 2016-08-02 | 3 | -2/+38 | |
| | | | This patch adds support for an ".indidx" primitive that pre-assigns table indexes for functions that are called indirectly. It is used by the upstream LLVM WebAssembly backend to support fine-grained control-flow integrity for indirect function calls by emitting instrumentation at each indirect call site to check that the destination index is within certain ranges that correspond to disjoint equivalence classes of indirect call targets. The reason that this primitive is necessary is because the layout of the table section isn't determined until the WebAssembly linker is executed, but indirect function to table index mappings need to be known when opt is executed to generate the correct range checking in the LLVM IR. | |||||
* | wast function type name desugaring is changing in spec:301 (#654) | Alon Zakai | 2016-07-28 | 2 | -12/+49 | |
| | ||||||
* | Fix trailing whitespace, single-character strings, checking map element ↵ | Dominic Chen | 2016-07-22 | 5 | -64/+55 | |
| | | | | presence, and eliminate explicit index counter (#633) | |||||
* | binary support for wasm globals (#652) | Alon Zakai | 2016-07-22 | 2 | -13/+71 | |
| | ||||||
* | support wasm globals (#650) | Alon Zakai | 2016-07-21 | 9 | -9/+256 | |
| | ||||||
* | more RemoveUnusedName opts: merge names when possible, and do block/loop ↵ | Alon Zakai | 2016-07-20 | 1 | -5/+42 | |
| | | | | merging based on their names | |||||
* | remove unused labels from loops too, and general clean ups for RemoveUnusedNames | Alon Zakai | 2016-07-20 | 1 | -7/+28 | |
| | ||||||
* | avoid label variable usage in relooper for forward branches, just use a ↵ | Alon Zakai | 2016-07-20 | 2 | -54/+121 | |
| | | | | stack of blocks for them. after this change, only irreducible control flow should cause label variable usage | |||||
* | improve a validation error | Alon Zakai | 2016-07-20 | 1 | -1/+6 | |
| | ||||||
* | refactor calling of MakeMultiple in relooper | Alon Zakai | 2016-07-18 | 1 | -5/+4 | |
| | ||||||
* | remove an unneeded param in the relooper | Alon Zakai | 2016-07-18 | 1 | -4/+5 | |
| | ||||||
* | remove some old code in relooper | Alon Zakai | 2016-07-18 | 2 | -52/+5 | |
| | ||||||
* | optimize updating of interference and copy table in CoalesceLocals | Alon Zakai | 2016-07-17 | 1 | -2/+3 | |
| | ||||||
* | optimize types in CoalesceLocals | Alon Zakai | 2016-07-17 | 1 | -19/+20 | |
| | ||||||
* | try natural and reverse order in coalese-locals | Alon Zakai | 2016-07-17 | 1 | -2/+20 | |
| | ||||||
* | optimize to remove as many copies as possible in coalesce-locals | Alon Zakai | 2016-07-16 | 1 | -4/+32 | |
| | ||||||
* | make sure to create instances of function-parallel functions, even in debug mode | Alon Zakai | 2016-07-16 | 1 | -1/+8 | |
| | ||||||
* | fix dce bug in non-parallel mode, which happens in debug mode, and add debug ↵ | Alon Zakai | 2016-07-16 | 1 | -1/+6 | |
| | | | | testing | |||||
* | fix unreachable constructor without allocator (#643) | Alon Zakai | 2016-07-16 | 1 | -2/+2 | |
| | ||||||
* | eq/ne are ok to optimize even if they are nans (#640) | Alon Zakai | 2016-07-15 | 2 | -0/+32 | |
| | ||||||
* | don't simplify using de-morgan's rules on floats, because of nans (#638) | Alon Zakai | 2016-07-15 | 2 | -64/+0 | |
| | ||||||
* | emit safe calls for i32 div/rem when in precise mode in asm2wasm, as they ↵ | Alon Zakai | 2016-07-14 | 4 | -0/+45 | |
| | | | | can trap (#637) | |||||
* | Merge pull request #632 from WebAssembly/too | Alon Zakai | 2016-07-13 | 3 | -47/+107 | |
|\ | | | | | Tool renaming and refactoring | |||||
| * | validate properly in wasm-opt | Alon Zakai | 2016-07-13 | 1 | -1/+4 | |
| | | ||||||
| * | separate wasm-opt out from wasm-shell: opt optimizes, shell runs wast shell ↵ | Alon Zakai | 2016-07-13 | 3 | -46/+103 | |
| | | | | | | | | tests | |||||
| * | rename binaryen-shell to wasm-shell | Alon Zakai | 2016-07-13 | 1 | -1/+1 | |
| | | ||||||
* | | Don't emit empty array literals in trace output (#631) | Alon Zakai | 2016-07-13 | 2 | -7/+19 | |
|/ | | | | * don't emit empty array literals in trace output | |||||
* | Handle aliases without size (e.g. weak symbol), add redefinition warnings (#630) | Dominic Chen | 2016-07-13 | 2 | -12/+8 | |
| | ||||||
* | handle param overloading in asm2wasm ffis (#629) | Alon Zakai | 2016-07-12 | 1 | -6/+21 | |
| | ||||||
* | comment | Alon Zakai | 2016-07-12 | 1 | -0/+3 | |
| | ||||||
* | relooper tracing + fixes | Alon Zakai | 2016-07-12 | 1 | -49/+40 | |
| | ||||||
* | allow multiple traces | Alon Zakai | 2016-07-12 | 1 | -15/+24 | |
| | ||||||
* | add a tracing option to the c api, which logs out a runnable program from c ↵ | Alon Zakai | 2016-07-12 | 2 | -14/+439 | |
| | | | | api calls | |||||
* | fix relooper leak | Alon Zakai | 2016-07-12 | 1 | -0/+3 | |
| | ||||||
* | add support for symbol assignments, closes #4422 (#615) | Dominic Chen | 2016-07-11 | 5 | -32/+122 | |
| | | | Adds support for aliases to objects, to go along with the existing support for aliases to functions. | |||||
* | clarify the local/var/param distinction | Alon Zakai | 2016-07-07 | 2 | -4/+15 | |
| | ||||||
* | update spec tests, and handle some flux in call_indirect in upstream | Alon Zakai | 2016-07-06 | 2 | -0/+9 | |
| | ||||||
* | fix parsing of large ints | Alon Zakai | 2016-07-06 | 1 | -2/+2 | |
| | ||||||
* | print line numbers when running tests in shell | Alon Zakai | 2016-07-06 | 1 | -1/+4 | |
| | ||||||
* | validate set_local types against the function #618 (#620) | Alon Zakai | 2016-07-06 | 1 | -0/+2 | |
| | ||||||
* | quote names in s-format that need it | Alon Zakai | 2016-07-05 | 1 | -9/+27 | |
| | ||||||
* | add parse error on array misindexing | Alon Zakai | 2016-07-05 | 1 | -0/+1 | |
| | ||||||
* | Relooper switch support (#617) | Alon Zakai | 2016-07-02 | 4 | -83/+162 | |
| | | | | | | * support switches in relooper and c api * update relooper fuzzer for switches | |||||
* | parallelize asm2wasm fixups (#614) | Alon Zakai | 2016-06-30 | 1 | -4/+5 | |
| | ||||||
* | asm2wasm optimizes functions before they are all built, so we cannot rely on ↵ | Alon Zakai | 2016-06-29 | 1 | -29/+31 | |
| | | | | nodes staying the same for fixups. Do a proper fixup at the end (#612) | |||||
* | update wasm.js, and stop optimizing in asm2wasm in wasm.js | Alon Zakai | 2016-06-29 | 1 | -6/+3 | |
| | ||||||
* | improve validator errors | Alon Zakai | 2016-06-29 | 1 | -3/+9 | |
| | ||||||
* | fix wasm interpreter bug on checking indirect call params | Alon Zakai | 2016-06-29 | 1 | -2/+4 | |
| | ||||||
* | avoid exceptions in Precompute pass (#606) | Alon Zakai | 2016-06-27 | 1 | -10/+12 | |
| |