summaryrefslogtreecommitdiff
path: root/test/binaryen.js/global.js
Commit message (Collapse)AuthorAgeFilesLines
* Add mutable parameter to global imports in C/JS API (#2317)Daniel Wirtz2019-09-031-1/+3
|
* Make sure binaryen.js tests validate (#2269)Heejin Ahn2019-07-291-2/+6
| | | | | | Without `assert`, even if a test does not validate, the errors will only show up in its corresponding `.txt` file while the test will succeed. This makes sure it errors out when a test fails to validate. This also adds validation checks if there is none.
* Add `getGlobal` to binaryen.js (#2142)Heejin Ahn2019-05-241-0/+2
| | | | | We have `getFunction`, but not `getGlobal` because its name clashed with APIs for the deprecated instruction `get_global`. Now we have reflected instruction renaming in code, we can add it for consistency.
* Add missing methods for globals to binaryen.js (#2099)Heejin Ahn2019-05-131-0/+33
- Print `globals` array in the tracing mode like other arrays (`functions`, `exports`, `imports`, ...) - Add accessor functions for globals