Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a pass to order functions by their use frequency. (#452) | Michael Bebenita | 2016-05-11 | 2 | -0/+21 |
| | |||||
* | update spec tests | Alon Zakai | 2016-05-09 | 1 | -0/+0 |
| | |||||
* | Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵ | Alon Zakai | 2016-05-08 | 2 | -0/+19 |
| | | | | bits were trampled before we read them (#460) | ||||
* | fix relooper fuzz testcase to be valid old-style c (#459) | Alon Zakai | 2016-05-07 | 1 | -6/+9 |
| | |||||
* | add a fuzzer for the relooper through the C API | Alon Zakai | 2016-05-06 | 2 | -0/+522 |
| | |||||
* | add a return type parameter to call and call_import in the C API. we need it ↵ | Alon Zakai | 2016-05-06 | 2 | -23/+35 |
| | | | | since we don't know the type while building functions | ||||
* | Fix BreakSeeker for switch default targets. (#447) | Michael Bebenita | 2016-05-06 | 2 | -0/+30 |
| | |||||
* | add reading and writing binaries to C API (#443) | Alon Zakai | 2016-05-05 | 2 | -0/+41 |
| | |||||
* | Merge pull request #439 from WebAssembly/c-api-more | Alon Zakai | 2016-05-05 | 2 | -335/+354 |
|\ | | | | | Validation in C API | ||||
| * | add validation to the C api, and fix things that uncovered in the C API tests | Alon Zakai | 2016-05-05 | 2 | -335/+354 |
| | | |||||
* | | Merge pull request #436 from WebAssembly/fix-switch | Alon Zakai | 2016-05-05 | 2 | -0/+38 |
|\ \ | | | | | | | Fix switches in simplify-locals | ||||
| * | | clear sinkables on unoptimizable blocks, as they have a control flow merge | Alon Zakai | 2016-05-05 | 2 | -0/+38 |
| |/ | |||||
* / | [Linker] Make repeated passes over archive members (#440) | Derek Schuff | 2016-05-05 | 4 | -7/+27 |
|/ | | | | | | | | | An archive member can depend on any other archive member, so adding a member to the link can introduce new undefined references that must be satisfied. The linker must continue to iterate over the members until nothing new is added to the link. | ||||
* | improve test | Alon Zakai | 2016-05-05 | 2 | -3/+3 |
| | |||||
* | add optimization to c api, and so that we can find all passes in the c api ↵ | Alon Zakai | 2016-05-05 | 2 | -0/+151 |
| | | | | library, make it dynamic | ||||
* | add a relooper test | Alon Zakai | 2016-05-05 | 2 | -0/+98 |
| | |||||
* | Import emscripten's relooper, port it to the binaryen AST, and provide a C ↵ | Alon Zakai | 2016-05-05 | 2 | -2/+310 |
| | | | | | API (#434) also ignore libstdc++ bug in ubsan | ||||
* | [Linker] Handle archive files | Derek Schuff | 2016-05-05 | 11 | -0/+190 |
| | | | | | | | | Add a class to parse archive files. Support linking archive files, with archive semantics (i.e. an archive member is linked in if it satisfies an undefined reference). Archive files must be gnu-format archives containing .s files. Add tests for linking semantics. | ||||
* | Harmonize the internal opcodes with the binary format (#433) | Alon Zakai | 2016-05-03 | 2 | -32/+72 |
| | | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API | ||||
* | kitchen sink test for c api | Alon Zakai | 2016-05-03 | 2 | -0/+531 |
| | |||||
* | C API plus test | Alon Zakai | 2016-05-02 | 2 | -0/+39 |
| | |||||
* | validate in binaryen shell and on wasm binaries, and fix type checking | Alon Zakai | 2016-04-29 | 6 | -8/+10 |
| | |||||
* | fix size detection on reinterpret operations in binary format | Alon Zakai | 2016-04-28 | 1 | -2/+2 |
| | |||||
* | fix asm2wasm f64->f32->i32 bitcast (#412) | Alon Zakai | 2016-04-28 | 3 | -0/+14 |
| | |||||
* | use ONLY hack only for _only files in test/wasm_backend | Alon Zakai | 2016-04-27 | 10 | -0/+0 |
| | |||||
* | Add a testcase. | Dan Gohman | 2016-04-27 | 2 | -0/+17 |
| | |||||
* | Update waterfall and LLVM torture tests build to 5780 (#398) | Derek Schuff | 2016-04-26 | 302 | -6230/+6274 |
| | | | This brings in the fix from LLVM r267511 | ||||
* | Defer creation of CallImports to link time (#395) | Derek Schuff | 2016-04-26 | 7 | -26/+26 |
| | | | s2wasm currently creates a Call AST node if the target is implemented in the current object (thus far assumed to be the final executable) and a CallImport node if not. In preparation for adding additional objects to the link before layout time, we make only Call nodes until link time, and then convert them to CallImport if they are undefined at that time. | ||||
* | selectify if-elses with no control flow in them | Alon Zakai | 2016-04-25 | 8 | -4154/+3872 |
| | |||||
* | optimize returns that flow out | Alon Zakai | 2016-04-25 | 16 | -3012/+2572 |
| | |||||
* | optimize breaks with values in RemoveUnusedBrs, check if their value can ↵ | Alon Zakai | 2016-04-25 | 1 | -33/+5 |
| | | | | flow to the target anyhow | ||||
* | Use Module instead of AllocatingModule in binaryen.js tests (#391) | Jan Wolski | 2016-04-25 | 1 | -1/+1 |
| | | | | | | * Use Module instead of AllocatingModule in binaryen.js tests * include compiled binaryen.js, too | ||||
* | optimize block and if returns, by merging set_locals that flow out of them | Alon Zakai | 2016-04-24 | 8 | -19203/+18369 |
| | |||||
* | run multiple cycles of RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 3 | -6/+4 |
| | |||||
* | run optimize-instructions a second time at the end | Alon Zakai | 2016-04-24 | 2 | -1100/+820 |
| | |||||
* | get rid of nops in ifs | Alon Zakai | 2016-04-24 | 2 | -0/+26 |
| | |||||
* | handle general control flow in RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 10 | -3197/+2995 |
| | |||||
* | vacuum dead code after br_table | Alon Zakai | 2016-04-24 | 2 | -0/+11 |
| | |||||
* | vacuum dead code after unconditional brs | Alon Zakai | 2016-04-24 | 6 | -48/+17 |
| | |||||
* | Simplify statics, segments, and relocations (#380) | Derek Schuff | 2016-04-22 | 1 | -1/+1 |
| | | | | Also defer address assignment until layout time in preparation for separating linker objects out from Linker | ||||
* | ifs in the binary format always have a break scope | Alon Zakai | 2016-04-21 | 1 | -12/+24 |
| | |||||
* | optimize --vacuum a little | Alon Zakai | 2016-04-20 | 2 | -0/+2 |
| | |||||
* | run merge-blocks later, so it can optiize simplify-locals output | Alon Zakai | 2016-04-20 | 2 | -20/+16 |
| | |||||
* | Merge pull request #371 from yurydelendik/initarray-mutilple | Yury Delendik | 2016-04-20 | 2 | -3/+14 |
|\ | | | | | Parses more than one entry in the .init_array section. | ||||
| * | Parses more than one entry in the .init_array section. | Yury Delendik | 2016-04-20 | 2 | -3/+14 |
| | | |||||
* | | update emscripten | Alon Zakai | 2016-04-20 | 1 | -0/+0 |
| | | |||||
* | | update tests | Alon Zakai | 2016-04-20 | 2 | -74/+2144 |
|/ | |||||
* | update tests | Alon Zakai | 2016-04-18 | 3 | -2/+2 |
| | |||||
* | handle dead stores in SimplifyLocals | Alon Zakai | 2016-04-18 | 4 | -35/+13 |
| | |||||
* | create a UnifiedExpressionVisitor for passes that want a single visitor ↵ | Alon Zakai | 2016-04-18 | 1 | -1/+1 |
| | | | | function, to avoid confusion with having both visit* and visitExpression in a single pass (#357) |