wasmi/tests/spec
Sergey Pepyakin 9140e869e2 Update spec testsuite; Fix instantiation bug (#61)
The bug was about instantiating a module with elements segment being out-of-bounds, however, it was with zero length. E.g.:

```
(module
  (table 0 anyfunc)
  (elem (i32.const 1))
)
```

In our impl there was no out-of-bounds, because there was no attempt to set any table entry.

This change adds early check for specifically this case.
2018-02-19 18:59:18 +03:00
..
testsuite@c538faa432 Update spec testsuite; Fix instantiation bug (#61) 2018-02-19 18:59:18 +03:00
mod.rs Move spec testsuite into tests. (#56) 2018-02-14 18:03:39 +03:00
run.rs Update spec testsuite; Fix instantiation bug (#61) 2018-02-19 18:59:18 +03:00