Update to wasmparser 0.47. (#1331)

Co-authored-by: Yury Delendik <ydelendik@mozilla.com>
This commit is contained in:
Dan Gohman
2020-01-10 15:31:37 -08:00
committed by GitHub
parent 3a13f79b66
commit 8bec6fe869
3 changed files with 19 additions and 7 deletions

View File

@@ -947,6 +947,9 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
Operator::F32Le | Operator::F64Le => {
translate_fcmp(FloatCC::LessThanOrEqual, builder, state)
}
Operator::TypedSelect { .. } => {
return Err(wasm_unsupported!("proposed typed select operator {:?}", op))
}
Operator::RefNull => state.push1(builder.ins().null(environ.reference_type())),
Operator::RefIsNull => {
let arg = state.pop1();