Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | allow not providing a name for function types in c api (#501) | Alon Zakai | 2016-05-13 | 2 | -4/+3 | |
| | ||||||
* | validation improvements | Alon Zakai | 2016-05-13 | 1 | -35/+36 | |
| | ||||||
* | fix binary reinterpret opcode bug | Alon Zakai | 2016-05-13 | 1 | -2/+2 | |
| | ||||||
* | make reinterpret printing more precise | Alon Zakai | 2016-05-13 | 1 | -4/+4 | |
| | ||||||
* | more validation checks | Alon Zakai | 2016-05-13 | 1 | -30/+46 | |
| | ||||||
* | Merge pull request #493 from WebAssembly/error-improvements | Alon Zakai | 2016-05-13 | 3 | -20/+62 | |
|\ | | | | | Error handling improvements | |||||
| * | fix spurious validation errors on unreachable types | Alon Zakai | 2016-05-13 | 1 | -3/+5 | |
| | | ||||||
| * | support new syntactic sugar of export names on functions | Alon Zakai | 2016-05-13 | 1 | -4/+19 | |
| | | ||||||
| * | do not error on s-expr comments starting in strings | Alon Zakai | 2016-05-13 | 1 | -1/+1 | |
| | | ||||||
| * | break type system fixes, avoid spurious errors on mismatched types | Alon Zakai | 2016-05-13 | 2 | -3/+9 | |
| | | ||||||
| * | add line and col info in s-parsing errors, and fix an small bug made ↵ | Alon Zakai | 2016-05-13 | 1 | -9/+28 | |
| | | | | | | | | noticeable by that change | |||||
* | | Fix the maximum memory size to be valid. (#492) | Dan Gohman | 2016-05-13 | 3 | -4/+5 | |
|/ | ||||||
* | move console tool sources into src/tools (#490) | Alon Zakai | 2016-05-12 | 5 | -0/+0 | |
| | ||||||
* | Merge pull request #488 from WebAssembly/error_reporting | Alon Zakai | 2016-05-12 | 8 | -48/+88 | |
|\ | | | | | Better error reporting | |||||
| * | show parse errors in wasm-dis and wasm-as | Alon Zakai | 2016-05-12 | 2 | -8/+18 | |
| | | ||||||
| * | show parse errors in c api | Alon Zakai | 2016-05-12 | 1 | -1/+2 | |
| | | ||||||
| * | show parse errors in shell | Alon Zakai | 2016-05-12 | 1 | -3/+7 | |
| | | ||||||
| * | parse error details | Alon Zakai | 2016-05-12 | 4 | -23/+49 | |
| | | ||||||
| * | use exceptions consistently to report input errors | Alon Zakai | 2016-05-12 | 7 | -41/+40 | |
| | | ||||||
* | | Use a class with implicit overflow checks for Address (#486) | Derek Schuff | 2016-05-12 | 4 | -15/+36 | |
|/ | | | | It includes implicit conversion from u64 and implicit conversion to address_t. This makes it easier to use without ugly casting and but still gets the overflow checks. | |||||
* | Fix Visual Studio 2015 warnings about casting from double to int32_t in ↵ | BSalita | 2016-05-12 | 1 | -2/+2 | |
| | | | | safe_integer.cpp (#480) | |||||
* | Fix VC warning in s2wasm.h (#481) | BSalita | 2016-05-12 | 1 | -1/+1 | |
| | ||||||
* | Introduce a separate type for linear memory addresses (#477) | Derek Schuff | 2016-05-11 | 6 | -62/+66 | |
| | | | | | | | We've been using size_t (and other things) for addresses, which is generally wrong because it depends on the host, when it should in fact depend on the target. This is a partial fix for #278 (i.e. it's the right fix, I don't think it's applied quite everywhere yet). | |||||
* | Fix Visual Studio 2015 C++ warning about negating unsigned value by adding ↵ | BSalita | 2016-05-11 | 1 | -4/+4 | |
| | | | | typename U in bits.h (#471) | |||||
* | Pass sort comparison function arguments by const-reference (#472) | Derek Schuff | 2016-05-11 | 1 | -3/+3 | |
| | | | Fixes build failure with libstdc++ 4.8 | |||||
* | Fix VS warning in ast_utils.h (#469) | BSalita | 2016-05-11 | 1 | -1/+1 | |
| | ||||||
* | Fix VS warning in wasm-validator.h (#468) | BSalita | 2016-05-11 | 1 | -1/+1 | |
| | ||||||
* | Fix VS warning in Relooper.h (#467) | BSalita | 2016-05-11 | 1 | -1/+1 | |
| | ||||||
* | Replace NULL with nullptr. Quiet VS warnings. (#466) | BSalita | 2016-05-11 | 1 | -1/+1 | |
| | | | Replace NULL with nullptr. Quiet Visual Studio 2015 optimizer warnings by prepending "!!". | |||||
* | Change NULL to nullptr. Quiet Visual C++ 2015 optimizer errors by using ↵ | BSalita | 2016-05-11 | 1 | -6/+6 | |
| | | | | "!!". (#465) | |||||
* | Add a pass to order functions by their use frequency. (#452) | Michael Bebenita | 2016-05-11 | 2 | -0/+63 | |
| | ||||||
* | use an int32_t for BinaryenLiteral in the C API, simpler and good enough ↵ | Alon Zakai | 2016-05-10 | 1 | -1/+1 | |
| | | | | since we translate anyhow (#462) | |||||
* | add error handling for binary errors in new spec test | Alon Zakai | 2016-05-09 | 1 | -7/+7 | |
| | ||||||
* | allow error handling in binary parsing | Alon Zakai | 2016-05-09 | 4 | -4/+9 | |
| | ||||||
* | parse binary modules encoded in wasts that arrive in pieces | Alon Zakai | 2016-05-09 | 1 | -8/+9 | |
| | ||||||
* | allow appending in stringToBinary | Alon Zakai | 2016-05-09 | 1 | -5/+7 | |
| | ||||||
* | parse binary modules encoded in wats | Alon Zakai | 2016-05-09 | 1 | -0/+14 | |
| | ||||||
* | refactor string to binary parsing in s-expression code so that we can use it ↵ | Alon Zakai | 2016-05-09 | 1 | -35/+44 | |
| | | | | in more places | |||||
* | Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵ | Alon Zakai | 2016-05-08 | 1 | -10/+13 | |
| | | | | bits were trampled before we read them (#460) | |||||
* | use CMAKE_THREAD_LIBS_INIT as a target link library, which unbreaks breakage ↵ | Alon Zakai | 2016-05-07 | 1 | -0/+1 | |
| | | | | from #390 (#450) | |||||
* | Merge pull request #454 from MI3Guy/master | Alon Zakai | 2016-05-07 | 2 | -4/+4 | |
|\ | | | | | Minor fixes for C API | |||||
| * | Changed empty parameter functions in C API to void. | John Bentley | 2016-05-07 | 2 | -4/+4 | |
| | | ||||||
* | | use atomics on MixedArena list generation instead of locking (#456) | Alon Zakai | 2016-05-07 | 1 | -15/+31 | |
| | | ||||||
* | | fix block finalize(type) (#457) | Alon Zakai | 2016-05-07 | 1 | -1/+1 | |
| | | ||||||
* | | Use more static libraries in the CMake build (#451) | Derek Schuff | 2016-05-07 | 4 | -0/+33 | |
|/ | | | | | | | | | | | * Factor passes and emscripten-optimizer into static libs This removes the redundancies from the source sets in the main CMakeLists.txt. * Make passes an object lib * Use static libs with --whole-archive because Travis has old cmake | |||||
* | add a return type parameter to call and call_import in the C API. we need it ↵ | Alon Zakai | 2016-05-06 | 3 | -4/+14 | |
| | | | | since we don't know the type while building functions | |||||
* | comments in c api header | Alon Zakai | 2016-05-06 | 1 | -2/+4 | |
| | ||||||
* | Fix BreakSeeker for switch default targets. (#447) | Michael Bebenita | 2016-05-06 | 1 | -0/+1 | |
| | ||||||
* | add reading and writing binaries to C API (#443) | Alon Zakai | 2016-05-05 | 2 | -0/+28 | |
| | ||||||
* | Merge pull request #439 from WebAssembly/c-api-more | Alon Zakai | 2016-05-05 | 4 | -6/+20 | |
|\ | | | | | Validation in C API |