summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* s2wasm: load/store swap offset/align paramsJF Bastien2016-01-061-6/+6
| | | | | | | | | These should probably be commutable so humans don't have to remember which order to read/write things in, but there's pushback and this really doesn't matter so fix it here, bikeshed on github. This will require an associated fix in sexpr-wasm's GCC torture test failure list. Ref: https://github.com/WebAssembly/sexpr-wasm-prototype/issues/17 Ref: https://github.com/WebAssembly/spec/pull/205
* fix return handling in s-parserAlon Zakai2016-01-051-8/+17
|
* fix parsing error in s-parser with functions with just a block and then more ↵Alon Zakai2016-01-051-6/+6
| | | | content
* MergeBlocks #32Alon Zakai2016-01-052-0/+57
|
* RemoveUnusedBrs #32Alon Zakai2016-01-052-0/+42
|
* do not print a toplevel block in functions if we don't need one #32Alon Zakai2016-01-051-1/+10
|
* fix RemoveUnusedNamesAlon Zakai2016-01-051-13/+11
|
* Merge pull request #64 from WebAssembly/color-disableAlon Zakai2016-01-043-4/+11
|\ | | | | Disable colors when outputting to a file
| * Disable colors when outputting to a fileJF Bastien2016-01-043-4/+11
| | | | | | | | This will allow other tools to consume the output.
* | Merge pull request #63 from WebAssembly/support-fileAlon Zakai2016-01-043-38/+106
|\ \ | | | | | | Move file input / output to support.
| * | Move file input / output to support.JF Bastien2016-01-043-38/+106
| |/
* | run RemoveUnusedNames in asm2wasmAlon Zakai2016-01-042-1/+10
| |
* | add RemoveUnusedNames passAlon Zakai2016-01-041-0/+50
|/
* parse for loops in asm2wasm #60Alon Zakai2016-01-044-1/+82
|
* Fix off-by-one in option parsing with '='.JF Bastien2016-01-041-1/+1
|
* Add curlies.JF Bastien2016-01-042-3/+6
|
* Generalize command-line parsing more.JF Bastien2016-01-023-65/+180
| | | | This should allow other programs to use the same command-line support.
* TypoJF Bastien2015-12-301-1/+1
|
* Merge pull request #55 from WebAssembly/support-command-lineAlon Zakai2015-12-303-29/+54
|\ | | | | Start moving command-line processing to libsupport.a
| * Add a help to avoid out-of-bounds.JF Bastien2015-12-291-1/+4
| |
| * Fix include guards.JF Bastien2015-12-291-3/+3
| |
| * Start moving command-line processing to libsupport.aJF Bastien2015-12-293-28/+50
| | | | | | | | This only moves things, no functional change yet.
* | BufferWithRandomAccessAlon Zakai2015-12-291-2/+60
| |
* | binary in binary formatAlon Zakai2015-12-291-0/+46
| |
* | unary in binary formatAlon Zakai2015-12-291-0/+29
| |
* | more binary stuff, all but unary+binaryAlon Zakai2015-12-291-16/+21
| |
* | const in binary, and avoid char()Alon Zakai2015-12-291-36/+60
| |
* | loads and stores in binaryAlon Zakai2015-12-291-3/+108
| |
* | start to emit AST nodes in binary formatAlon Zakai2015-12-291-8/+220
| |
* | more binary workAlon Zakai2015-12-291-0/+22
| |
* | start work on binary format, per v8 specAlon Zakai2015-12-291-0/+200
| |
* | remove another obsolete commentAlon Zakai2015-12-291-1/+0
| |
* | remove obsolete commentAlon Zakai2015-12-291-1/+1
| |
* | add some s-parser debuggingAlon Zakai2015-12-292-3/+4
| |
* | Fix include guardsJF Bastien2015-12-291-3/+3
|/
* merge addressings and relocations, improve getConst, and use that to easily ↵Alon Zakai2015-12-271-41/+12
| | | | implement negative offsets
* implement a temporary hack for __stack_pointerAlon Zakai2015-12-261-5/+10
|
* start to implement lcommAlon Zakai2015-12-251-8/+17
|
* ignore lcomm for nowAlon Zakai2015-12-251-3/+4
|
* fix function indexing in s2wasmAlon Zakai2015-12-251-2/+2
|
* no need to reverse call operands anymoreAlon Zakai2015-12-251-1/+0
|
* handle global addressings starting with '_'Alon Zakai2015-12-251-1/+5
|
* emit memory size in s2wasmAlon Zakai2015-12-251-0/+1
|
* handle function indexes in relocationsAlon Zakai2015-12-251-5/+20
|
* fix const literals in s2wasm on 64-bitAlon Zakai2015-12-251-2/+6
|
* ignore function alignment, and parse globl in main process loopAlon Zakai2015-12-241-1/+2
|
* fix relocations into a segment with multiple partsAlon Zakai2015-12-241-3/+16
|
* Merge pull request #47 from WebAssembly/supportAlon Zakai2015-12-244-49/+73
|\ | | | | Add a support static library
| * Add a support static libraryJF Bastien2015-12-244-49/+73
| | | | | | | | For now I've only moved the color check (and made it check the environment only once, note function local static initialization is thread-safe in C++11). This will make the builds slightly faster and allow us to move platform-specific code out of header files (reducing the amount of #include gunk). I'll eventually move other parts of the code to support, especially the command-line parsing (once it's reusable).
* | Simplify the bit functions... a bit!JF Bastien2015-12-242-21/+30
|/