summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * convert Abs to use int bitsAlon Zakai2016-02-022-2/+15
| |
| * save int bits in Literals, only bitcast to float/double on explicit requestAlon Zakai2016-02-026-69/+73
| |
* | Merge pull request #170 from WebAssembly/bits-supportJF Bastien2016-02-034-132/+169
|\ \ | | | | | | Move bits.h to support/
| * | Move bits.h to support/JF Bastien2016-02-034-132/+169
| |/ | | | | | | Faster compiles.
* | Merge pull request #167 from WebAssembly/unalignedJF Bastien2016-02-031-27/+76
|\ \ | |/ |/| Shell: don't use unaligned memory
| * Shell: don't use unaligned memoryJF Bastien2016-02-031-27/+76
| |
* | don't accept -+ #163Alon Zakai2016-02-021-1/+5
|/
* Make Literal's ctors explicitJF Bastien2016-02-024-18/+18
| | | | This tends to avoid silly mistakes, which I'm worried about after adding an explicit ctor with the enum WasmType parameter. See 'C++ Coding Standards: 101 Rules, Guidelines, and Best Practices' rule #40 'avoid providing implicit conversion'.
* Shell: fix --entry parameter numbersJF Bastien2016-02-023-9/+30
| | | | When running the shell with --entry it was assumed that the signature had zero parameters. This isn't true for main, so look at the function's parameter list and construct a zero-initialized arguments vector of the right types. This fixes a few failures, some of which were hiding other failures.
* use Return in s2wasmAlon Zakai2016-02-011-10/+1
|
* use Return in asm2wasmAlon Zakai2016-02-011-14/+1
|
* add return nodeAlon Zakai2016-02-014-22/+56
|
* relax wasm.js assertions on alignment, and update wasm.js buildAlon Zakai2016-02-011-2/+2
|
* use getReachableWasmType in if_else and selectAlon Zakai2016-02-013-4/+9
|
* add an unreachable type, so we can properly type check binaries with an ↵Alon Zakai2016-02-011-4/+14
| | | | unreachable side (which we then ignore) #160
* set type for loop #161Alon Zakai2016-02-013-0/+6
|
* fix call_indirect s2wasm parsing order #162Alon Zakai2016-02-011-9/+5
|
* clean up refactored call processing codeAlon Zakai2016-02-011-15/+12
|
* refactor call processing code in s2wasm to not share as much between ↵Alon Zakai2016-02-011-31/+43
| | | | call_indirect and the others, as we need to rewrite the call_indirect code
* optimize store offsets from emscripten outputAlon Zakai2016-01-311-2/+12
|
* optimize load offsets from emscripten outputAlon Zakai2016-01-312-0/+71
|
* fix block type in LowerIfElseAlon Zakai2016-01-311-0/+1
|
* refactor some binary writing codeAlon Zakai2016-01-301-14/+14
|
* Do relocation properly when ignoring unknown symbolsJF Bastien2016-01-301-2/+4
| | | | My previous patch didn't perform the relocation, so it stuck around. Make it a nullptr instead.
* fix switch in binary formatAlon Zakai2016-01-291-29/+24
|
* refactor binary format break codeAlon Zakai2016-01-291-10/+19
|
* don't let ceil in binary memory size computation let us get to UINT_MAX ↵Alon Zakai2016-01-291-2/+2
| | | | which can overflow
* allow memory size 0 in binary formatAlon Zakai2016-01-291-5/+16
|
* fix I8Const usageAlon Zakai2016-01-291-3/+3
|
* if functions are already type-named, do not change their typesAlon Zakai2016-01-291-1/+3
|
* print named types of functionsAlon Zakai2016-01-291-0/+3
|
* fix function type parsing in s-parserAlon Zakai2016-01-291-3/+3
|
* fix float payloads based on #152Alon Zakai2016-01-291-2/+2
|
* support exports by a different name in binary formatAlon Zakai2016-01-291-7/+14
|
* clarify Export fieldsAlon Zakai2016-01-291-2/+2
|
* fix printing of i64 loads of 4 bytesAlon Zakai2016-01-291-1/+3
|
* fix ConvertSInt64 in binary formatAlon Zakai2016-01-291-1/+1
|
* fix more conversion opcodesAlon Zakai2016-01-291-4/+4
|
* fix conversion opcodes in binary formatAlon Zakai2016-01-291-4/+4
|
* add import module.base to binary formatAlon Zakai2016-01-281-2/+6
|
* join adjacent identical ifsAlon Zakai2016-01-281-2/+0
|
* current binary format has power of 2 memory, so use ceil to ensure that the ↵Alon Zakai2016-01-281-2/+2
| | | | conversion only increases memory, and does not make it too small for the segments
* fix memory segment reading in binary formatAlon Zakai2016-01-281-4/+5
|
* Use bit_cast in parseConst, avoid UBJF Bastien2016-01-281-24/+19
|
* Factor out bit_cast.JF Bastien2016-01-282-14/+43
|
* Don't emit NaN payload when zero.JF Bastien2016-01-281-7/+11
|
* Output NaN payloads onlyJF Bastien2016-01-281-6/+12
| | | | As discussed with @binji and @sunfish in https://github.com/WebAssembly/sexpr-wasm-prototype/issues/28
* Write each memory segment on its own lineJF Bastien2016-01-271-2/+2
| | | | 30k+ column files are silly.
* Add s2wasm option to ignore unknown symbolsJF Bastien2016-01-272-8/+22
| | | | This is useful for bringup.
* s2wasm: support aliased functionsJF Bastien2016-01-271-7/+30
|