summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix imports when arriving from wasm backend, which does not prefixAlon Zakai2016-03-092-1/+18
|
* use .exportsAlon Zakai2016-03-091-2/+2
|
* Move rol/ror to src/support/bits.hDerek Schuff2016-03-092-17/+19
|
* Implement rotatesDerek Schuff2016-03-095-2/+47
|
* Make initial and max memory sizes be in pages instead of bytesDerek Schuff2016-03-097-30/+43
| | | | | | | The AST and everything that uses it treats the values as pages. Javascript continues to use bytes. This matches v8 and sexpr-wasm, and the consensus from live discussion and PR209 in the spec.
* Merge pull request #234 from WebAssembly/integrate-wasm-fixesAlon Zakai2016-03-081-5/+9
|\ | | | | Move to a cleaner way of emcc.py integrating with wasm.js-post.js
| * move to a cleaner way of emcc.py integrating with wasm.js-post.jsAlon Zakai2016-03-081-5/+9
| |
* | Update s2wasm for tableswitch->br_table changeDerek Schuff2016-03-081-9/+10
|/
* be more precise in br_table parsingAlon Zakai2016-03-071-1/+1
|
* remove old and invalid optimization pass in asm2wasmAlon Zakai2016-03-071-33/+0
|
* br_table, no more casesAlon Zakai2016-03-0712-291/+113
|
* parse empty blocks properlyAlon Zakai2016-03-071-2/+3
|
* parse then and elseAlon Zakai2016-03-071-0/+19
|
* refactoring in preparation for then-else parsingAlon Zakai2016-03-072-23/+31
|
* update if parsing to new spec rulesAlon Zakai2016-03-074-16/+84
|
* add a finalize() method for blocksAlon Zakai2016-03-078-11/+27
|
* allow setting total memory in asm2wasmAlon Zakai2016-03-071-2/+9
|
* assume wasm binaries were preloaded on the web, where we lack sync binary readsAlon Zakai2016-03-061-1/+8
|
* handle continues in one-time loopsAlon Zakai2016-03-051-18/+30
|
* cast f32 to f64 before calling f64-to-int in asm2wasmAlon Zakai2016-03-051-1/+9
|
* warn when we should grow wasm memory in mergeMemoryAlon Zakai2016-03-051-1/+3
|
* harmonize ffi calls in asm2wasm, adding arguments as needed. this helps with ↵Alon Zakai2016-03-051-3/+20
| | | | asm ffis which tolerate overloading, unlike wasm
* fix global.Math importsAlon Zakai2016-03-051-1/+1
|
* place NaN and Infinity on globalAlon Zakai2016-03-041-1/+5
|
* send a typed array to instantiateMemoryAlon Zakai2016-03-041-1/+1
|
* move WasmTypes in integrateWasmJS to the right placeAlon Zakai2016-03-041-8/+8
|
* pass buffer to instantiateModuleAlon Zakai2016-03-041-1/+1
|
* WASM => WasmAlon Zakai2016-03-041-8/+2
|
* use lookupImport directlyAlon Zakai2016-03-041-1/+1
|
* move to more unification of import handling in interpreter and native pathsAlon Zakai2016-03-041-38/+28
|
* support memory segments in wasm modules, which we get if the wasm backend ↵Alon Zakai2016-03-041-2/+4
| | | | was used
* fix providedTotalMemory setting, must be before it is usedAlon Zakai2016-03-041-2/+2
|
* remove optimization for interpreter memory generation, make it always return ↵Alon Zakai2016-03-041-12/+9
| | | | a memory like in the native code path
* fix mergeMemoryAlon Zakai2016-03-041-4/+6
|
* update select changes in specAlon Zakai2016-03-022-5/+5
|
* fix assertion in interpreter that was too strong - we can have blocks with ↵Alon Zakai2016-03-021-3/+7
| | | | no return type, but that still end up returning a type due to a branch
* Merge pull request #215 from WebAssembly/postorderAlon Zakai2016-03-011-67/+92
|\ | | | | Postorder
| * switch to postorderAlon Zakai2016-02-261-67/+92
| |
* | Merge pull request #204 from mbebenita/print-compactAlon Zakai2016-02-294-74/+103
|\ \ | |/ |/| Compact printing.
| * Remove MinifiedPrinter from the header file.Michael2016-02-232-9/+9
| |
| * Whitespace removal.Michael2016-02-224-74/+103
| |
* | support function indexes in tablesAlon Zakai2016-02-251-1/+8
| |
* | Merge pull request #212 from WebAssembly/grow-memory-returnsAlon Zakai2016-02-232-2/+3
|\ \ | | | | | | Grow memory returns a value now
| * | grow memory returns a value now, and we can update the spec tests after ↵Alon Zakai2016-02-232-2/+3
| | | | | | | | | | | | doing that
* | | Merge pull request #210 from mbebenita/fix-parsingAlon Zakai2016-02-231-1/+1
|\ \ \ | |/ / |/| / | |/ Bug fix and adds printing / parsing tests.
| * Bug fix and adds printing / parsing tests.Michael2016-02-221-1/+1
| |
* | Fix switch offsets.Michael2016-02-231-11/+16
|/
* document that env.exit support is a hack for torture testsAlon Zakai2016-02-221-0/+1
|
* Merge pull request #209 from WebAssembly/asm-fixesAlon Zakai2016-02-215-11/+12
|\ | | | | Asm fixes
| * support asm.js ceilAlon Zakai2016-02-212-2/+8
| |