1 2 3 4 5 6 7 8
setARMHwCapFlags('vfp'); if (typeof WebAssembly !== "undefined") { var i = new WebAssembly.Instance( new WebAssembly.Module( wasmTextToBinary('(module (func (export "") (result i32) (i32.const 42)))'))); assertEq(i.exports[""](), 42); }