Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | Avoid the use of CRT pow(2, n) function to generate integer bit patterns, ↵ | Jukka Jylänki | 2016-03-28 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | since pow() returns a double. Cleans VS build warnings C4244: '=': conversion from 'double' to 'size_t', possible loss of data. | |||||
| | * | | Clean Visual Studio build warning C4800: 'int64_t': forcing value to bool ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | 'true' or 'false' (performance warning). | |||||
| | * | | Fix function trapIfGt() to operate on 64-bit integers even when building a ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | 32-bit executable. | |||||
| | * | | Hide Visual Studio build warning on casting 64-bit int to 32-bit when we ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | know it is safe to do so. | |||||
* | | | | use strncpy #283 | Alon Zakai | 2016-03-28 | 2 | -6/+7 | |
|/ / / | ||||||
* | | | Tighten safe integer | JF Bastien | 2016-03-28 | 1 | -16/+18 | |
| | | | | | | | | | | | | #282 removed the assert, but the code didn't handle negative -> unsigned conversion properly, and doesn't behave well with -0.0. I'm not super comfortable with 64-bit int min / max to double conversions either, but that'll be for another patch. | |||||
* | | | remove bogus asserts from safe_integer casts | Alon Zakai | 2016-03-28 | 1 | -4/+0 | |
|/ / | ||||||
* | | update spec tests, and new memory page size usage | Alon Zakai | 2016-03-25 | 1 | -13/+12 | |
| | | ||||||
* | | if Module.asm is already set, use that | Alon Zakai | 2016-03-24 | 1 | -1/+4 | |
| | | ||||||
* | | note when we are using wasm | Alon Zakai | 2016-03-23 | 1 | -0/+2 | |
| | | ||||||
* | | add function stack printing in interpreter | Alon Zakai | 2016-03-23 | 2 | -0/+28 | |
| | | ||||||
* | | quote strings for closure compiler | Alon Zakai | 2016-03-23 | 1 | -4/+4 | |
| | | ||||||
* | | Add rotate support to s2wasm | Derek Schuff | 2016-03-23 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #251 from mbebenita/opt-wasm-as | Alon Zakai | 2016-03-22 | 1 | -11/+22 | |
|\ \ | | | | | | | Optimize function => index mapping. | |||||
| * | | Flip condition. | Michael Bebenita | 2016-03-22 | 1 | -8/+2 | |
| | | | ||||||
| * | | Optimize function => index mapping. | Michael Bebenita | 2016-03-16 | 1 | -9/+26 | |
| | | | ||||||
* | | | fix memory growth #270 | Alon Zakai | 2016-03-22 | 1 | -10/+9 | |
| | | | ||||||
* | | | Merge pull request #272 from WebAssembly/asm2wasm-fix | Alon Zakai | 2016-03-22 | 2 | -3/+11 | |
|\ \ \ | | | | | | | | | asm2wasm fix | |||||
| * | | | only reuse nameless blocks in blockify in asm2wasm - if they are named, they ↵ | Alon Zakai | 2016-03-22 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | can be broken out of, which is bad for our loop constructs | |||||
| * | | | add an option to not optimize in asm2wasm | Alon Zakai | 2016-03-22 | 1 | -2/+9 | |
| | | | | ||||||
* | | | | Remove useless forward | Derek Schuff | 2016-03-22 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #269 from WebAssembly/update-wasm-js | Alon Zakai | 2016-03-21 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | update wasm.js | |||||
| * | | | update wasm.js | Alon Zakai | 2016-03-21 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | make --debug work | Alon Zakai | 2016-03-21 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Support --initial-size and --max-size to specify linear memory size | Derek Schuff | 2016-03-21 | 2 | -9/+75 | |
| | | | | | | | | | | | | If not given, fall back to size calculated by the link step. | |||||
* | | | Make type of EqZ unary operators always i32 | Derek Schuff | 2016-03-21 | 4 | -4/+12 | |
| | | | | | | | | | | | | | | | This makes them symmetric to binary relational operators. Also support eqz in the s2wasm parser. | |||||
* | | | use eqz in asm2wasm | Alon Zakai | 2016-03-21 | 1 | -7/+4 | |
| | | | ||||||
* | | | special case the asm.js memory growth function | Alon Zakai | 2016-03-21 | 1 | -3/+9 | |
| | | | ||||||
* | | | add option for imprecise asm2wasm opts | Alon Zakai | 2016-03-20 | 2 | -33/+42 | |
| | | | ||||||
* | | | fix float to int trap text | Alon Zakai | 2016-03-20 | 1 | -2/+2 | |
| | | | ||||||
* | | | update spec tests and support eqz | Alon Zakai | 2016-03-19 | 5 | -2/+13 | |
| | | | ||||||
* | | | proper signed LEB | Alon Zakai | 2016-03-18 | 1 | -12/+63 | |
| | | | ||||||
* | | | Merge pull request #257 from WebAssembly/better-method-names | Alon Zakai | 2016-03-18 | 2 | -110/+110 | |
|\ \ \ | | | | | | | | | Better method names | |||||
| * | | | improve method names | Alon Zakai | 2016-03-18 | 1 | -15/+15 | |
| | | | | ||||||
| * | | | fix names of LEBs | Alon Zakai | 2016-03-16 | 1 | -95/+95 | |
| | | | | ||||||
* | | | | Check for debug | JF Bastien | 2016-03-18 | 1 | -3/+5 | |
| | | | | ||||||
* | | | | Make --debug a boolean | JF Bastien | 2016-03-18 | 3 | -17/+11 | |
|/ / / | | | | | | | | | | As discussed in #248. | |||||
* | | | update memory access in binary format | Alon Zakai | 2016-03-16 | 1 | -10/+4 | |
| | | | ||||||
* | | | add Log2 and Pow2 support methods | Alon Zakai | 2016-03-16 | 3 | -0/+28 | |
| | | | ||||||
* | | | update const to binary spec | Alon Zakai | 2016-03-16 | 1 | -11/+18 | |
| | | | ||||||
* | | | add a 64-bit LEB | Alon Zakai | 2016-03-16 | 1 | -8/+12 | |
| | | | ||||||
* | | | update switch encoding | Alon Zakai | 2016-03-16 | 1 | -13/+13 | |
| | | | ||||||
* | | | use leb128 in breaks | Alon Zakai | 2016-03-16 | 1 | -2/+2 | |
| | | | ||||||
* | | | write function locals per the spec | Alon Zakai | 2016-03-16 | 1 | -24/+18 | |
| | | | ||||||
* | | | use function body sizes like in the spec | Alon Zakai | 2016-03-16 | 1 | -6/+5 | |
| | | | ||||||
* | | | use names section for function names | Alon Zakai | 2016-03-16 | 1 | -8/+27 | |
| | | | ||||||
* | | | stop assuming we know function names as we decode the binary | Alon Zakai | 2016-03-16 | 1 | -50/+71 | |
| | | | ||||||
* | | | backpatching LEB128 always fills all 5 bytes | Alon Zakai | 2016-03-16 | 1 | -4/+4 | |
| | | | ||||||
* | | | refactor an LEB128 placeholder method | Alon Zakai | 2016-03-16 | 1 | -2/+7 | |
| | | | ||||||
* | | | todo | Alon Zakai | 2016-03-16 | 1 | -1/+1 | |
| | | |