summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
Commit message (Collapse)AuthorAgeFilesLines
...
* interpreter debug and asserts fixingAlon Zakai2016-09-071-29/+5
|
* SetGlobal should not return a valueAlon Zakai2016-09-071-1/+1
|
* call_indirect is now structural, so no need to pass the type name aroundAlon Zakai2016-09-071-2/+2
|
* loops no longer have an out label and other upstream loop updatesAlon Zakai2016-09-071-2/+1
|
* call_indirect now has the target at the endAlon Zakai2016-09-071-2/+2
|
* add drop and tee expressionsAlon Zakai2016-09-071-3/+9
|
* Merge pull request #668 from WebAssembly/tables_n_memoriesAlon Zakai2016-08-161-17/+10
|\ | | | | Tables and memories
| * offset support in tableAlon Zakai2016-08-151-14/+7
| |
| * support expressions in segment offsetsAlon Zakai2016-08-121-3/+3
| |
* | interpreter debugging fixes (#672)Alon Zakai2016-08-151-11/+13
|/
* in DemoteFloat64, if the truncated value is exactly at the limit, return it ↵Alon Zakai2016-08-081-0/+6
| | | | | (#665) and update spec tests
* support wasm globals (#650)Alon Zakai2016-07-211-0/+42
|
* fix wasm interpreter bug on checking indirect call paramsAlon Zakai2016-06-291-2/+4
|
* Merge pull request #590 from WebAssembly/precomputeAlon Zakai2016-06-181-413/+429
|\ | | | | Precompute expressions at compile time when possible
| * add a precompute passAlon Zakai2016-06-181-37/+1
| |
| * refactor interpreter code to provide expression executors for both ↵Alon Zakai2016-06-181-411/+463
| | | | | | | | standalone and full funtime execution
* | fix interpreter on indirect calls, do arguments before checking and doing ↵Alon Zakai2016-06-171-3/+3
|/ | | | the call (they might flow)
* make call_indirect type a name, so that it is not a dependency on the ↵Alon Zakai2016-06-031-1/+1
| | | | module, which would break consistency and make some parallel passes tricky (#568)
* trap on invalid call_indirects with bad arguments when no type providedAlon Zakai2016-06-031-0/+4
|
* handle stack frames we skip over by jumping up the stack, and update wasm.jsAlon Zakai2016-06-011-16/+25
|
* store locals in a vector in the interpreter and update wasm.js. also fix ↵Alon Zakai2016-05-181-10/+11
| | | | address usage in wasm.js
* use separate internal opcodes for binary variantsAlon Zakai2016-05-181-63/+63
|
* use separate internal opcodes for unary variantsAlon Zakai2016-05-181-22/+22
|
* Introduce a separate type for linear memory addresses (#477)Derek Schuff2016-05-111-6/+6
| | | | | | | 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).
* Harmonize the internal opcodes with the binary format (#433)Alon Zakai2016-05-031-12/+20
| | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API
* f32.demote/f64 fix UB (#423)JF Bastien2016-05-021-1/+8
| | | Another fix for #404.
* Fix {i32,i64}.trunc_{s,u}/{f32,f64} in interpreter (#421)Ben Smith2016-05-021-8/+22
| | | | Check the binary representation of the float instead of converting it to a float first.
* grow_memory now returns in units of page sizeAlon Zakai2016-04-181-1/+1
|
* current_memory now returns in units of page sizeAlon Zakai2016-04-181-1/+1
|
* update MemorySize => CurrentMemoryAlon Zakai2016-04-181-1/+1
|
* fix br_table order of evaluation, the value is firstAlon Zakai2016-04-181-9/+8
|
* index locals, so that get_local and set_local have just an index, and local ↵Alon Zakai2016-04-181-13/+16
| | | | names are kept on the Function object (#354)
* rename function locals, to params and vars, which together are all the ↵Alon Zakai2016-04-141-1/+1
| | | | locals. preparation for #336 (#349)
* De-recurse traversals (#333)Alon Zakai2016-04-111-1/+1
| | | | | | | | | | | | * refactor core walking to not recurse * add a simplify-locals test * reuse parent's non-branchey scan logic in SimpleExecutionWalker, reduce code duplication * update wasm.js * rename things following comments
* trap on bad callExport, don't assertAlon Zakai2016-04-041-1/+1
|
* clean up callExport typesAlon Zakai2016-04-041-1/+1
|
* add apis for accessing module elementsAlon Zakai2016-04-041-4/+4
|
* Fix the build with GCC 5.3.1 and Clang 3.8.0.Csaba Osztrogonác2016-03-311-2/+2
| | | | Fixes #299
* 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)
* Fix function trapIfGt() to operate on 64-bit integers even when building a ↵Jukka Jylänki2016-03-281-1/+1
| | | | 32-bit executable.
* update spec tests, and new memory page size usageAlon Zakai2016-03-251-13/+12
|
* add function stack printing in interpreterAlon Zakai2016-03-231-0/+16
|
* fix float to int trap textAlon Zakai2016-03-201-2/+2
|
* update spec tests and support eqzAlon Zakai2016-03-191-0/+2
|
* de-recurse operations on nested blocksAlon Zakai2016-03-101-3/+24
|
* Implement rotatesDerek Schuff2016-03-091-0/+4
|
* Make initial and max memory sizes be in pages instead of bytesDerek Schuff2016-03-091-1/+1
| | | | | | | 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.
* br_table, no more casesAlon Zakai2016-03-071-28/+12
|