Make wasm_unsupported be composeable
This commit is contained in:
committed by
Benjamin Bouvier
parent
26accbadf8
commit
eeb3159fe9
@@ -184,7 +184,7 @@ fn declare_locals<FE: FuncEnvironment + ?Sized>(
|
||||
builder.ins().vconst(ir::types::I8X16, constant_handle)
|
||||
}
|
||||
AnyRef => builder.ins().null(environ.reference_type()),
|
||||
ty => wasm_unsupported!("unsupported local type {:?}", ty),
|
||||
ty => return Err(wasm_unsupported!("unsupported local type {:?}", ty)),
|
||||
};
|
||||
|
||||
let ty = builder.func.dfg.value_type(zeroval);
|
||||
|
||||
Reference in New Issue
Block a user