Update Binaryen to latest; Various fixes

This commit is contained in:
Daniel Wirtz
2018-10-11 08:49:08 +02:00
committed by GitHub
parent b54a97c0fe
commit f7c734789e
228 changed files with 12372 additions and 14996 deletions

View File

@ -5,6 +5,9 @@
(type $FiF (func (param f64 i32) (result f64)))
(type $Ff (func (param f64) (result f32)))
(type $v (func))
(memory $0 0)
(table 1 anyfunc)
(elem (i32.const 0) $null)
(global $~lib/math/NativeMath.E f64 (f64.const 2.718281828459045))
(global $std/libm/E f64 (f64.const 2.718281828459045))
(global $~lib/math/NativeMath.LN10 f64 (f64.const 2.302585092994046))
@ -24,10 +27,8 @@
(global $NaN f64 (f64.const nan:0x8000000000000))
(global $~lib/builtins/f64.EPSILON f64 (f64.const 2.220446049250313e-16))
(global $HEAP_BASE i32 (i32.const 8))
(table 1 1 anyfunc)
(elem (i32.const 0) $null)
(memory $0 0)
(export "memory" (memory $0))
(export "table" (table $0))
(export "E" (global $std/libm/E))
(export "LN10" (global $std/libm/LN10))
(export "LN2" (global $std/libm/LN2))