summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fix reallocBuffer to send growWasmMemory a size in pagesAlon Zakai2016-04-011-1/+4
|
* handle minified tempDoublePtrAlon Zakai2016-04-011-2/+2
|
* optimize bitcast patterns in asm2wasmAlon Zakai2016-04-011-0/+60
|
* refactor file flags into enumsAlon Zakai2016-03-318-23/+35
|
* set the binary bit on files we need to open in binary modeAlon Zakai2016-03-318-22/+27
|
* Merge pull request #301 from pjuftring/file-size_checkAlon Zakai2016-03-311-1/+1
|\ | | | | Repair broken file-size check
| * Repair broken file-size checkpjuftring2016-03-311-1/+1
| |
* | Fix the build with GCC 5.3.1 and Clang 3.8.0.Csaba Osztrogonác2016-03-313-14/+14
|/ | | | Fixes #299
* fix wasm.js loads of aligned i64sAlon Zakai2016-03-301-0/+4
|
* fix wasm.js loads of i64 that read <8 bytesAlon Zakai2016-03-301-8/+9
|
* Merge pull request #295 from tzik/grow_memory_fixAlon Zakai2016-03-301-2/+2
|\ | | | | Fix grow_memory translation on s2wasm
| * Fix grow_memory translation on s2wasmtzik2016-03-301-2/+2
| | | | | | | | | | s2wasm used to mistranslate grow_memory operation in .s into memory_size in .wast, and this CL fixes it.
* | add explicit function types for indirect call targtets in s2wasmAlon Zakai2016-03-291-0/+6
| |
* | use ensureFunctionType in s2wasm, to ensure consistent function type namesAlon Zakai2016-03-291-10/+1
| |
* | Merge pull request #291 from WebAssembly/updatesAlon Zakai2016-03-291-2/+2
|\ \ | | | | | | Updates
| * | avoid alignof for the sake of vsAlon Zakai2016-03-291-2/+2
| | |
* | | Use local enum.JF Bastien2016-03-291-1/+1
| | |
* | | Use static const, and init in-lineJF Bastien2016-03-291-3/+2
|/ /
* | avoid constexpr since visual studio doesn't like itAlon Zakai2016-03-291-1/+1
| |
* | Merge pull request #287 from WebAssembly/vs2015_fixesAlon Zakai2016-03-287-24/+32
|\ \ | | | | | | VS2015 fixes
| * | streampos may be signed on some platformsAlon Zakai2016-03-281-2/+2
| | |
| * | Merge branch 'vs2015_fixes' of https://github.com/juj/binaryen into vs2015_fixesAlon Zakai2016-03-287-24/+32
| |\ \ | | | | | | | | | | | | | | | | Conflicts: src/support/safe_integer.cpp
| | * | Add missing <cctype> include.Jukka Jylänki2016-03-281-0/+1
| | | | | | | | | | | | | | | | | | | | # Conflicts: # src/wasm-s-parser.h
| | * | Use std::numeric_limits<uint32_t>::max() instead of 0xFFFFFFFF.Jukka Jylänki2016-03-282-3/+5
| | | |
| | * | Clean up unused variables warnings:Jukka Jylänki2016-03-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | src\binaryen-shell.cpp(262): warning C4101: 'x': unreferenced local variable src\binaryen-shell.cpp(290): warning C4101: 'e': unreferenced local variable src\binaryen-shell.cpp(310): warning C4101: 'e': unreferenced local variable
| | * | Cleanup redundant '> 0' check in src\binaryen-shell.cpp(251): warning C4804: ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | '>': unsafe use of type 'bool' in operation
| | * | Clean up truncating cast warnings:Jukka Jylänki2016-03-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | src\binaryen-shell.cpp(181): warning C4244: 'argument': conversion from 'int64_t' to 'int8_t', possible loss of data src\binaryen-shell.cpp(182): warning C4244: 'argument': conversion from 'int64_t' to 'int16_t', possible loss of data src\binaryen-shell.cpp(183): warning C4244: 'argument': conversion from 'int64_t' to 'int32_t', possible loss of data
| | * | Clean up src\wasm-interpreter.h(644): warning C4244: 'initializing': ↵Jukka Jylänki2016-03-281-2/+2
| | | | | | | | | | | | | | | | conversion from 'double' to 'int64_t', possible loss of data.
| | * | Clean up src\wasm-interpreter.h(307): warning C4244: 'argument': conversion ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | from 'int64_t' to 'unsigned int', possible loss of data
| | * | Clean up src\wasm-interpreter.h(286): warning C4800: 'int64_t': forcing ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | value to bool 'true' or 'false' (performance warning)
| | * | Also clean up Visual Studio build warning in wasm::toSInteger32 for ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | double->int32_t cast.
| | * | Clean up build warning C4244: 'return': conversion from 'double' to ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | 'uint32_t', possible loss of data in src\support\safe_integer.cpp(40).
| | * | Fix wasm::read_file() to abort if input file is too big to read in when ↵Jukka Jylänki2016-03-281-2/+7
| | | | | | | | | | | | | | | | building a 32-bit executable and size_t is not 64-bit.
| | * | Clean unsigned long long -> size_t assignment build warnings on Visual ↵Jukka Jylänki2016-03-281-4/+4
| | | | | | | | | | | | | | | | Studio 2015.
| | * | Avoid the use of CRT pow(2, n) function to generate integer bit patterns, ↵Jukka Jylänki2016-03-281-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änki2016-03-281-1/+1
| | | | | | | | | | | | | | | | 'true' or 'false' (performance warning).
| | * | Fix function trapIfGt() to operate on 64-bit integers even when building a ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | 32-bit executable.
| | * | Hide Visual Studio build warning on casting 64-bit int to 32-bit when we ↵Jukka Jylänki2016-03-281-1/+1
| | | | | | | | | | | | | | | | know it is safe to do so.
* | | | use strncpy #283Alon Zakai2016-03-282-6/+7
|/ / /
* | | Tighten safe integerJF Bastien2016-03-281-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 castsAlon Zakai2016-03-281-4/+0
|/ /
* | update spec tests, and new memory page size usageAlon Zakai2016-03-251-13/+12
| |
* | if Module.asm is already set, use thatAlon Zakai2016-03-241-1/+4
| |
* | note when we are using wasmAlon Zakai2016-03-231-0/+2
| |
* | add function stack printing in interpreterAlon Zakai2016-03-232-0/+28
| |
* | quote strings for closure compilerAlon Zakai2016-03-231-4/+4
| |
* | Add rotate support to s2wasmDerek Schuff2016-03-231-0/+2
| |
* | Merge pull request #251 from mbebenita/opt-wasm-asAlon Zakai2016-03-221-11/+22
|\ \ | | | | | | Optimize function => index mapping.
| * | Flip condition.Michael Bebenita2016-03-221-8/+2
| | |
| * | Optimize function => index mapping.Michael Bebenita2016-03-161-9/+26
| | |