summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * debugging tweaksAlon Zakai2016-02-213-9/+4
| |
* | Merge pull request #206 from WebAssembly/align-implicitAlon Zakai2016-02-202-4/+4
|\ \ | |/ |/| Don't print the default alignment
| * do not print alignment if it is the implicit default, which is the number of ↵Alon Zakai2016-02-202-4/+4
| | | | | | | | bytes
* | print out total nodes in --metricsAlon Zakai2016-02-201-2/+4
|/
* fix unaligned wasm.js load/storeAlon Zakai2016-02-191-2/+3
|
* handle aligned and unaligned int64 store in wasm.jsAlon Zakai2016-02-191-14/+20
|
* make wasm.js tolerate wrong alignments, as per the wasm specAlon Zakai2016-02-191-4/+3
|
* support 64-bit stores in wasm.jsAlon Zakai2016-02-191-0/+5
|
* add unaligned memory accesses to wasm.jsAlon Zakai2016-02-191-3/+64
|
* ensure a stable sort in ReorderLocalsAlon Zakai2016-02-191-1/+4
|
* Remove empty function.Michael2016-02-191-4/+0
|
* Reorder locals.Michael2016-02-194-1/+58
|
* fix the topmost/switch label in LowerCaseAlon Zakai2016-02-181-1/+2
|
* fix copyright dateAlon Zakai2016-02-181-1/+1
|
* LowerCase passAlon Zakai2016-02-181-0/+102
|
* overload wasm printing in std namespaceAlon Zakai2016-02-171-0/+12
|
* remove --print-before and --print-after flags, since we now have --printAlon Zakai2016-02-171-34/+2
|
* fix dateAlon Zakai2016-02-171-1/+1
|
* add wasm-printing.hAlon Zakai2016-02-178-10/+51
|
* move printing to a passAlon Zakai2016-02-1710-530/+530
|
* memory max is optional, don't emit it when not necessaryAlon Zakai2016-02-171-1/+1
|
* send flattened output to v8 and structed to sm. send only functions to bothAlon Zakai2016-02-151-4/+6
|
* add sm code to parallel v8 code in integrateWasmJSAlon Zakai2016-02-151-5/+11
|
* Merge pull request #196 from WebAssembly/spec-startAlon Zakai2016-02-124-50/+94
|\ | | | | Fully support start in wasm modules
| * call start method in interpreterAlon Zakai2016-02-121-0/+4
| |
| * add start to binary formatAlon Zakai2016-02-121-1/+16
| |
| * validate startAlon Zakai2016-02-121-2/+13
| |
| * refactor binaryen-shell to accept a wast that begins with a module ↵Alon Zakai2016-02-121-47/+61
| | | | | | | | invalidity test
* | refactor operations into LiteralAlon Zakai2016-02-122-227/+507
|/
* Merge pull request #194 from WebAssembly/store-parsingAlon Zakai2016-02-102-3/+7
|\ | | | | Store parsing fix
| * fix s2wasm store parsingAlon Zakai2016-02-101-2/+4
| |
| * fix store printingAlon Zakai2016-02-101-1/+3
| |
* | Merge pull request #192 from WebAssembly/longjmp-throwJF Bastien2016-02-111-18/+18
|\ \ | |/ |/| longjmp -> throw
| * longjmp -> throwJF Bastien2016-02-091-18/+18
| | | | | | | | Older tsan doesn't like longjmp. Use throw.
* | Fix out-of-bounds readJF Bastien2016-02-091-1/+4
|/ | | | Found by asan
* Align the stack allocation to 16 bytes to satisfy the aligment ABIDerek Schuff2016-02-081-0/+2
|
* Update binaryen and several tests for the new br_if operand order.Dan Gohman2016-02-083-6/+10
|
* update wasm.jsAlon Zakai2016-02-081-3/+3
|
* check break types in validatorAlon Zakai2016-02-081-0/+22
|
* update spec tests and shift to putting the br_if condition at the end, as ↵Alon Zakai2016-02-083-13/+17
| | | | was just changed to in the spec
* Fix .s parser to accept new order of select operandsDerek Schuff2016-02-051-3/+3
| | | | Also update waterfall revision and LLVM-generated tests.
* fix import parsingAlon Zakai2016-02-051-1/+1
|
* Fix selectJF Bastien2016-02-056-22/+23
| | | | | | | | | The ordering changed in: https://github.com/WebAssembly/spec/pull/221 Which changed the spec tests, breaking sexpr-wasm because it pulls in the spec tests. This was then fixed: https://github.com/WebAssembly/sexpr-wasm-prototype/commit/23dc368148fc7827a603e3853f5a40287eb9effe Which in turn breaks when binaryen feeds sexpr-wasm .wast files with the old select operand ordering. Note that this PR has new failures when running the torture tests in binaryen-shell: the order of evaluation is correct in binaryen-shell but isn't emitted properly by LLVM in the .s files. This will require another patch to fix LLVM.
* Review comments.JF Bastien2016-02-051-8/+8
|
* Support startJF Bastien2016-02-056-9/+68
| | | | | | | | | | | | | | As spec'd in: https://github.com/WebAssembly/design/pull/495 And discussed in: https://github.com/WebAssembly/spec/issues/231 This will make it simpler and more uniform to add a start entry point. s2wasm is the right place to add start because it'll eventually need to do other basic setup, e.g. put code in start to setup the stack, as dschuff is doing in: https://github.com/WebAssembly/binaryen/pull/179 Or rather, the linker is the right place and s2wasm happens to act as our linker right now.
* Merge pull request #174 from mbebenita/fix-importAlon Zakai2016-02-041-9/+16
|\ | | | | Fix import parsing.
| * Formatting.Michael2016-02-041-3/+1
| |
| * Remove assert.Michael2016-02-031-1/+3
| |
| * Fix import parsing.Michael2016-02-031-8/+15
| |
* | commentAlon Zakai2016-02-041-0/+3
| |