simplify validation algorithm

This commit is contained in:
Ilya Rezvov
2018-04-14 13:38:09 -07:00
parent 23ed83a42e
commit d0b1092064
4 changed files with 41 additions and 56 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
)
(assert_invalid
(module (memory 0) (func (drop (i64.load align=16 (i32.const 0)))))
"alignment"
"alignment must not be larger than natural"
)
(assert_malformed
@@ -29,5 +29,5 @@
)
(assert_invalid
(module (memory 0) (func (i64.store align=16 (i32.const 0) (i64.const 0))))
"alignment"
"alignment must not be larger than natural"
)