assemblyscript/tests/compiler/std/string.untouched.wat

10191 lines
196 KiB
Plaintext
Raw Normal View History

(module
(type $FUNCSIG$viiii (func (param i32 i32 i32 i32)))
(type $FUNCSIG$ii (func (param i32) (result i32)))
2019-03-11 00:35:17 +01:00
(type $FUNCSIG$iii (func (param i32 i32) (result i32)))
2019-03-16 14:48:22 +01:00
(type $FUNCSIG$vi (func (param i32)))
(type $FUNCSIG$iiiiii (func (param i32 i32 i32 i32 i32) (result i32)))
(type $FUNCSIG$iiii (func (param i32 i32 i32) (result i32)))
2019-03-16 14:48:22 +01:00
(type $FUNCSIG$viii (func (param i32 i32 i32)))
(type $FUNCSIG$dii (func (param i32 i32) (result f64)))
(type $FUNCSIG$di (func (param i32) (result f64)))
(type $FUNCSIG$iiiii (func (param i32 i32 i32 i32) (result i32)))
2019-03-26 23:35:08 +01:00
(type $FUNCSIG$vii (func (param i32 i32)))
(type $FUNCSIG$ij (func (param i64) (result i32)))
(type $FUNCSIG$viji (func (param i32 i64 i32)))
(type $FUNCSIG$id (func (param f64) (result i32)))
(type $FUNCSIG$iid (func (param i32 f64) (result i32)))
2019-03-26 23:35:08 +01:00
(type $FUNCSIG$jii (func (param i32 i32) (result i64)))
(type $FUNCSIG$iijijiji (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
2019-03-16 14:48:22 +01:00
(type $FUNCSIG$v (func))
(type $FUNCSIG$i (func (result i32)))
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
(memory $0 1)
2019-03-26 23:35:08 +01:00
(data (i32.const 8) "\01\00\00\00 \00\00\00\00\00\00\00\00\00\00\00h\00i\00,\00 \00I\00\'\00m\00 \00a\00 \00s\00t\00r\00i\00n\00g\00")
(data (i32.const 56) "\01\00\00\00\1a\00\00\00\00\00\00\00\00\00\00\00s\00t\00d\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
(data (i32.const 104) "\01\00\00\00\1e\00\00\00\00\00\00\00\00\00\00\00~\00l\00i\00b\00/\00r\00u\00n\00t\00i\00m\00e\00.\00t\00s\00")
(data (i32.const 152) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00\00\00")
(data (i32.const 176) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\006\00")
(data (i32.const 200) "\01\00\00\00\1c\00\00\00\00\00\00\00\00\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
(data (i32.const 248) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\004\d8\06\df")
(data (i32.const 272) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00h\00i\00")
(data (i32.const 296) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\00n\00u\00l\00l\00")
(data (i32.const 320) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00s\00t\00r\00i\00n\00g\00")
(data (i32.const 352) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00I\00\'\00m\00")
(data (i32.const 376) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00 \00")
(data (i32.const 400) "\01\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
(data (i32.const 416) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00 \00 \00 \00")
(data (i32.const 440) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00a\00")
(data (i32.const 464) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00")
(data (i32.const 488) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00 \00 \00a\00b\00c\00")
(data (i32.const 520) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\001\002\003\00")
(data (i32.const 544) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\001\002\003\00a\00b\00c\00")
(data (i32.const 576) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\001\002\003\001\002\00a\00b\00c\00")
(data (i32.const 608) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00 \00 \00")
(data (i32.const 640) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00a\00b\00c\00")
(data (i32.const 672) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00a\00b\00c\00a\00b\00")
(data (i32.const 704) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00,\00")
(data (i32.const 728) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00x\00")
(data (i32.const 752) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00,\00 \00I\00")
(data (i32.const 776) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00g\00")
(data (i32.const 800) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00i\00")
(data (i32.const 824) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\000\00")
(data (i32.const 848) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\001\00")
(data (i32.const 872) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\000\00b\001\000\001\00")
(data (i32.const 904) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\000\00o\007\000\007\00")
(data (i32.const 936) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\000\00x\00f\000\00f\00")
(data (i32.const 968) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\000\00x\00F\000\00F\00")
(data (i32.const 1000) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\000\001\001\00")
(data (i32.const 1024) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\000\00x\001\00g\00")
(data (i32.const 1048) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\000\00.\001\00")
(data (i32.const 1072) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00.\002\005\00")
(data (i32.const 1096) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00.\001\00f\00o\00o\00b\00a\00r\00")
(data (i32.const 1128) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00b\00")
(data (i32.const 1152) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00a\00b\00")
(data (i32.const 1176) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\00k\00e\00y\001\00")
(data (i32.const 1200) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\00k\00e\00y\002\00")
(data (i32.const 1224) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00k\00e\001\00")
(data (i32.const 1248) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00k\00e\002\00")
(data (i32.const 1272) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00k\00e\00y\001\002\00")
(data (i32.const 1304) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00k\00e\00y\001\001\00")
(data (i32.const 1336) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00\a40\ed0\cf0\cb0\db0\d80\c80")
(data (i32.const 1368) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00\a60\f00\ce0\aa0\af0\e40\de0")
(data (i32.const 1400) "\01\00\00\00\16\00\00\00\00\00\00\00\00\00\00\00D\00\19 f\00h\00u\00a\00s\00c\00a\00i\00l\00")
(data (i32.const 1440) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\00D\00\19 \1f\1eu\00a\00s\00c\00a\00i\00l\00")
(data (i32.const 1480) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00b\00a\00")
(data (i32.const 1504) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00a\00a\00")
(data (i32.const 1528) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00a\00a\00a\00")
(data (i32.const 1552) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00a\00b\00a\00b\00a\00b\00a\00b\00")
(data (i32.const 1584) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00a\00a\00a\00a\00a\00")
(data (i32.const 1616) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00a\00a\00a\00a\00a\00a\00")
(data (i32.const 1648) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00a\00a\00a\00a\00a\00a\00a\00")
(data (i32.const 1680) "\01\00\00\00\1c\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00d\00e\00f\00g\00h\00i\00j\00k\00l\00m\00n\00")
(data (i32.const 1728) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00n\00")
(data (i32.const 1752) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00j\00k\00l\00m\00n\00")
(data (i32.const 1784) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00c\00d\00e\00f\00g\00")
(data (i32.const 1816) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00d\00e\00f\00g\00h\00")
(data (i32.const 1848) "\01\00\00\00\1a\00\00\00\00\00\00\00\00\00\00\00a\00b\00c\00d\00e\00f\00g\00h\00i\00j\00k\00l\00m\00")
(data (i32.const 1896) "\01\00\00\00\1a\00\00\00\00\00\00\00\00\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s\00")
(data (i32.const 1944) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00a\00,\00b\00,\00c\00")
(data (i32.const 1976) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00.\00")
(data (i32.const 2000) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\00c\00")
(data (i32.const 2024) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00a\00,\00 \00b\00,\00 \00c\00")
(data (i32.const 2056) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00,\00 \00")
(data (i32.const 2080) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00a\00,\00b\00,\00,\00c\00")
(data (i32.const 2112) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00,\00a\00,\00b\00,\00c\00")
(data (i32.const 2144) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\00a\00,\00b\00,\00c\00,\00")
(data (i32.const 2176) "\03\00\00\00\90\01\00\00\00\00\00\00\00\00\00\000\000\000\001\000\002\000\003\000\004\000\005\000\006\000\007\000\008\000\009\001\000\001\001\001\002\001\003\001\004\001\005\001\006\001\007\001\008\001\009\002\000\002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\008\002\009\003\000\003\001\003\002\003\003\003\004\003\005\003\006\003\007\003\008\003\009\004\000\004\001\004\002\004\003\004\004\004\005\004\006\004\007\004\008\004\009\005\000\005\001\005\002\005\003\005\004\005\005\005\006\005\007\005\008\005\009\006\000\006\001\006\002\006\003\006\004\006\005\006\006\006\007\006\008\006\009\007\000\007\001\007\002\007\003\007\004\007\005\007\006\007\007\007\008\007\009\008\000\008\001\008\002\008\003\008\004\008\005\008\006\008\007\008\008\008\009\009\000\009\001\009\002\009\003\009\004\009\005\009\006\009\007\009\008\009\009\00")
(data (i32.const 2592) "\04\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00\90\08\00\00\90\08\00\00\90\01\00\00d\00\00\00")
(data (i32.const 2624) "\01\00\00\00\02\00\00\00\00\00\00\00\00\00\00\008\00")
(data (i32.const 2648) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00-\001\000\000\000\00")
(data (i32.const 2680) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\001\002\003\004\00")
(data (i32.const 2704) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\001\002\003\004\005\00")
(data (i32.const 2736) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\001\002\003\004\005\006\00")
(data (i32.const 2768) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\001\001\001\001\001\001\001\00")
(data (i32.const 2800) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\001\002\003\004\005\006\007\00")
(data (i32.const 2832) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\002\001\004\007\004\008\003\006\004\006\00")
(data (i32.const 2872) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\002\001\004\007\004\008\003\006\004\007\00")
(data (i32.const 2912) "\01\00\00\00\16\00\00\00\00\00\00\00\00\00\00\00-\002\001\004\007\004\008\003\006\004\008\00")
(data (i32.const 2952) "\01\00\00\00\04\00\00\00\00\00\00\00\00\00\00\00-\001\00")
(data (i32.const 2976) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\001\000\000\000\00")
(data (i32.const 3000) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\002\001\004\007\004\008\003\006\004\008\00")
(data (i32.const 3040) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\004\002\009\004\009\006\007\002\009\005\00")
(data (i32.const 3080) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\009\009\009\009\009\009\009\009\00")
(data (i32.const 3112) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\001\000\000\000\000\000\000\000\000\00")
(data (i32.const 3152) "\01\00\00\00\16\00\00\00\00\00\00\00\00\00\00\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3192) "\01\00\00\00\18\00\00\00\00\00\00\00\00\00\00\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3232) "\01\00\00\00\1e\00\00\00\00\00\00\00\00\00\00\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3280) "\01\00\00\00 \00\00\00\00\00\00\00\00\00\00\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3328) "\01\00\00\00\"\00\00\00\00\00\00\00\00\00\00\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3384) "\01\00\00\00(\00\00\00\00\00\00\00\00\00\00\001\008\004\004\006\007\004\004\000\007\003\007\000\009\005\005\001\006\001\005\00")
(data (i32.const 3440) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\00-\001\002\003\004\00")
(data (i32.const 3472) "\01\00\00\00\16\00\00\00\00\00\00\00\00\00\00\00-\004\002\009\004\009\006\007\002\009\005\00")
(data (i32.const 3512) "\01\00\00\00\18\00\00\00\00\00\00\00\00\00\00\00-\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3552) "\01\00\00\00\1a\00\00\00\00\00\00\00\00\00\00\00-\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3600) "\01\00\00\00 \00\00\00\00\00\00\00\00\00\00\00-\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3648) "\01\00\00\00$\00\00\00\00\00\00\00\00\00\00\00-\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
(data (i32.const 3704) "\01\00\00\00&\00\00\00\00\00\00\00\00\00\00\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\007\00")
(data (i32.const 3760) "\01\00\00\00(\00\00\00\00\00\00\00\00\00\00\00-\009\002\002\003\003\007\002\000\003\006\008\005\004\007\007\005\008\000\008\00")
(data (i32.const 3816) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\000\00.\000\00")
(data (i32.const 3840) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\00N\00a\00N\00")
(data (i32.const 3864) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y\00")
(data (i32.const 3904) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00I\00n\00f\00i\00n\00i\00t\00y\00")
(data (i32.const 3936) "\03\00\00\00\b8\02\00\00\00\00\00\00\00\00\00\00\88\02\1c\08\a0\d5\8f\fav\bf>\a2\7f\e1\ae\bav\acU0 \fb\16\8b\ea5\ce]J\89B\cf-;eU\aa\b0k\9a\dfE\1a=\03\cf\1a\e6\ca\c6\9a\c7\17\fep\abO\dc\bc\be\fc\b1w\ff\0c\d6kA\ef\91V\be<\fc\7f\90\ad\1f\d0\8d\83\9aU1(\\Q\d3\b5\c9\a6\ad\8f\acq\9d\cb\8b\ee#w\"\9c\eamSx@\91I\cc\aeW\ce\b6]y\12<\827V\fbM6\94\10\c2O\98H8o\ea\96\90\c7:\82%\cb\85t\d7\f4\97\bf\97\cd\cf\86\a0\e5\ac*\17\98\n4\ef\8e\b25*\fbg8\b2;?\c6\d2\df\d4\c8\84\ba\cd\d3\1a\'D\dd\c5\96\c9%\bb\ce\9fk\93\84\a5b}$l\ac\db\f6\da_\0dXf\ab\a3&\f1\c3\de\93\f8\e2\f3\b8\80\ff\aa\a8\ad\b5\b5\8bJ|l\05_b\87S0\c14`\ff\bc\c9U&\ba\91\8c\85N\96\bd~)p$w\f9\df\8f\b8\e5\b8\9f\bd\df\a6\94}t\88\cf_\a9\f8\cf\9b\a8\8f\93pD\b9k\15\0f\bf\f8\f0\08\8a\b611eU%\b0\cd\ac\7f{\d0\c6\e2?\99\06;+*\c4\10\\\e4\d3\92si\99$$\aa\0e\ca\00\83\f2\b5\87\fd\eb\1a\11\92d\08\e5\bc\cc\88Po\t\cc\bc\8c,e\19\e2X\17\b7\d1\00\00\00\00\00\00@\9c\00\00\00\00\10\a5\d4\e8\00\00b\ac\c5\ebx\ad\84\t\94\f8x9?\81\b3\15\07\c9{\ce\97\c0p\\\ea{\ce2~\8fh\80\e9\ab\a48\d2\d5E\"\9a\17&\'O\9f\'\fb\c4\d41\a2c\ed\a8\ad\c8\8c8e\de\b0\dbe\ab\1a\8e\08\c7\83\9a\1dqB\f9\1d]\c4X\e7\1b\a6,iM\92\ea\8dp\1ad\ee\01\daJw\ef\9a\99\a3m\a2\85k}\b4{x\t\f2w\18\ddy\a1\e4T\b4\c2\c5\9b[\92\86[\86=]\96\c8\c5S5\c8\b3\a0\97\fa\\\b4*\95\e3_\a0\99\bd\9fF\de%\8c9\db4\c2\9b\a5\\\9f\98\a3r\9a\c6\f6\ce\be\e9TS\bf\dc\b7\e2A\"\f2\17\f3\fc\88\a5x\\\d3\9b\ce \cc\dfS!{\f3Z\16\98:0\1f\97\dc\b5\a0\e2\96\b3\e3\\S\d1\d9\a8<D\a7\a4\d9|\9b\fb\10D\a4\a7LLv\bb\1a\9c@\b6\ef\8e\ab\8b,\84W\a6\10\ef\1f\d0)1\91\e9\e5\a4\10\9b\9d\0c\9c\a1\fb\9b\10\e7)\f4;b\d9 (\ac\85\cf\a7z^KD\80-\dd\ac\03@\e4!\bf\8f\ffD^/\9cg\8eA\b8\8c\9c\9d\173\d4\a9\1b\e3\b4\92\db\19\9e\d9w\df\ban\bf\96\ebk\ee\f0\9b;\02\87\af")
(data (i32.const 4648) "\05\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00p\0f\00\00p\0f\00\00\b8\02\00\00W\00\00\00")
(data (i32.const 4680) "\03\00\00\00\ae\00\00\00\00\00\00\00\00\00\00\00<\fbW\fbr\fb\8c\fb\a7\fb\c1\fb\dc\fb\f6\fb\11\fc,\fcF\fca\fc{\fc\96\fc\b1\fc\cb\fc\e6\fc\00\fd\1b\fd5\fdP\fdk\fd\85\fd\a0\fd\ba\fd\d5\fd\ef\fd\n\fe%\fe?\feZ\fet\fe\8f\fe\a9\fe\c4\fe\df\fe\f9\fe\14\ff.\ffI\ffc\ff~\ff\99\ff\b3\ff\ce\ff\e8\ff\03\00\1e\008\00S\00m\00\88\00\a2\00\bd\00\d8\00\f2\00\0d\01\'\01B\01\\\01w\01\92\01\ac\01\c7\01\e1\01\fc\01\16\021\02L\02f\02\81\02\9b\02\b6\02\d0\02\eb\02\06\03 \03;\03U\03p\03\8b\03\a5\03\c0\03\da\03\f5\03\0f\04*\04")
(data (i32.const 4872) "\06\00\00\00\10\00\00\00\00\00\00\00\00\00\00\00X\12\00\00X\12\00\00\ae\00\00\00W\00\00\00")
(data (i32.const 4904) "\03\00\00\00(\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\n\00\00\00d\00\00\00\e8\03\00\00\10\'\00\00\a0\86\01\00@B\0f\00\80\96\98\00\00\e1\f5\05\00\ca\9a;")
(data (i32.const 4960) "\04\00\00\00\10\00\00\00\00\00\00\00\00\00\00\008\13\00\008\13\00\00(\00\00\00\n\00\00\00")
(data (i32.const 4992) "\01\00\00\00*\00\00\00\00\00\00\00\00\00\00\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006\00")
(data (i32.const 5056) "\01\00\00\00,\00\00\00\00\00\00\00\00\00\00\00-\002\00.\002\002\000\004\004\006\000\004\009\002\005\000\003\001\003\00e\00-\001\006\00")
(data (i32.const 5120) "\01\00\00\00.\00\00\00\00\00\00\00\00\00\00\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008\00")
(data (i32.const 5184) "\01\00\00\000\00\00\00\00\00\00\00\00\00\00\00-\001\00.\007\009\007\006\009\003\001\003\004\008\006\002\003\001\005\007\00e\00+\003\000\008\00")
(data (i32.const 5248) "\01\00\00\00,\00\00\00\00\00\00\00\00\00\00\004\00.\001\008\005\005\008\000\004\009\006\008\002\001\003\005\007\00e\00+\002\009\008\00")
(data (i32.const 5312) "\01\00\00\00.\00\00\00\00\00\00\00\00\00\00\002\00.\002\002\005\000\007\003\008\005\008\005\000\007\002\000\001\004\00e\00-\003\000\008\00")
(data (i32.const 5376) "\01\00\00\00\1a\00\00\00\00\00\00\00\00\00\00\004\00.\009\004\000\006\005\006\00e\00-\003\001\008\00")
(data (i32.const 5424) "\01\00\00\00$\00\00\00\00\00\00\00\00\00\00\009\000\006\000\008\000\001\001\005\003\004\003\003\006\000\000\00.\000\00")
(data (i32.const 5480) "\01\00\00\00*\00\00\00\00\00\00\00\00\00\00\004\007\000\008\003\005\006\000\002\004\007\001\001\005\001\002\000\000\000\00.\000\00")
(data (i32.const 5544) "\01\00\00\00*\00\00\00\00\00\00\00\00\00\00\009\004\000\009\003\004\000\000\001\002\005\006\008\002\004\008\000\000\000\00.\000\00")
(data (i32.const 5608) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\005\00e\00-\003\002\004\00")
(data (i32.const 5640) "\01\00\00\00\06\00\00\00\00\00\00\00\00\00\00\001\00.\000\00")
(data (i32.const 5664) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\00-\001\00.\000\00")
(data (i32.const 5688) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\00-\000\00.\001\00")
(data (i32.const 5712) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\001\000\000\000\000\000\000\00.\000\00")
(data (i32.const 5752) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\000\00.\000\000\000\000\000\001\00")
(data (i32.const 5784) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\00-\001\000\000\000\000\000\000\00.\000\00")
(data (i32.const 5824) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\00-\000\00.\000\000\000\000\000\001\00")
(data (i32.const 5864) "\01\00\00\00\14\00\00\00\00\00\00\00\00\00\00\001\000\000\000\000\000\000\000\00.\000\00")
(data (i32.const 5904) "\01\00\00\00\08\00\00\00\00\00\00\00\00\00\00\001\00e\00-\007\00")
(data (i32.const 5928) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\001\00e\00+\003\000\008\00")
(data (i32.const 5960) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00-\001\00e\00+\003\000\008\00")
(data (i32.const 5992) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\001\00e\00-\003\000\008\00")
(data (i32.const 6024) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00-\001\00e\00-\003\000\008\00")
(data (i32.const 6056) "\01\00\00\00\0c\00\00\00\00\00\00\00\00\00\00\001\00e\00-\003\002\003\00")
(data (i32.const 6088) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\00-\001\00e\00-\003\002\003\00")
(data (i32.const 6120) "\01\00\00\00\18\00\00\00\00\00\00\00\00\00\00\004\002\009\004\009\006\007\002\007\002\00.\000\00")
(data (i32.const 6160) "\01\00\00\00*\00\00\00\00\00\00\00\00\00\00\001\00.\002\003\001\002\001\004\005\006\007\003\004\005\006\002\003\004\00e\00-\008\00")
(data (i32.const 6224) "\01\00\00\00\"\00\00\00\00\00\00\00\00\00\00\005\005\005\005\005\005\005\005\005\00.\005\005\005\005\005\005\006\00")
(data (i32.const 6280) "\01\00\00\00$\00\00\00\00\00\00\00\00\00\00\000\00.\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\00")
(data (i32.const 6336) "\01\00\00\00\n\00\00\00\00\00\00\00\00\00\00\001\002\00.\003\004\00")
(data (i32.const 6368) "\01\00\00\00$\00\00\00\00\00\00\00\00\00\00\000\00.\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\00")
(data (i32.const 6424) "\01\00\00\00.\00\00\00\00\00\00\00\00\00\00\001\002\003\004\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00.\000\00")
(data (i32.const 6488) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\001\00.\002\003\004\00e\00+\002\001\00")
(data (i32.const 6528) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\002\00.\007\001\008\002\008\00")
(data (i32.const 6560) "\01\00\00\00\12\00\00\00\00\00\00\00\00\00\00\000\00.\000\002\007\001\008\002\008\00")
(data (i32.const 6600) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\002\007\001\00.\008\002\008\00")
(data (i32.const 6632) "\01\00\00\00\10\00\00\00\00\00\00\00\00\00\00\001\00.\001\00e\00+\001\002\008\00")
(data (i32.const 6664) "\01\00\00\00\0e\00\00\00\00\00\00\00\00\00\00\001\00.\001\00e\00-\006\004\00")
(data (i32.const 6696) "\01\00\00\00\16\00\00\00\00\00\00\00\00\00\00\000\00.\000\000\000\000\003\005\006\008\009\00")
(table $0 1 funcref)
(elem (i32.const 0) $null)
2019-03-26 23:35:08 +01:00
(global $~lib/runtime/HEADER_SIZE i32 (i32.const 16))
2019-03-16 14:48:22 +01:00
(global $~lib/runtime/HEADER_MAGIC i32 (i32.const -1520547049))
2019-03-26 23:35:08 +01:00
(global $std/string/str (mut i32) (i32.const 24))
(global $std/string/nullStr (mut i32) (i32.const 0))
2019-03-16 14:48:22 +01:00
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
(global $~lib/ASC_NO_ASSERT i32 (i32.const 0))
2019-03-26 23:35:08 +01:00
(global $~lib/string/String.MAX_LENGTH i32 (i32.const 536870904))
(global $~lib/builtins/i32.MAX_VALUE i32 (i32.const 2147483647))
(global $std/string/c (mut i32) (i32.const 0))
(global $std/string/a (mut i32) (i32.const 0))
(global $std/string/b (mut i32) (i32.const 0))
2018-10-18 20:05:35 +03:00
(global $std/string/sa (mut i32) (i32.const 0))
2019-03-26 23:35:08 +01:00
(global $~lib/runtime/MAX_BYTELENGTH i32 (i32.const 1073741808))
2019-03-11 00:35:17 +01:00
(global $~lib/ASC_SHRINK_LEVEL i32 (i32.const 0))
(global $~lib/builtins/u32.MAX_VALUE i32 (i32.const -1))
(global $~lib/builtins/u64.MAX_VALUE i64 (i64.const -1))
(global $~lib/builtins/i64.MAX_VALUE i64 (i64.const 9223372036854775807))
(global $~lib/builtins/i64.MIN_VALUE i64 (i64.const -9223372036854775808))
2019-03-16 14:48:22 +01:00
(global $~lib/util/number/_frc_plus (mut i64) (i64.const 0))
(global $~lib/util/number/_frc_minus (mut i64) (i64.const 0))
(global $~lib/util/number/_exp (mut i32) (i32.const 0))
(global $~lib/util/number/_K (mut i32) (i32.const 0))
(global $~lib/util/number/_frc_pow (mut i64) (i64.const 0))
(global $~lib/util/number/_exp_pow (mut i32) (i32.const 0))
(global $~lib/builtins/f64.EPSILON f64 (f64.const 2.220446049250313e-16))
(global $~lib/builtins/f64.MAX_VALUE f64 (f64.const 1797693134862315708145274e284))
2019-03-26 23:35:08 +01:00
(global $~lib/memory/HEAP_BASE i32 (i32.const 6736))
(global $~lib/capabilities i32 (i32.const 2))
(export "memory" (memory $0))
(export "table" (table $0))
(export "getString" (func $std/string/getString))
2019-03-26 23:35:08 +01:00
(export ".capabilities" (global $~lib/capabilities))
(start $start)
2019-03-16 14:48:22 +01:00
(func $~lib/string/String#get:length (; 1 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-11 00:35:17 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
2019-03-11 00:35:17 +01:00
i32.sub
i32.load offset=4
i32.const 1
i32.shr_u
)
2019-03-16 14:48:22 +01:00
(func $~lib/string/String#charCodeAt (; 2 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $1
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
i32.ge_u
if
i32.const -1
return
end
local.get $0
local.get $1
i32.const 1
i32.shl
i32.add
2019-03-11 00:35:17 +01:00
i32.load16_u
)
2019-03-17 00:11:16 +01:00
(func $~lib/runtime/ADJUSTOBLOCK (; 3 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-11 00:35:17 +01:00
i32.const 1
i32.const 32
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
2019-03-11 00:35:17 +01:00
i32.add
i32.const 1
i32.sub
i32.clz
i32.sub
i32.shl
)
2019-03-27 17:21:52 +01:00
(func $~lib/allocator/arena/__mem_allocate (; 4 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
2019-03-27 17:21:52 +01:00
local.get $0
i32.const 1073741824
i32.gt_u
if
unreachable
end
global.get $~lib/allocator/arena/offset
local.set $1
local.get $1
local.get $0
local.tee $2
i32.const 1
local.tee $3
local.get $2
local.get $3
i32.gt_u
select
i32.add
i32.const 7
i32.add
i32.const 7
i32.const -1
i32.xor
i32.and
local.set $4
current_memory
local.set $5
local.get $4
local.get $5
i32.const 16
i32.shl
i32.gt_u
if
2019-03-16 14:48:22 +01:00
local.get $4
2019-03-27 17:21:52 +01:00
local.get $1
i32.sub
i32.const 65535
2019-03-16 14:48:22 +01:00
i32.add
2019-03-27 17:21:52 +01:00
i32.const 65535
2019-03-16 14:48:22 +01:00
i32.const -1
i32.xor
i32.and
2019-03-27 17:21:52 +01:00
i32.const 16
i32.shr_u
local.set $2
local.get $5
local.tee $3
local.get $2
local.tee $6
local.get $3
local.get $6
i32.gt_s
select
local.set $3
local.get $3
2019-03-27 17:21:52 +01:00
grow_memory
i32.const 0
i32.lt_s
if
local.get $2
grow_memory
i32.const 0
i32.lt_s
if
2019-03-27 17:21:52 +01:00
unreachable
end
end
end
2019-03-27 17:21:52 +01:00
local.get $4
global.set $~lib/allocator/arena/offset
local.get $1
)
(func $~lib/memory/memory.allocate (; 5 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
call $~lib/allocator/arena/__mem_allocate
2019-03-16 14:48:22 +01:00
return
)
2019-03-27 17:21:52 +01:00
(func $~lib/runtime/allocate (; 6 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-16 14:48:22 +01:00
(local $1 i32)
2019-03-11 00:35:17 +01:00
local.get $0
2019-03-17 00:11:16 +01:00
call $~lib/runtime/ADJUSTOBLOCK
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.allocate
local.set $1
2019-03-11 00:35:17 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_MAGIC
i32.store
2019-03-11 00:35:17 +01:00
local.get $1
local.get $0
2019-03-16 14:48:22 +01:00
i32.store offset=4
2019-03-11 00:35:17 +01:00
local.get $1
2019-03-26 23:35:08 +01:00
i32.const 0
i32.store offset=8
local.get $1
i32.const 0
i32.store offset=12
local.get $1
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
2019-03-11 00:35:17 +01:00
i32.add
2019-03-16 14:48:22 +01:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/collector/dummy/__ref_register (; 7 ;) (type $FUNCSIG$vi) (param $0 i32)
2019-03-26 23:35:08 +01:00
nop
)
2019-03-27 17:21:52 +01:00
(func $~lib/runtime/register (; 8 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-26 23:35:08 +01:00
(local $2 i32)
2019-03-11 00:35:17 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/memory/HEAP_BASE
i32.gt_u
i32.eqz
2019-03-11 00:35:17 +01:00
if
2019-03-16 14:48:22 +01:00
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 120
2019-03-27 17:21:52 +01:00
i32.const 149
2019-03-26 23:35:08 +01:00
i32.const 4
2019-03-16 14:48:22 +01:00
call $~lib/env/abort
unreachable
2019-03-11 00:35:17 +01:00
end
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
2019-03-11 00:35:17 +01:00
i32.sub
2019-03-26 23:35:08 +01:00
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
i32.load
global.get $~lib/runtime/HEADER_MAGIC
i32.eq
i32.eqz
2019-03-11 00:35:17 +01:00
if
2019-03-16 14:48:22 +01:00
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 120
2019-03-27 17:21:52 +01:00
i32.const 151
2019-03-26 23:35:08 +01:00
i32.const 4
2019-03-16 14:48:22 +01:00
call $~lib/env/abort
unreachable
2019-03-11 00:35:17 +01:00
end
2019-03-26 23:35:08 +01:00
local.get $2
2019-03-11 00:35:17 +01:00
local.get $1
i32.store
local.get $0
2019-03-26 23:35:08 +01:00
call $~lib/collector/dummy/__ref_register
local.get $0
2019-03-16 14:48:22 +01:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.fromCharCode (; 9 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2019-03-16 14:48:22 +01:00
(local $1 i32)
(local $2 i32)
block $~lib/runtime/ALLOCATE|inlined.0 (result i32)
i32.const 2
local.set $1
local.get $1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-11 00:35:17 +01:00
end
2019-03-16 14:48:22 +01:00
local.set $2
local.get $2
2019-03-11 00:35:17 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.store16
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.0 (result i32)
2019-03-16 14:48:22 +01:00
local.get $2
local.set $1
local.get $1
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-16 14:48:22 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/string/compareImpl (; 10 ;) (type $FUNCSIG$iiiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32)
2019-03-16 14:48:22 +01:00
(local $5 i32)
(local $6 i32)
(local $7 i32)
i32.const 0
local.set $5
2019-03-11 00:35:17 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
local.get $1
i32.const 1
i32.shl
2019-03-11 00:35:17 +01:00
i32.add
2019-03-16 14:48:22 +01:00
local.set $6
2019-03-11 00:35:17 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
local.get $3
i32.const 1
i32.shl
i32.add
local.set $7
block $break|0
loop $continue|0
local.get $4
if (result i32)
local.get $6
2019-03-11 00:35:17 +01:00
i32.load16_u
local.get $7
2019-03-11 00:35:17 +01:00
i32.load16_u
i32.sub
local.tee $5
i32.eqz
else
local.get $4
end
if
block
local.get $4
i32.const 1
i32.sub
local.set $4
local.get $6
2018-11-19 13:23:45 +02:00
i32.const 2
i32.add
local.set $6
local.get $7
2018-11-19 13:23:45 +02:00
i32.const 2
i32.add
local.set $7
end
br $continue|0
end
end
end
local.get $5
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__eq (; 11 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
local.get $0
local.get $1
i32.eq
if
i32.const 1
return
end
local.get $0
i32.const 0
i32.eq
local.tee $2
if (result i32)
local.get $2
else
local.get $1
i32.const 0
i32.eq
end
if
i32.const 0
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $3
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
i32.ne
if
i32.const 0
return
end
local.get $0
i32.const 0
local.get $1
i32.const 0
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.fromCodePoint (; 12 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
local.get $0
i32.const 1114111
i32.le_u
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 24
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
i32.const 65535
i32.gt_s
local.set $1
2019-03-16 14:48:22 +01:00
block $~lib/runtime/ALLOCATE|inlined.1 (result i32)
local.get $1
i32.const 1
i32.add
i32.const 1
i32.shl
local.set $2
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $3
local.get $1
i32.eqz
if
2019-03-16 14:48:22 +01:00
local.get $3
local.get $0
2019-03-11 00:35:17 +01:00
i32.store16
else
local.get $0
i32.const 65536
i32.sub
local.set $0
local.get $0
i32.const 10
i32.shr_u
i32.const 55296
i32.add
2019-03-16 14:48:22 +01:00
local.set $2
local.get $0
i32.const 1023
i32.and
i32.const 56320
i32.add
local.set $4
local.get $3
2019-03-16 14:48:22 +01:00
local.get $2
i32.const 16
i32.shl
local.get $4
i32.or
2019-03-11 00:35:17 +01:00
i32.store
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.1 (result i32)
2019-03-16 14:48:22 +01:00
local.get $3
2019-03-11 00:35:17 +01:00
local.set $4
local.get $4
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#startsWith (; 13 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 164
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $1
i32.const 0
i32.eq
if
2019-03-26 23:35:08 +01:00
i32.const 312
local.set $1
end
local.get $2
local.set $3
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $4
local.get $3
local.tee $5
i32.const 0
local.tee $6
local.get $5
local.get $6
i32.gt_s
select
local.tee $5
local.get $4
local.tee $6
local.get $5
local.get $6
i32.lt_s
select
local.set $7
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $8
local.get $8
local.get $7
i32.add
local.get $4
i32.gt_s
if
i32.const 0
return
end
local.get $0
local.get $7
local.get $1
i32.const 0
local.get $8
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#endsWith (; 14 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 77
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $1
i32.const 0
i32.eq
if
i32.const 0
return
end
local.get $2
local.tee $3
i32.const 0
local.tee $4
local.get $3
local.get $4
i32.gt_s
select
local.tee $3
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.tee $4
local.get $3
local.get $4
i32.lt_s
select
local.set $5
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $6
local.get $5
local.get $6
i32.sub
local.set $7
local.get $7
i32.const 0
i32.lt_s
if
i32.const 0
return
end
local.get $0
local.get $7
local.get $1
i32.const 0
local.get $6
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#indexOf (; 15 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 133
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $1
i32.const 0
i32.eq
if
2019-03-26 23:35:08 +01:00
i32.const 312
local.set $1
end
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $3
i32.eqz
if
i32.const 0
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $4
local.get $4
i32.eqz
if
i32.const -1
return
end
local.get $2
local.tee $5
i32.const 0
local.tee $6
local.get $5
local.get $6
i32.gt_s
select
local.tee $5
local.get $4
local.tee $6
local.get $5
local.get $6
i32.lt_s
select
local.set $7
local.get $4
local.get $3
i32.sub
local.set $4
block $break|0
local.get $7
local.set $5
loop $repeat|0
local.get $5
local.get $4
i32.le_s
i32.eqz
br_if $break|0
local.get $0
local.get $5
local.get $1
i32.const 0
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.eqz
if
local.get $5
return
end
local.get $5
i32.const 1
i32.add
local.set $5
br $repeat|0
unreachable
end
unreachable
end
i32.const -1
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/memory/memcpy (; 16 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
block $break|0
loop $continue|0
local.get $2
if (result i32)
local.get $1
i32.const 3
i32.and
else
local.get $2
end
if
block
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 1
i32.sub
local.set $2
end
br $continue|0
end
end
end
local.get $0
i32.const 3
i32.and
i32.const 0
i32.eq
if
block $break|1
loop $continue|1
local.get $2
i32.const 16
i32.ge_u
if
block
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.get $1
i32.const 4
i32.add
i32.load
i32.store
local.get $0
i32.const 8
i32.add
local.get $1
i32.const 8
i32.add
i32.load
i32.store
local.get $0
i32.const 12
i32.add
local.get $1
i32.const 12
i32.add
i32.load
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
end
br $continue|1
end
end
end
local.get $2
i32.const 8
i32.and
if
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.get $1
i32.const 4
i32.add
i32.load
i32.store
local.get $0
i32.const 8
i32.add
local.set $0
local.get $1
i32.const 8
i32.add
local.set $1
end
local.get $2
i32.const 4
i32.and
if
local.get $0
local.get $1
i32.load
i32.store
local.get $0
i32.const 4
i32.add
local.set $0
local.get $1
i32.const 4
i32.add
local.set $1
end
local.get $2
i32.const 2
i32.and
if
local.get $0
local.get $1
i32.load16_u
i32.store16
local.get $0
i32.const 2
i32.add
local.set $0
local.get $1
i32.const 2
i32.add
local.set $1
end
local.get $2
i32.const 1
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
return
end
local.get $2
i32.const 32
i32.ge_u
if
block $break|2
block $case2|2
block $case1|2
block $case0|2
local.get $0
i32.const 3
i32.and
local.set $5
local.get $5
i32.const 1
i32.eq
br_if $case0|2
local.get $5
i32.const 2
i32.eq
br_if $case1|2
local.get $5
i32.const 3
i32.eq
br_if $case2|2
br $break|2
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 3
i32.sub
local.set $2
block $break|3
loop $continue|3
local.get $2
i32.const 17
i32.ge_u
if
block
local.get $1
i32.const 1
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 24
i32.shr_u
local.get $4
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 5
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 24
i32.shr_u
local.get $3
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 9
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 24
i32.shr_u
local.get $4
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 13
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 24
i32.shr_u
local.get $3
i32.const 8
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
end
br $continue|3
end
end
end
br $break|2
unreachable
end
unreachable
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 2
i32.sub
local.set $2
block $break|4
loop $continue|4
local.get $2
i32.const 18
i32.ge_u
if
block
local.get $1
i32.const 2
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 16
i32.shr_u
local.get $4
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 6
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 16
i32.shr_u
local.get $3
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 10
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 16
i32.shr_u
local.get $4
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 14
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 16
i32.shr_u
local.get $3
i32.const 16
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
end
br $continue|4
end
end
end
br $break|2
unreachable
end
unreachable
end
block
local.get $1
i32.load
local.set $3
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
local.get $2
i32.const 1
i32.sub
local.set $2
block $break|5
loop $continue|5
local.get $2
i32.const 19
i32.ge_u
if
block
local.get $1
i32.const 3
i32.add
i32.load
local.set $4
local.get $0
local.get $3
i32.const 8
i32.shr_u
local.get $4
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 7
i32.add
i32.load
local.set $3
local.get $0
i32.const 4
i32.add
local.get $4
i32.const 8
i32.shr_u
local.get $3
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 11
i32.add
i32.load
local.set $4
local.get $0
i32.const 8
i32.add
local.get $3
i32.const 8
i32.shr_u
local.get $4
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 15
i32.add
i32.load
local.set $3
local.get $0
i32.const 12
i32.add
local.get $4
i32.const 8
i32.shr_u
local.get $3
i32.const 24
i32.shl
i32.or
i32.store
local.get $1
i32.const 16
i32.add
local.set $1
local.get $0
i32.const 16
i32.add
local.set $0
local.get $2
i32.const 16
i32.sub
local.set $2
end
br $continue|5
end
end
end
br $break|2
unreachable
end
unreachable
end
end
local.get $2
i32.const 16
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 8
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 4
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 2
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
local.get $2
i32.const 1
i32.and
if
block (result i32)
local.get $0
local.tee $5
i32.const 1
i32.add
local.set $0
local.get $5
end
block (result i32)
local.get $1
local.tee $5
i32.const 1
i32.add
local.set $1
local.get $5
end
i32.load8_u
i32.store8
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/memory/memory.copy (; 17 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
2019-03-20 14:16:18 +01:00
(local $4 i32)
(local $5 i32)
2019-03-16 14:48:22 +01:00
block $~lib/util/memory/memmove|inlined.0
local.get $0
local.get $1
i32.eq
if
2019-03-16 14:48:22 +01:00
br $~lib/util/memory/memmove|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $1
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.le_u
2019-03-20 14:16:18 +01:00
local.tee $5
2019-03-16 14:48:22 +01:00
if (result i32)
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-17 00:11:16 +01:00
else
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.le_u
end
if
2019-03-17 00:11:16 +01:00
local.get $0
local.get $1
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/util/memory/memcpy
br $~lib/util/memory/memmove|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
local.get $1
2019-03-16 14:48:22 +01:00
i32.lt_u
if
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.const 7
i32.and
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 7
i32.and
i32.eq
if
block $break|0
loop $continue|0
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 7
i32.and
if
block
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.eqz
if
br $~lib/util/memory/memmove|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 1
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
2019-03-16 14:48:22 +01:00
block (result i32)
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-20 14:16:18 +01:00
local.tee $5
2019-03-16 14:48:22 +01:00
i32.const 1
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
end
block (result i32)
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-20 14:16:18 +01:00
local.tee $5
2019-03-16 14:48:22 +01:00
i32.const 1
i32.add
2019-03-17 00:11:16 +01:00
local.set $1
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
end
i32.load8_u
i32.store8
end
br $continue|0
end
end
end
block $break|1
loop $continue|1
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.ge_u
if
block
2019-03-17 00:11:16 +01:00
local.get $0
local.get $1
2019-03-16 14:48:22 +01:00
i64.load
i64.store
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 8
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
local.get $1
2019-03-16 14:48:22 +01:00
i32.const 8
i32.add
2019-03-17 00:11:16 +01:00
local.set $1
2019-03-16 14:48:22 +01:00
end
br $continue|1
end
end
end
end
block $break|2
loop $continue|2
2019-03-17 00:11:16 +01:00
local.get $2
if
block
block (result i32)
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-20 14:16:18 +01:00
local.tee $5
i32.const 1
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
2019-03-20 14:16:18 +01:00
local.get $5
end
block (result i32)
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-20 14:16:18 +01:00
local.tee $5
i32.const 1
i32.add
2019-03-17 00:11:16 +01:00
local.set $1
2019-03-20 14:16:18 +01:00
local.get $5
end
i32.load8_u
i32.store8
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 1
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
end
2019-03-16 14:48:22 +01:00
br $continue|2
end
end
end
2019-03-16 14:48:22 +01:00
else
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.const 7
i32.and
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 7
i32.and
i32.eq
if
block $break|3
loop $continue|3
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 7
i32.and
if
block
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.eqz
if
br $~lib/util/memory/memmove|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 1
i32.sub
2019-03-17 00:11:16 +01:00
local.tee $2
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.load8_u
i32.store8
end
br $continue|3
end
end
end
2019-03-16 14:48:22 +01:00
block $break|4
loop $continue|4
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.ge_u
if
block
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i64.load
i64.store
end
br $continue|4
end
2019-03-16 14:48:22 +01:00
end
end
end
block $break|5
loop $continue|5
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
if
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
i32.const 1
i32.sub
2019-03-17 00:11:16 +01:00
local.tee $2
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.load8_u
i32.store8
br $continue|5
end
end
end
end
2019-03-16 14:48:22 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/memory/memory.repeat (; 18 ;) (type $FUNCSIG$viiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
2019-03-16 14:48:22 +01:00
(local $4 i32)
(local $5 i32)
i32.const 0
local.set $4
local.get $2
local.get $3
i32.mul
local.set $5
block $break|0
loop $continue|0
local.get $4
local.get $5
i32.lt_u
if
block
local.get $0
2019-03-16 14:48:22 +01:00
local.get $4
i32.add
local.get $1
local.get $2
call $~lib/memory/memory.copy
local.get $4
2019-03-11 00:35:17 +01:00
local.get $2
i32.add
local.set $4
end
br $continue|0
end
end
end
2018-08-02 18:23:02 +02:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#padStart (; 19 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
(local $9 i32)
2019-03-11 00:35:17 +01:00
(local $10 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 281
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 01:29:12 +01:00
i32.const 1
i32.shl
local.set $3
2019-03-11 01:29:12 +01:00
local.get $1
i32.const 1
i32.shl
local.set $4
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 01:29:12 +01:00
i32.const 1
i32.shl
local.set $5
local.get $4
local.get $3
2019-03-11 01:29:12 +01:00
i32.lt_u
local.tee $6
if (result i32)
2019-03-11 01:29:12 +01:00
local.get $6
else
2019-03-11 01:29:12 +01:00
local.get $5
i32.eqz
end
if
local.get $0
return
end
2019-03-11 01:29:12 +01:00
local.get $4
local.get $3
i32.sub
local.set $7
2019-03-16 14:48:22 +01:00
block $~lib/runtime/ALLOCATE|inlined.2 (result i32)
local.get $4
local.set $6
local.get $6
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
2019-03-11 01:29:12 +01:00
local.set $8
local.get $7
local.get $5
i32.gt_u
if
2019-03-11 01:29:12 +01:00
local.get $7
i32.const 2
i32.sub
local.get $5
2019-03-11 01:29:12 +01:00
i32.div_u
local.set $6
local.get $6
2019-03-11 01:29:12 +01:00
local.get $5
i32.mul
local.set $9
local.get $7
2019-03-11 01:29:12 +01:00
local.get $9
i32.sub
local.set $10
local.get $8
local.get $2
local.get $5
2019-03-11 01:29:12 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.repeat
2019-03-11 01:29:12 +01:00
local.get $8
2019-03-16 14:48:22 +01:00
local.get $9
i32.add
local.get $2
2019-03-11 01:29:12 +01:00
local.get $10
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.copy
else
2019-03-11 01:29:12 +01:00
local.get $8
2019-03-16 14:48:22 +01:00
local.get $2
local.get $7
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.copy
2019-03-11 00:35:17 +01:00
end
2019-03-16 14:48:22 +01:00
local.get $8
local.get $7
i32.add
local.get $0
local.get $3
call $~lib/memory/memory.copy
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.2 (result i32)
2019-03-11 01:29:12 +01:00
local.get $8
local.set $10
local.get $10
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#padEnd (; 20 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
(local $9 i32)
2019-03-11 00:35:17 +01:00
(local $10 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 302
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 01:16:05 +01:00
i32.const 1
i32.shl
local.set $3
2019-03-11 01:16:05 +01:00
local.get $1
i32.const 1
i32.shl
local.set $4
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 01:16:05 +01:00
i32.const 1
i32.shl
local.set $5
local.get $4
local.get $3
2019-03-11 01:16:05 +01:00
i32.lt_u
local.tee $6
if (result i32)
2019-03-11 01:16:05 +01:00
local.get $6
else
2019-03-11 01:16:05 +01:00
local.get $5
i32.eqz
end
if
local.get $0
return
end
2019-03-11 01:16:05 +01:00
local.get $4
local.get $3
i32.sub
local.set $7
2019-03-16 14:48:22 +01:00
block $~lib/runtime/ALLOCATE|inlined.3 (result i32)
local.get $4
2019-03-11 01:16:05 +01:00
local.set $6
local.get $6
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
end
2019-03-16 14:48:22 +01:00
local.set $8
local.get $8
local.get $0
local.get $3
call $~lib/memory/memory.copy
2019-03-11 01:16:05 +01:00
local.get $7
local.get $5
i32.gt_u
if
2019-03-11 01:16:05 +01:00
local.get $7
i32.const 2
i32.sub
2019-03-11 01:16:05 +01:00
local.get $5
i32.div_u
2019-03-16 14:48:22 +01:00
local.set $6
local.get $6
2019-03-11 01:16:05 +01:00
local.get $5
i32.mul
2019-03-11 00:35:17 +01:00
local.set $9
2019-03-11 01:16:05 +01:00
local.get $7
2019-03-11 00:35:17 +01:00
local.get $9
i32.sub
2019-03-16 14:48:22 +01:00
local.set $10
2019-03-11 01:16:05 +01:00
local.get $8
local.get $3
2019-03-11 00:35:17 +01:00
i32.add
local.get $2
2019-03-11 00:35:17 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
local.get $6
call $~lib/memory/memory.repeat
local.get $8
local.get $3
i32.add
local.get $9
i32.add
local.get $2
2019-03-11 01:16:05 +01:00
local.get $10
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.copy
else
2019-03-11 01:16:05 +01:00
local.get $8
local.get $3
2019-03-11 00:35:17 +01:00
i32.add
local.get $2
2019-03-11 01:16:05 +01:00
local.get $7
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.copy
2019-03-11 00:35:17 +01:00
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.3 (result i32)
2019-03-11 01:16:05 +01:00
local.get $8
local.set $10
local.get $10
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#lastIndexOf (; 21 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 149
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $1
i32.const 0
i32.eq
if
2019-03-26 23:35:08 +01:00
i32.const 312
local.set $1
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $4
local.get $4
i32.eqz
if
local.get $3
return
end
local.get $3
i32.eqz
if
i32.const -1
return
end
local.get $2
local.tee $5
i32.const 0
local.tee $6
local.get $5
local.get $6
i32.gt_s
select
local.tee $5
local.get $3
local.get $4
i32.sub
local.tee $6
local.get $5
local.get $6
i32.lt_s
select
local.set $7
block $break|0
local.get $7
local.set $5
loop $repeat|0
local.get $5
i32.const 0
i32.ge_s
i32.eqz
br_if $break|0
local.get $0
local.get $5
local.get $1
i32.const 0
local.get $4
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.eqz
if
local.get $5
return
end
local.get $5
i32.const 1
i32.sub
local.set $5
br $repeat|0
unreachable
end
unreachable
end
i32.const -1
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/string/parse<f64> (; 22 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 f64)
(local $6 i32)
(local $7 f64)
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $2
local.get $2
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $0
local.set $3
local.get $3
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $4
local.get $4
i32.const 45
i32.eq
if
local.get $2
i32.const 1
i32.sub
local.tee $2
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $3
i32.const 2
i32.add
local.tee $3
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $4
f64.const -1
local.set $5
else
local.get $4
i32.const 43
i32.eq
if
local.get $2
i32.const 1
i32.sub
local.tee $2
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $3
i32.const 2
i32.add
local.tee $3
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $4
f64.const 1
local.set $5
else
f64.const 1
local.set $5
end
end
local.get $1
i32.eqz
if
local.get $4
i32.const 48
i32.eq
local.tee $6
if (result i32)
local.get $2
i32.const 2
i32.gt_s
else
local.get $6
end
if
block $break|0
block $case6|0
block $case5|0
block $case4|0
block $case3|0
block $case2|0
block $case1|0
block $case0|0
local.get $3
i32.const 2
i32.add
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $6
local.get $6
i32.const 66
i32.eq
br_if $case0|0
local.get $6
i32.const 98
i32.eq
br_if $case1|0
local.get $6
i32.const 79
i32.eq
br_if $case2|0
local.get $6
i32.const 111
i32.eq
br_if $case3|0
local.get $6
i32.const 88
i32.eq
br_if $case4|0
local.get $6
i32.const 120
i32.eq
br_if $case5|0
br $case6|0
end
end
block
local.get $3
i32.const 4
i32.add
local.set $3
local.get $2
i32.const 2
i32.sub
local.set $2
i32.const 2
local.set $1
br $break|0
unreachable
end
unreachable
end
end
block
local.get $3
i32.const 4
i32.add
local.set $3
local.get $2
i32.const 2
i32.sub
local.set $2
i32.const 8
local.set $1
br $break|0
unreachable
end
unreachable
end
end
block
local.get $3
i32.const 4
i32.add
local.set $3
local.get $2
i32.const 2
i32.sub
local.set $2
i32.const 16
local.set $1
br $break|0
unreachable
end
unreachable
end
i32.const 10
local.set $1
end
else
i32.const 10
local.set $1
end
else
local.get $1
i32.const 2
i32.lt_s
local.tee $6
if (result i32)
local.get $6
else
local.get $1
i32.const 36
i32.gt_s
end
if
f64.const nan:0x8000000000000
return
end
end
f64.const 0
local.set $7
block $break|1
loop $continue|1
block (result i32)
local.get $2
local.tee $6
i32.const 1
i32.sub
local.set $2
local.get $6
end
if
block
local.get $3
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $4
local.get $4
i32.const 48
i32.ge_s
local.tee $6
if (result i32)
local.get $4
i32.const 57
i32.le_s
else
local.get $6
end
if
local.get $4
i32.const 48
i32.sub
local.set $4
else
local.get $4
i32.const 65
i32.ge_s
local.tee $6
if (result i32)
local.get $4
i32.const 90
i32.le_s
else
local.get $6
end
if
local.get $4
i32.const 65
i32.const 10
i32.sub
i32.sub
local.set $4
else
local.get $4
i32.const 97
i32.ge_s
local.tee $6
if (result i32)
local.get $4
i32.const 122
i32.le_s
else
local.get $6
end
if
local.get $4
i32.const 97
i32.const 10
i32.sub
i32.sub
local.set $4
else
br $break|1
end
end
end
local.get $4
local.get $1
i32.ge_s
if
br $break|1
end
local.get $7
local.get $1
f64.convert_i32_s
f64.mul
local.get $4
f64.convert_i32_s
f64.add
local.set $7
local.get $3
i32.const 2
i32.add
local.set $3
end
br $continue|1
end
end
end
local.get $5
local.get $7
f64.mul
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/parseInt (; 23 ;) (type $FUNCSIG$dii) (param $0 i32) (param $1 i32) (result f64)
local.get $0
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/util/string/parse<f64>
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/parseFloat (; 24 ;) (type $FUNCSIG$di) (param $0 i32) (result f64)
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 f64)
(local $5 f64)
(local $6 i32)
(local $7 f64)
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $1
local.get $1
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $0
local.set $2
local.get $2
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $3
local.get $3
i32.const 45
i32.eq
if
local.get $1
i32.const 1
i32.sub
local.tee $1
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $2
i32.const 2
i32.add
local.tee $2
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $3
f64.const -1
local.set $4
else
local.get $3
i32.const 43
i32.eq
if
local.get $1
i32.const 1
i32.sub
local.tee $1
i32.eqz
if
f64.const nan:0x8000000000000
return
end
local.get $2
i32.const 2
i32.add
local.tee $2
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $3
f64.const 1
local.set $4
else
f64.const 1
local.set $4
end
end
f64.const 0
local.set $5
block $break|0
loop $continue|0
block (result i32)
local.get $1
local.tee $6
i32.const 1
i32.sub
local.set $1
local.get $6
end
if
block
local.get $2
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $3
local.get $3
i32.const 46
i32.eq
if
local.get $2
i32.const 2
i32.add
local.set $2
f64.const 0.1
local.set $7
block $break|1
loop $continue|1
block (result i32)
local.get $1
local.tee $6
i32.const 1
i32.sub
local.set $1
local.get $6
end
if
block
local.get $2
2019-03-11 00:35:17 +01:00
i32.load16_u
local.set $3
local.get $3
i32.const 69
i32.eq
local.tee $6
if (result i32)
local.get $6
else
local.get $3
i32.const 101
i32.eq
end
if
i32.const 0
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 569
i32.const 10
call $~lib/env/abort
unreachable
end
end
local.get $3
i32.const 48
i32.sub
local.set $3
local.get $3
i32.const 9
i32.gt_u
if
br $break|1
end
local.get $5
local.get $3
f64.convert_i32_s
local.get $7
f64.mul
f64.add
local.set $5
local.get $7
f64.const 0.1
f64.mul
local.set $7
local.get $2
i32.const 2
i32.add
local.set $2
end
br $continue|1
end
end
end
br $break|0
end
local.get $3
i32.const 48
i32.sub
local.set $3
local.get $3
i32.const 10
i32.ge_u
if
br $break|0
end
local.get $5
f64.const 10
f64.mul
local.get $3
f64.convert_i32_s
f64.add
local.set $5
local.get $2
i32.const 2
i32.add
local.set $2
end
br $continue|0
end
end
end
local.get $4
local.get $5
f64.mul
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#concat (; 25 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
2019-03-11 00:35:17 +01:00
(local $6 i32)
local.get $1
i32.const 0
i32.eq
if
2019-03-26 23:35:08 +01:00
i32.const 312
local.set $1
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
local.set $2
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
local.set $3
local.get $2
local.get $3
i32.add
local.set $4
local.get $4
i32.const 0
i32.eq
if
2019-03-26 23:35:08 +01:00
i32.const 416
return
end
2019-03-16 14:48:22 +01:00
block $~lib/runtime/ALLOCATE|inlined.4 (result i32)
local.get $4
local.set $5
2019-03-11 00:35:17 +01:00
local.get $5
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-11 00:35:17 +01:00
end
2019-03-16 14:48:22 +01:00
local.set $6
local.get $6
local.get $0
local.get $2
call $~lib/memory/memory.copy
local.get $6
local.get $2
i32.add
local.get $1
local.get $3
call $~lib/memory/memory.copy
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.4 (result i32)
2019-03-11 00:35:17 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
local.set $5
local.get $5
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__concat (; 26 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
2019-03-26 23:35:08 +01:00
i32.const 312
local.get $0
2019-03-18 00:40:55 +01:00
i32.const 0
i32.ne
select
local.get $1
call $~lib/string/String#concat
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__ne (; 27 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__gt (; 28 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
local.get $0
local.get $1
i32.eq
local.tee $2
if (result i32)
local.get $2
else
local.get $0
i32.const 0
i32.eq
end
local.tee $2
if (result i32)
local.get $2
else
local.get $1
i32.const 0
i32.eq
end
if
i32.const 0
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $4
local.get $3
i32.eqz
if
i32.const 0
return
end
local.get $4
i32.eqz
if
i32.const 1
return
end
2019-03-11 00:35:17 +01:00
local.get $0
i32.const 0
local.get $1
i32.const 0
local.get $3
local.tee $2
local.get $4
local.tee $5
local.get $2
local.get $5
i32.lt_s
select
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.const 0
i32.gt_s
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__lt (; 29 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
local.get $0
local.get $1
i32.eq
local.tee $2
if (result i32)
local.get $2
else
local.get $0
i32.const 0
i32.eq
end
local.tee $2
if (result i32)
local.get $2
else
local.get $1
i32.const 0
i32.eq
end
if
i32.const 0
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $4
local.get $4
i32.eqz
if
i32.const 0
return
end
local.get $3
i32.eqz
if
i32.const 1
return
end
2019-03-11 00:35:17 +01:00
local.get $0
i32.const 0
local.get $1
i32.const 0
local.get $3
local.tee $2
local.get $4
local.tee $5
local.get $2
local.get $5
i32.lt_s
select
2019-03-16 14:48:22 +01:00
call $~lib/util/string/compareImpl
i32.const 0
i32.lt_s
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__gte (; 30 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String.__lte (; 31 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $0
local.get $1
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#repeat (; 32 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2018-04-07 19:59:26 +03:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 323
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $2
local.get $1
i32.const 0
i32.lt_s
local.tee $3
if (result i32)
local.get $3
else
local.get $2
2019-03-11 00:35:17 +01:00
i64.extend_i32_s
local.get $1
2019-03-11 00:35:17 +01:00
i64.extend_i32_s
i64.mul
i64.const 1
i64.const 28
i64.shl
i64.gt_u
end
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 328
i32.const 6
call $~lib/env/abort
unreachable
end
local.get $1
i32.const 0
i32.eq
local.tee $3
if (result i32)
local.get $3
else
local.get $2
i32.eqz
end
if
2019-03-26 23:35:08 +01:00
i32.const 416
return
end
local.get $1
i32.const 1
i32.eq
if
local.get $0
return
end
2019-03-16 14:48:22 +01:00
block $~lib/runtime/ALLOCATE|inlined.5 (result i32)
local.get $2
local.get $1
i32.mul
i32.const 1
i32.shl
local.set $3
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $4
local.get $4
local.get $0
2019-03-11 00:35:17 +01:00
local.get $2
i32.const 1
i32.shl
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.repeat
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.5 (result i32)
2019-03-11 00:35:17 +01:00
local.get $4
local.set $3
local.get $3
2019-03-16 14:48:22 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-16 14:48:22 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#slice (; 33 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
2019-03-16 14:48:22 +01:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
local.get $0
call $~lib/string/String#get:length
local.set $3
local.get $1
i32.const 0
i32.lt_s
if (result i32)
local.get $1
local.get $3
i32.add
local.tee $4
i32.const 0
local.tee $5
local.get $4
local.get $5
i32.gt_s
select
else
local.get $1
local.tee $4
local.get $3
local.tee $5
local.get $4
local.get $5
i32.lt_s
select
end
local.set $6
local.get $2
i32.const 0
i32.lt_s
if (result i32)
local.get $2
local.get $3
i32.add
local.tee $4
i32.const 0
local.tee $5
local.get $4
local.get $5
i32.gt_s
select
else
local.get $2
local.tee $4
local.get $3
local.tee $5
local.get $4
local.get $5
i32.lt_s
select
end
local.set $7
local.get $7
local.get $6
i32.sub
local.set $3
local.get $3
i32.const 0
i32.le_s
if
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-16 14:48:22 +01:00
return
end
block $~lib/runtime/ALLOCATE|inlined.6 (result i32)
local.get $3
i32.const 1
i32.shl
local.set $4
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $8
local.get $8
local.get $0
local.get $6
i32.const 1
i32.shl
i32.add
local.get $3
i32.const 1
i32.shl
call $~lib/memory/memory.copy
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.6 (result i32)
2019-03-16 14:48:22 +01:00
local.get $8
local.set $4
local.get $4
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-16 14:48:22 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/collector/dummy/__ref_link (; 34 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
2019-03-26 23:35:08 +01:00
nop
)
2019-03-27 17:21:52 +01:00
(func $~lib/collector/dummy/__ref_unlink (; 35 ;) (type $FUNCSIG$vii) (param $0 i32) (param $1 i32)
2019-03-26 23:35:08 +01:00
nop
)
2019-03-27 17:21:52 +01:00
(func $~lib/runtime/makeArray (; 36 ;) (type $FUNCSIG$iiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
2019-03-26 23:35:08 +01:00
(local $7 i32)
(local $8 i32)
(local $9 i32)
i32.const 16
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-27 14:43:35 +01:00
local.get $1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
local.set $4
local.get $0
2019-03-27 14:43:35 +01:00
local.get $2
i32.shl
local.set $5
local.get $0
2019-03-27 14:43:35 +01:00
local.get $2
i32.shl
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
i32.const 3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
local.set $6
local.get $4
2019-03-26 23:35:08 +01:00
local.tee $7
local.get $6
2019-03-26 23:35:08 +01:00
local.tee $8
local.get $7
i32.load
local.tee $9
i32.ne
if (result i32)
local.get $9
if
local.get $9
local.get $7
call $~lib/collector/dummy/__ref_unlink
end
local.get $8
local.get $7
call $~lib/collector/dummy/__ref_link
local.get $8
else
local.get $8
end
i32.store
local.get $4
local.get $6
i32.store offset=4
local.get $4
local.get $5
i32.store offset=8
local.get $4
local.get $0
i32.store offset=12
2019-03-27 14:43:35 +01:00
local.get $3
if
local.get $6
2019-03-27 14:43:35 +01:00
local.get $3
local.get $5
call $~lib/memory/memory.copy
end
local.get $4
)
2019-03-27 17:21:52 +01:00
(func $~lib/memory/memory.fill (; 37 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-16 14:48:22 +01:00
(local $3 i32)
(local $4 i32)
2019-03-20 14:16:18 +01:00
(local $5 i32)
(local $6 i64)
2019-03-16 14:48:22 +01:00
block $~lib/util/memory/memset|inlined.0
local.get $2
i32.eqz
if
br $~lib/util/memory/memset|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 1
i32.sub
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 2
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 1
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 2
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 2
i32.sub
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 3
i32.sub
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 6
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 3
i32.add
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 4
i32.sub
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.store8
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
i32.const 0
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.sub
i32.const 3
i32.and
2019-03-20 14:16:18 +01:00
local.set $5
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
local.get $2
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
i32.const -4
i32.and
2019-03-17 00:11:16 +01:00
local.set $2
2019-03-16 14:48:22 +01:00
i32.const -1
i32.const 255
i32.div_u
2019-03-17 00:11:16 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.const 255
i32.and
i32.mul
2019-03-17 00:11:16 +01:00
local.set $4
local.get $0
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 4
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 8
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 4
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 8
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 12
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 8
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 24
i32.le_u
if
br $~lib/util/memory/memset|inlined.0
end
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 12
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 16
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 20
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 24
i32.add
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-11 00:35:17 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 28
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-01-10 19:10:23 +08:00
i32.add
2019-03-16 14:48:22 +01:00
i32.const 24
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 20
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
2019-03-17 00:11:16 +01:00
local.get $0
local.get $2
2019-03-16 14:48:22 +01:00
i32.add
i32.const 16
i32.sub
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i32.store
i32.const 24
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 4
i32.and
2019-01-10 19:10:23 +08:00
i32.add
2019-03-20 14:16:18 +01:00
local.set $5
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-11 00:35:17 +01:00
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
local.get $2
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
local.get $4
2019-03-16 14:48:22 +01:00
i64.extend_i32_u
2019-03-17 00:11:16 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
i64.extend_i32_u
i64.const 32
i64.shl
i64.or
2019-03-20 14:16:18 +01:00
local.set $6
2019-03-16 14:48:22 +01:00
block $break|0
loop $continue|0
2019-03-17 00:11:16 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 32
i32.ge_u
if
block
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-20 14:16:18 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
i64.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 8
i32.add
2019-03-20 14:16:18 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
i64.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 16
i32.add
2019-03-20 14:16:18 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
i64.store
2019-03-17 00:11:16 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 24
i32.add
2019-03-20 14:16:18 +01:00
local.get $6
2019-03-17 00:11:16 +01:00
i64.store
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 32
i32.sub
2019-03-17 00:11:16 +01:00
local.set $2
local.get $0
2019-03-16 14:48:22 +01:00
i32.const 32
i32.add
2019-03-17 00:11:16 +01:00
local.set $0
2019-03-16 14:48:22 +01:00
end
br $continue|0
end
2019-03-11 00:35:17 +01:00
end
end
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/allocator/arena/__mem_free (; 38 ;) (type $FUNCSIG$vi) (param $0 i32)
nop
)
(func $~lib/memory/memory.free (; 39 ;) (type $FUNCSIG$vi) (param $0 i32)
2019-03-16 14:48:22 +01:00
local.get $0
2019-03-27 17:21:52 +01:00
call $~lib/allocator/arena/__mem_free
)
2019-03-27 17:21:52 +01:00
(func $~lib/runtime/reallocate (; 40 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $2 i32)
(local $3 i32)
(local $4 i32)
(local $5 i32)
2019-02-06 23:42:43 +01:00
(local $6 i32)
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
i32.sub
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
i32.load offset=4
local.set $3
local.get $3
local.get $1
i32.lt_u
if
local.get $1
2019-03-17 00:11:16 +01:00
call $~lib/runtime/ADJUSTOBLOCK
2019-03-16 14:48:22 +01:00
local.set $4
local.get $3
2019-03-17 00:11:16 +01:00
call $~lib/runtime/ADJUSTOBLOCK
2019-03-16 14:48:22 +01:00
i32.const 0
local.get $0
global.get $~lib/memory/HEAP_BASE
i32.gt_u
select
local.get $4
i32.lt_u
if
2019-03-16 14:48:22 +01:00
local.get $4
call $~lib/memory/memory.allocate
local.set $5
local.get $5
local.get $2
i32.load
i32.store
2019-03-16 14:48:22 +01:00
local.get $5
2019-03-26 23:35:08 +01:00
i32.const 0
i32.store offset=8
local.get $5
i32.const 0
i32.store offset=12
local.get $5
2019-03-16 14:48:22 +01:00
global.get $~lib/runtime/HEADER_SIZE
i32.add
local.set $6
local.get $6
local.get $0
local.get $3
call $~lib/memory/memory.copy
local.get $6
local.get $3
i32.add
i32.const 0
local.get $1
2019-03-16 14:48:22 +01:00
local.get $3
i32.sub
call $~lib/memory/memory.fill
local.get $2
i32.load
global.get $~lib/runtime/HEADER_MAGIC
i32.eq
if
2019-02-06 23:42:43 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
global.get $~lib/memory/HEAP_BASE
i32.gt_u
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 120
2019-03-27 17:21:52 +01:00
i32.const 113
2019-03-16 14:48:22 +01:00
i32.const 8
call $~lib/env/abort
unreachable
end
2019-02-06 23:42:43 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.free
else
2019-03-26 23:35:08 +01:00
local.get $0
call $~lib/collector/dummy/__ref_register
2019-02-06 23:42:43 +01:00
end
2019-03-16 14:48:22 +01:00
local.get $5
local.set $2
local.get $6
2019-02-06 23:42:43 +01:00
local.set $0
2019-03-16 14:48:22 +01:00
else
local.get $0
2019-03-16 14:48:22 +01:00
local.get $3
2019-02-06 23:42:43 +01:00
i32.add
i32.const 0
local.get $1
local.get $3
2019-03-16 14:48:22 +01:00
i32.sub
call $~lib/memory/memory.fill
end
else
2019-03-16 14:48:22 +01:00
nop
end
2019-03-16 14:48:22 +01:00
local.get $2
local.get $1
i32.store offset=4
local.get $0
2018-07-13 16:40:37 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/ensureCapacity (; 41 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
(local $3 i32)
2018-10-18 20:05:35 +03:00
(local $4 i32)
(local $5 i32)
(local $6 i32)
2019-03-26 23:35:08 +01:00
(local $7 i32)
(local $8 i32)
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
2019-03-18 16:09:49 +01:00
i32.load offset=8
local.get $2
i32.shr_u
2019-03-16 14:48:22 +01:00
i32.gt_u
if
2019-03-16 14:48:22 +01:00
local.get $1
global.get $~lib/runtime/MAX_BYTELENGTH
local.get $2
i32.shr_u
2019-03-16 14:48:22 +01:00
i32.gt_u
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 1912
i32.const 13
2019-03-18 00:40:55 +01:00
i32.const 64
call $~lib/env/abort
unreachable
end
2019-03-18 16:09:49 +01:00
local.get $0
i32.load
local.set $3
2019-03-16 14:48:22 +01:00
local.get $1
local.get $2
i32.shl
2019-03-18 16:09:49 +01:00
local.set $4
2019-03-16 14:48:22 +01:00
block $~lib/runtime/REALLOCATE|inlined.0 (result i32)
local.get $3
2019-03-16 14:48:22 +01:00
local.set $6
2019-03-20 14:16:18 +01:00
local.get $4
local.set $5
2019-03-16 14:48:22 +01:00
local.get $6
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-26 23:35:08 +01:00
call $~lib/runtime/reallocate
2019-03-16 14:48:22 +01:00
end
2019-03-20 14:16:18 +01:00
local.set $5
local.get $5
local.get $3
2019-03-16 14:48:22 +01:00
i32.ne
if
local.get $0
2019-03-26 23:35:08 +01:00
local.tee $6
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-26 23:35:08 +01:00
local.tee $7
local.get $6
i32.load
local.tee $8
i32.ne
if (result i32)
local.get $8
if
local.get $8
local.get $6
call $~lib/collector/dummy/__ref_unlink
end
local.get $7
local.get $6
call $~lib/collector/dummy/__ref_link
local.get $7
else
local.get $7
end
2019-03-16 14:48:22 +01:00
i32.store
local.get $0
2019-03-20 14:16:18 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
i32.store offset=4
end
2019-03-17 12:25:54 +01:00
local.get $0
2019-03-18 16:09:49 +01:00
local.get $4
2019-03-17 12:25:54 +01:00
i32.store offset=8
2019-03-16 14:48:22 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<~lib/string/String>#push (; 42 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-16 14:48:22 +01:00
(local $2 i32)
2019-03-26 23:35:08 +01:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
2019-03-16 14:48:22 +01:00
local.get $0
i32.load offset=12
2019-03-26 23:35:08 +01:00
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
i32.const 1
i32.add
2019-03-26 23:35:08 +01:00
local.set $3
2019-03-16 14:48:22 +01:00
local.get $0
2019-03-26 23:35:08 +01:00
local.get $3
i32.const 2
2019-03-18 00:40:55 +01:00
call $~lib/array/ensureCapacity
2019-03-16 14:48:22 +01:00
local.get $0
2019-03-26 23:35:08 +01:00
i32.load offset=4
2019-03-16 14:48:22 +01:00
local.get $2
2019-03-26 23:35:08 +01:00
i32.const 2
i32.shl
i32.add
local.set $4
local.get $4
i32.load
local.set $5
local.get $5
local.get $1
i32.ne
if
local.get $4
local.get $1
i32.store
local.get $1
local.get $0
call $~lib/collector/dummy/__ref_link
local.get $5
i32.const 0
i32.ne
if
local.get $5
local.get $0
call $~lib/collector/dummy/__ref_unlink
end
end
local.get $0
local.get $3
2019-03-16 14:48:22 +01:00
i32.store offset=12
2019-03-26 23:35:08 +01:00
local.get $3
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<~lib/string/String>#__unchecked_set (; 43 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2019-03-26 23:35:08 +01:00
(local $3 i32)
(local $4 i32)
2019-03-16 14:48:22 +01:00
local.get $0
i32.load offset=4
2019-03-26 23:35:08 +01:00
local.get $1
2019-03-16 14:48:22 +01:00
i32.const 2
i32.shl
i32.add
2019-03-26 23:35:08 +01:00
local.set $3
local.get $3
i32.load
local.set $4
2019-03-16 14:48:22 +01:00
local.get $2
2019-03-26 23:35:08 +01:00
local.get $4
i32.ne
if
local.get $3
local.get $2
i32.store
local.get $4
i32.const 0
i32.ne
if
local.get $4
local.get $0
call $~lib/collector/dummy/__ref_unlink
end
local.get $2
local.get $0
call $~lib/collector/dummy/__ref_link
end
2019-03-16 14:48:22 +01:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#split (; 44 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
2018-07-13 16:40:37 +03:00
(local $3 i32)
(local $4 i32)
2018-10-18 20:05:35 +03:00
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
(local $9 i32)
(local $10 i32)
(local $11 i32)
(local $12 i32)
(local $13 i32)
(local $14 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 350
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $2
i32.eqz
if
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.0 (result i32)
i32.const 0
local.set $4
i32.const 0
local.set $3
local.get $4
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
return
end
local.get $1
i32.const 0
i32.eq
if
block (result i32)
2019-03-27 14:43:35 +01:00
i32.const 1
i32.const 2
i32.const 2
i32.const 0
call $~lib/runtime/makeArray
local.set $3
local.get $3
i32.load offset=4
local.set $4
local.get $4
2019-03-26 23:35:08 +01:00
block (result i32)
local.get $0
2019-03-27 14:43:35 +01:00
local.set $5
local.get $5
2019-03-26 23:35:08 +01:00
local.get $3
call $~lib/collector/dummy/__ref_link
2019-03-27 14:43:35 +01:00
local.get $5
2019-03-26 23:35:08 +01:00
end
i32.store
local.get $3
end
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-27 14:43:35 +01:00
local.set $6
local.get $1
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-27 14:43:35 +01:00
local.set $7
local.get $2
i32.const 0
i32.lt_s
if
global.get $~lib/builtins/i32.MAX_VALUE
local.set $2
end
2019-03-27 14:43:35 +01:00
local.get $7
i32.eqz
if
2019-03-27 14:43:35 +01:00
local.get $6
i32.eqz
if
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.1 (result i32)
i32.const 0
local.set $3
i32.const 0
local.set $4
local.get $3
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
return
end
2019-03-27 14:43:35 +01:00
local.get $6
local.tee $4
local.get $2
local.tee $3
local.get $4
local.get $3
i32.lt_s
select
2019-03-27 14:43:35 +01:00
local.set $6
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.2 (result i32)
2019-03-27 14:43:35 +01:00
local.get $6
local.set $3
i32.const 0
local.set $4
local.get $3
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
local.set $4
local.get $4
2019-03-16 14:48:22 +01:00
i32.load offset=4
local.set $3
block $break|0
i32.const 0
2019-03-27 14:43:35 +01:00
local.set $5
loop $repeat|0
2019-03-27 14:43:35 +01:00
local.get $5
local.get $6
i32.lt_s
i32.eqz
br_if $break|0
block
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.7 (result i32)
block $~lib/runtime/ALLOCATE|inlined.7 (result i32)
i32.const 2
local.set $9
local.get $9
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
end
2019-03-27 14:43:35 +01:00
local.set $8
local.get $8
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-16 14:48:22 +01:00
end
2019-03-27 14:43:35 +01:00
local.set $8
local.get $8
local.get $0
2019-03-27 14:43:35 +01:00
local.get $5
i32.const 1
i32.shl
i32.add
2019-03-11 00:35:17 +01:00
i32.load16_u
i32.store16
local.get $3
2019-03-27 14:43:35 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
i32.const 2
i32.shl
i32.add
2019-03-27 14:43:35 +01:00
local.get $8
2019-03-18 00:40:55 +01:00
i32.store
2019-03-27 14:43:35 +01:00
local.get $8
2019-03-26 23:35:08 +01:00
local.get $4
call $~lib/collector/dummy/__ref_link
end
2019-03-27 14:43:35 +01:00
local.get $5
i32.const 1
i32.add
2019-03-27 14:43:35 +01:00
local.set $5
br $repeat|0
unreachable
end
unreachable
end
local.get $4
return
else
2019-03-27 14:43:35 +01:00
local.get $6
i32.eqz
if
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.3 (result i32)
i32.const 1
local.set $4
i32.const 0
local.set $3
local.get $4
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
local.set $3
local.get $3
2019-03-16 14:48:22 +01:00
i32.load offset=4
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-16 14:48:22 +01:00
i32.store
local.get $3
return
end
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.4 (result i32)
i32.const 0
local.set $4
i32.const 0
local.set $3
local.get $4
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
2019-03-16 14:48:22 +01:00
local.set $10
i32.const 0
2019-03-16 14:48:22 +01:00
local.set $11
i32.const 0
2019-03-16 14:48:22 +01:00
local.set $12
i32.const 0
2019-03-16 14:48:22 +01:00
local.set $13
block $break|1
loop $continue|1
local.get $0
local.get $1
local.tee $3
if (result i32)
local.get $3
else
unreachable
end
2019-03-16 14:48:22 +01:00
local.get $12
call $~lib/string/String#indexOf
2019-03-16 14:48:22 +01:00
local.tee $11
i32.const -1
i32.ne
if
block
2019-03-16 14:48:22 +01:00
local.get $11
local.get $12
i32.sub
local.set $3
local.get $3
i32.const 0
i32.gt_s
if
block $~lib/runtime/ALLOCATE|inlined.8 (result i32)
local.get $3
2019-03-16 14:48:22 +01:00
i32.const 1
i32.shl
local.set $4
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $4
local.get $4
2019-03-16 14:48:22 +01:00
local.get $0
local.get $12
i32.const 1
i32.shl
i32.add
local.get $3
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
2019-03-16 14:48:22 +01:00
call $~lib/memory/memory.copy
local.get $10
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.8 (result i32)
local.get $4
2019-03-27 14:43:35 +01:00
local.set $5
local.get $5
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
call $~lib/array/Array<~lib/string/String>#push
drop
else
2019-03-16 14:48:22 +01:00
local.get $10
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/array/Array<~lib/string/String>#push
drop
end
2019-03-16 14:48:22 +01:00
local.get $13
i32.const 1
i32.add
2019-03-16 14:48:22 +01:00
local.tee $13
local.get $2
i32.eq
if
2019-03-16 14:48:22 +01:00
local.get $10
return
end
2019-03-16 14:48:22 +01:00
local.get $11
2019-03-27 14:43:35 +01:00
local.get $7
i32.add
2019-03-16 14:48:22 +01:00
local.set $12
end
br $continue|1
end
end
end
2019-03-16 14:48:22 +01:00
local.get $12
i32.eqz
if
2019-03-27 16:10:59 +01:00
block $~lib/runtime/MAKEARRAY<~lib/string/String>|inlined.5 (result i32)
i32.const 1
local.set $4
i32.const 0
local.set $3
local.get $4
i32.const 2
i32.const 2
2019-03-27 14:43:35 +01:00
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/makeArray
end
local.set $3
local.get $3
2019-03-26 23:35:08 +01:00
i32.const 0
local.get $0
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#__unchecked_set
local.get $3
return
end
2019-03-27 14:43:35 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
local.get $12
i32.sub
2019-03-16 14:48:22 +01:00
local.set $14
local.get $14
i32.const 0
i32.gt_s
if
block $~lib/runtime/ALLOCATE|inlined.9 (result i32)
2019-03-16 14:48:22 +01:00
local.get $14
i32.const 1
i32.shl
local.set $3
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $3
local.get $3
2019-03-16 14:48:22 +01:00
local.get $0
local.get $12
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
2019-03-16 14:48:22 +01:00
i32.add
local.get $14
i32.const 1
i32.shl
call $~lib/memory/memory.copy
local.get $10
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.9 (result i32)
2019-03-11 00:35:17 +01:00
local.get $3
local.set $4
local.get $4
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
call $~lib/array/Array<~lib/string/String>#push
drop
else
2019-03-16 14:48:22 +01:00
local.get $10
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/array/Array<~lib/string/String>#push
drop
end
2019-03-16 14:48:22 +01:00
local.get $10
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<~lib/string/String>#get:length (; 45 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
local.get $0
2019-03-16 14:48:22 +01:00
i32.load offset=12
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<~lib/string/String>#__unchecked_get (; 46 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 2
i32.shl
i32.add
i32.load
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<~lib/string/String>#__get (; 47 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
local.get $1
local.get $0
i32.load offset=12
i32.ge_u
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 1912
i32.const 95
i32.const 45
call $~lib/env/abort
unreachable
end
2019-03-18 16:09:49 +01:00
local.get $1
local.get $0
i32.load offset=8
i32.const 2
i32.shr_u
i32.ge_u
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 1912
i32.const 98
2019-03-18 16:09:49 +01:00
i32.const 61
call $~lib/env/abort
unreachable
end
local.get $0
local.get $1
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#__unchecked_get
2019-03-18 16:09:49 +01:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/decimalCount32 (; 48 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
local.get $0
i32.const 100000
i32.lt_u
if
local.get $0
i32.const 100
i32.lt_u
if
i32.const 1
i32.const 2
local.get $0
i32.const 10
i32.lt_u
select
return
else
i32.const 4
i32.const 5
local.get $0
i32.const 10000
i32.lt_u
select
local.set $1
i32.const 3
local.get $1
local.get $0
i32.const 1000
i32.lt_u
select
return
end
unreachable
unreachable
else
local.get $0
i32.const 10000000
i32.lt_u
if
i32.const 6
i32.const 7
local.get $0
i32.const 1000000
i32.lt_u
select
return
else
i32.const 9
i32.const 10
local.get $0
i32.const 1000000000
i32.lt_u
select
local.set $1
i32.const 8
local.get $1
local.get $0
i32.const 100000000
i32.lt_u
select
return
end
unreachable
unreachable
end
unreachable
unreachable
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/utoa32_lut (; 49 ;) (type $FUNCSIG$viii) (param $0 i32) (param $1 i32) (param $2 i32)
2018-10-18 20:05:35 +03:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
2019-03-16 14:48:22 +01:00
(local $8 i64)
(local $9 i64)
2019-03-26 23:35:08 +01:00
i32.const 2608
2019-03-16 14:48:22 +01:00
i32.load offset=4
local.set $3
block $break|0
loop $continue|0
local.get $1
i32.const 10000
i32.ge_u
if
block
local.get $1
i32.const 10000
i32.div_u
local.set $4
local.get $1
i32.const 10000
i32.rem_u
local.set $5
2019-03-16 14:48:22 +01:00
local.get $4
local.set $1
local.get $5
i32.const 100
i32.div_u
local.set $6
local.get $5
i32.const 100
i32.rem_u
local.set $7
local.get $3
local.get $6
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $8
local.get $3
local.get $7
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $9
local.get $2
i32.const 4
i32.sub
local.set $2
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $8
local.get $9
i64.const 32
i64.shl
i64.or
2019-03-11 00:35:17 +01:00
i64.store
end
br $continue|0
end
end
end
local.get $1
i32.const 100
i32.ge_u
if
local.get $1
i32.const 100
i32.div_u
local.set $7
local.get $1
i32.const 100
i32.rem_u
local.set $6
local.get $7
local.set $1
local.get $2
i32.const 2
i32.sub
local.set $2
2019-03-16 14:48:22 +01:00
local.get $3
local.get $6
i32.const 2
i32.shl
i32.add
i32.load
local.set $5
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $5
2019-03-11 00:35:17 +01:00
i32.store
end
local.get $1
i32.const 10
i32.ge_u
if
local.get $2
i32.const 2
i32.sub
local.set $2
2019-03-16 14:48:22 +01:00
local.get $3
local.get $1
i32.const 2
i32.shl
i32.add
i32.load
local.set $5
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $5
2019-03-11 00:35:17 +01:00
i32.store
else
local.get $2
i32.const 1
i32.sub
local.set $2
i32.const 48
local.get $1
i32.add
2019-03-16 14:48:22 +01:00
local.set $5
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $5
2019-03-11 00:35:17 +01:00
i32.store16
end
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/itoa32 (; 50 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
2019-02-06 23:42:43 +01:00
(local $4 i32)
(local $5 i32)
(local $6 i32)
local.get $0
i32.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 840
return
end
local.get $0
i32.const 0
i32.lt_s
local.set $1
local.get $1
if
i32.const 0
local.get $0
i32.sub
local.set $0
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
local.get $1
i32.add
local.set $2
block $~lib/runtime/ALLOCATE|inlined.10 (result i32)
2019-03-16 14:48:22 +01:00
local.get $2
i32.const 1
i32.shl
local.set $3
2019-02-06 23:42:43 +01:00
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $4
block $~lib/util/number/utoa32_core|inlined.0
local.get $4
2019-03-20 14:16:18 +01:00
local.set $6
2019-02-06 23:42:43 +01:00
local.get $0
local.set $5
local.get $2
2019-03-20 14:16:18 +01:00
local.set $3
2019-02-06 23:42:43 +01:00
local.get $6
2019-03-20 14:16:18 +01:00
local.get $5
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
local.get $1
if
2019-03-16 14:48:22 +01:00
local.get $4
i32.const 45
2019-03-11 00:35:17 +01:00
i32.store16
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.10 (result i32)
2019-03-16 14:48:22 +01:00
local.get $4
2019-03-20 14:16:18 +01:00
local.set $3
local.get $3
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
end
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/utoa32 (; 51 ;) (type $FUNCSIG$ii) (param $0 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
(local $2 i32)
2019-02-06 23:42:43 +01:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
local.get $0
i32.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 840
return
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
local.set $1
block $~lib/runtime/ALLOCATE|inlined.11 (result i32)
2019-03-16 14:48:22 +01:00
local.get $1
i32.const 1
i32.shl
local.set $2
2019-02-06 23:42:43 +01:00
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $3
block $~lib/util/number/utoa32_core|inlined.1
local.get $3
2019-03-20 14:16:18 +01:00
local.set $5
2019-02-06 23:42:43 +01:00
local.get $0
local.set $4
local.get $1
2019-03-20 14:16:18 +01:00
local.set $2
2019-02-06 23:42:43 +01:00
local.get $5
2019-03-20 14:16:18 +01:00
local.get $4
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.11 (result i32)
2019-03-16 14:48:22 +01:00
local.get $3
2019-03-20 14:16:18 +01:00
local.set $2
local.get $2
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/decimalCount64 (; 52 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
local.get $0
i64.const 1000000000000000
i64.lt_u
if
local.get $0
i64.const 1000000000000
i64.lt_u
if
i32.const 11
i32.const 12
local.get $0
i64.const 100000000000
i64.lt_u
select
return
else
i32.const 14
i32.const 15
local.get $0
i64.const 100000000000000
i64.lt_u
select
local.set $1
i32.const 13
local.get $1
local.get $0
i64.const 10000000000000
i64.lt_u
select
return
end
unreachable
unreachable
else
local.get $0
i64.const 100000000000000000
i64.lt_u
if
i32.const 16
i32.const 17
local.get $0
i64.const 10000000000000000
i64.lt_u
select
return
else
i32.const 19
i32.const 20
local.get $0
i64.const -8446744073709551616
i64.lt_u
select
local.set $1
i32.const 18
local.get $1
local.get $0
i64.const 1000000000000000000
i64.lt_u
select
return
end
unreachable
unreachable
end
unreachable
unreachable
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/utoa64_lut (; 53 ;) (type $FUNCSIG$viji) (param $0 i32) (param $1 i64) (param $2 i32)
2018-10-18 20:05:35 +03:00
(local $3 i32)
(local $4 i64)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
(local $9 i32)
(local $10 i32)
(local $11 i32)
2019-03-16 14:48:22 +01:00
(local $12 i64)
(local $13 i64)
2019-03-26 23:35:08 +01:00
i32.const 2608
2019-03-16 14:48:22 +01:00
i32.load offset=4
local.set $3
block $break|0
loop $continue|0
local.get $1
i64.const 100000000
i64.ge_u
if
block
local.get $1
i64.const 100000000
i64.div_u
local.set $4
local.get $1
local.get $4
i64.const 100000000
i64.mul
i64.sub
i32.wrap_i64
local.set $5
local.get $4
local.set $1
local.get $5
i32.const 10000
i32.div_u
local.set $6
local.get $5
i32.const 10000
i32.rem_u
local.set $7
local.get $6
i32.const 100
i32.div_u
local.set $8
local.get $6
i32.const 100
i32.rem_u
local.set $9
local.get $7
i32.const 100
i32.div_u
local.set $10
local.get $7
i32.const 100
i32.rem_u
local.set $11
2019-03-16 14:48:22 +01:00
local.get $3
local.get $10
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $12
local.get $3
local.get $11
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $13
local.get $2
i32.const 4
i32.sub
local.set $2
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $12
local.get $13
i64.const 32
i64.shl
i64.or
2019-03-11 00:35:17 +01:00
i64.store
2019-03-16 14:48:22 +01:00
local.get $3
local.get $8
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $12
local.get $3
local.get $9
i32.const 2
i32.shl
i32.add
i64.load32_u
local.set $13
local.get $2
i32.const 4
i32.sub
local.set $2
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $12
local.get $13
i64.const 32
i64.shl
i64.or
2019-03-11 00:35:17 +01:00
i64.store
end
br $continue|0
end
end
end
local.get $0
local.get $1
i32.wrap_i64
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/utoa64 (; 54 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
2019-02-06 23:42:43 +01:00
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i64)
local.get $0
i64.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 840
return
end
local.get $0
global.get $~lib/builtins/u32.MAX_VALUE
i64.extend_i32_u
i64.le_u
if
local.get $0
i32.wrap_i64
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
local.set $3
block $~lib/runtime/ALLOCATE|inlined.12 (result i32)
2019-03-16 14:48:22 +01:00
local.get $3
i32.const 1
i32.shl
local.set $4
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $1
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa32_core|inlined.2
2019-02-06 23:42:43 +01:00
local.get $1
2019-03-20 14:16:18 +01:00
local.set $6
2019-02-06 23:42:43 +01:00
local.get $2
local.set $5
local.get $3
2019-03-20 14:16:18 +01:00
local.set $4
2019-02-06 23:42:43 +01:00
local.get $6
2019-03-20 14:16:18 +01:00
local.get $5
local.get $4
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
else
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount64
local.set $3
block $~lib/runtime/ALLOCATE|inlined.13 (result i32)
2019-03-16 14:48:22 +01:00
local.get $3
i32.const 1
i32.shl
local.set $2
local.get $2
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $1
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa64_core|inlined.0
2019-02-06 23:42:43 +01:00
local.get $1
2019-03-20 14:16:18 +01:00
local.set $4
2019-02-06 23:42:43 +01:00
local.get $0
local.set $7
local.get $3
2019-03-20 14:16:18 +01:00
local.set $2
local.get $4
2019-02-06 23:42:43 +01:00
local.get $7
2019-03-20 14:16:18 +01:00
local.get $2
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64_lut
2019-02-06 23:42:43 +01:00
end
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.12 (result i32)
2019-03-11 00:35:17 +01:00
local.get $1
local.set $3
local.get $3
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/itoa64 (; 55 ;) (type $FUNCSIG$ij) (param $0 i64) (result i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
2019-02-06 23:42:43 +01:00
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i64)
local.get $0
i64.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 840
return
end
local.get $0
i64.const 0
i64.lt_s
local.set $1
local.get $1
if
i64.const 0
local.get $0
i64.sub
local.set $0
end
local.get $0
global.get $~lib/builtins/u32.MAX_VALUE
i64.extend_i32_u
i64.le_u
if
local.get $0
i32.wrap_i64
local.set $3
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
local.get $1
i32.add
local.set $4
block $~lib/runtime/ALLOCATE|inlined.14 (result i32)
2019-03-16 14:48:22 +01:00
local.get $4
i32.const 1
i32.shl
local.set $5
local.get $5
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $2
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa32_core|inlined.3
2019-02-06 23:42:43 +01:00
local.get $2
2019-03-20 14:16:18 +01:00
local.set $7
2019-02-06 23:42:43 +01:00
local.get $3
local.set $6
local.get $4
2019-03-20 14:16:18 +01:00
local.set $5
2019-02-06 23:42:43 +01:00
local.get $7
2019-03-20 14:16:18 +01:00
local.get $6
local.get $5
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
else
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount64
local.get $1
i32.add
local.set $4
block $~lib/runtime/ALLOCATE|inlined.15 (result i32)
2019-03-16 14:48:22 +01:00
local.get $4
i32.const 1
i32.shl
local.set $3
local.get $3
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $2
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa64_core|inlined.1
2019-02-06 23:42:43 +01:00
local.get $2
2019-03-20 14:16:18 +01:00
local.set $5
2019-02-06 23:42:43 +01:00
local.get $0
local.set $8
local.get $4
2019-03-20 14:16:18 +01:00
local.set $3
local.get $5
2019-02-06 23:42:43 +01:00
local.get $8
2019-03-20 14:16:18 +01:00
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64_lut
2019-02-06 23:42:43 +01:00
end
end
local.get $1
if
local.get $2
i32.const 45
2019-03-11 00:35:17 +01:00
i32.store16
end
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.13 (result i32)
2019-03-11 00:35:17 +01:00
local.get $2
local.set $4
local.get $4
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
end
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/builtins/isFinite<f64> (; 56 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
local.get $0
local.get $0
f64.sub
f64.const 0
f64.eq
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/builtins/isNaN<f64> (; 57 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
local.get $0
local.get $0
f64.ne
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<u64>#__unchecked_get (; 58 ;) (type $FUNCSIG$jii) (param $0 i32) (param $1 i32) (result i64)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 3
i32.shl
i32.add
i64.load
)
2019-03-27 17:21:52 +01:00
(func $~lib/array/Array<i16>#__unchecked_get (; 59 ;) (type $FUNCSIG$iii) (param $0 i32) (param $1 i32) (result i32)
2019-03-26 23:35:08 +01:00
local.get $0
i32.load offset=4
local.get $1
i32.const 1
i32.shl
i32.add
i32.load16_s
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/genDigits (; 60 ;) (type $FUNCSIG$iijijiji) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $7 i32)
(local $8 i64)
(local $9 i64)
(local $10 i64)
(local $11 i32)
(local $12 i32)
(local $13 i64)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(local $17 i32)
(local $18 i32)
(local $19 i64)
2019-02-06 23:42:43 +01:00
(local $20 i32)
(local $21 i64)
(local $22 i64)
2019-03-16 14:48:22 +01:00
(local $23 i64)
(local $24 i64)
2019-02-06 23:42:43 +01:00
(local $25 i32)
2019-03-16 14:48:22 +01:00
(local $26 i32)
(local $27 i32)
i32.const 0
local.get $4
i32.sub
local.set $7
i64.const 1
local.get $7
i64.extend_i32_s
i64.shl
local.set $8
local.get $8
i64.const 1
i64.sub
local.set $9
local.get $3
local.get $1
i64.sub
local.set $10
local.get $4
local.set $11
local.get $3
local.get $7
i64.extend_i32_s
i64.shr_u
i32.wrap_i64
local.set $12
local.get $3
local.get $9
i64.and
local.set $13
local.get $12
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
local.set $14
local.get $6
local.set $15
2019-03-26 23:35:08 +01:00
i32.const 4976
2019-03-16 14:48:22 +01:00
i32.load offset=4
local.set $16
block $break|0
loop $continue|0
local.get $14
i32.const 0
i32.gt_s
if
block
block $break|1
block $case10|1
block $case9|1
block $case8|1
block $case7|1
block $case6|1
block $case5|1
block $case4|1
block $case3|1
block $case2|1
block $case1|1
block $case0|1
local.get $14
local.set $18
local.get $18
i32.const 10
i32.eq
br_if $case0|1
local.get $18
i32.const 9
i32.eq
br_if $case1|1
local.get $18
i32.const 8
i32.eq
br_if $case2|1
local.get $18
i32.const 7
i32.eq
br_if $case3|1
local.get $18
i32.const 6
i32.eq
br_if $case4|1
local.get $18
i32.const 5
i32.eq
br_if $case5|1
local.get $18
i32.const 4
i32.eq
br_if $case6|1
local.get $18
i32.const 3
i32.eq
br_if $case7|1
local.get $18
i32.const 2
i32.eq
br_if $case8|1
local.get $18
i32.const 1
i32.eq
br_if $case9|1
br $case10|1
end
block
local.get $12
i32.const 1000000000
i32.div_u
local.set $17
local.get $12
i32.const 1000000000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 100000000
i32.div_u
local.set $17
local.get $12
i32.const 100000000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 10000000
i32.div_u
local.set $17
local.get $12
i32.const 10000000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 1000000
i32.div_u
local.set $17
local.get $12
i32.const 1000000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 100000
i32.div_u
local.set $17
local.get $12
i32.const 100000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 10000
i32.div_u
local.set $17
local.get $12
i32.const 10000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 1000
i32.div_u
local.set $17
local.get $12
i32.const 1000
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 100
i32.div_u
local.set $17
local.get $12
i32.const 100
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
i32.const 10
i32.div_u
local.set $17
local.get $12
i32.const 10
i32.rem_u
local.set $12
br $break|1
unreachable
end
unreachable
end
block
local.get $12
local.set $17
i32.const 0
local.set $12
br $break|1
unreachable
end
unreachable
end
block
i32.const 0
local.set $17
br $break|1
unreachable
end
unreachable
end
local.get $17
local.get $15
i32.or
if
local.get $0
block (result i32)
local.get $15
local.tee $18
i32.const 1
i32.add
local.set $15
local.get $18
end
i32.const 1
i32.shl
i32.add
i32.const 48
local.get $17
i32.const 65535
i32.and
i32.add
2019-03-11 00:35:17 +01:00
i32.store16
end
local.get $14
i32.const 1
i32.sub
local.set $14
local.get $12
i64.extend_i32_u
local.get $7
i64.extend_i32_s
i64.shl
local.get $13
i64.add
local.set $19
local.get $19
local.get $5
i64.le_u
if
2019-03-16 14:48:22 +01:00
global.get $~lib/util/number/_K
local.get $14
i32.add
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_K
block $~lib/util/number/grisuRound|inlined.0
2019-02-06 23:42:43 +01:00
local.get $0
local.set $20
2019-03-20 14:16:18 +01:00
local.get $15
local.set $18
2019-02-06 23:42:43 +01:00
local.get $5
2019-03-20 14:16:18 +01:00
local.set $24
2019-02-06 23:42:43 +01:00
local.get $19
2019-03-20 14:16:18 +01:00
local.set $23
2019-03-16 14:48:22 +01:00
local.get $16
local.get $14
i32.const 2
i32.shl
i32.add
i64.load32_u
2019-02-06 23:42:43 +01:00
local.get $7
i64.extend_i32_s
i64.shl
2019-03-20 14:16:18 +01:00
local.set $22
2019-02-06 23:42:43 +01:00
local.get $10
2019-03-20 14:16:18 +01:00
local.set $21
2019-02-06 23:42:43 +01:00
local.get $20
2019-03-20 14:16:18 +01:00
local.get $18
2019-02-06 23:42:43 +01:00
i32.const 1
i32.sub
i32.const 1
i32.shl
i32.add
2019-02-06 23:42:43 +01:00
local.set $25
local.get $25
2019-03-11 00:35:17 +01:00
i32.load16_u
2019-03-16 14:48:22 +01:00
local.set $26
2019-02-06 23:42:43 +01:00
block $break|2
loop $continue|2
2019-03-20 14:16:18 +01:00
local.get $23
local.get $21
i64.lt_u
2019-03-16 14:48:22 +01:00
local.tee $27
if (result i32)
2019-03-20 14:16:18 +01:00
local.get $24
2019-03-16 14:48:22 +01:00
local.get $23
2019-03-20 14:16:18 +01:00
i64.sub
local.get $22
2019-02-06 23:42:43 +01:00
i64.ge_u
else
2019-03-16 14:48:22 +01:00
local.get $27
end
2019-03-16 14:48:22 +01:00
local.tee $27
2019-02-06 23:42:43 +01:00
if (result i32)
2019-03-16 14:48:22 +01:00
local.get $23
2019-03-20 14:16:18 +01:00
local.get $22
i64.add
2019-03-20 14:16:18 +01:00
local.get $21
2019-02-06 23:42:43 +01:00
i64.lt_u
2019-03-16 14:48:22 +01:00
local.tee $27
2019-02-06 23:42:43 +01:00
if (result i32)
local.get $27
2019-03-16 14:48:22 +01:00
else
2019-03-20 14:16:18 +01:00
local.get $21
local.get $23
2019-02-06 23:42:43 +01:00
i64.sub
2019-03-16 14:48:22 +01:00
local.get $23
2019-03-20 14:16:18 +01:00
local.get $22
2019-02-06 23:42:43 +01:00
i64.add
2019-03-20 14:16:18 +01:00
local.get $21
2019-02-06 23:42:43 +01:00
i64.sub
i64.gt_u
end
else
2019-03-16 14:48:22 +01:00
local.get $27
2019-02-06 23:42:43 +01:00
end
if
block
2019-03-16 14:48:22 +01:00
local.get $26
2019-02-06 23:42:43 +01:00
i32.const 1
i32.sub
2019-03-16 14:48:22 +01:00
local.set $26
local.get $23
2019-03-20 14:16:18 +01:00
local.get $22
2019-02-06 23:42:43 +01:00
i64.add
2019-03-20 14:16:18 +01:00
local.set $23
2019-02-06 23:42:43 +01:00
end
br $continue|2
end
end
end
2019-02-06 23:42:43 +01:00
local.get $25
2019-03-16 14:48:22 +01:00
local.get $26
2019-03-11 00:35:17 +01:00
i32.store16
end
local.get $15
return
end
end
br $continue|0
end
end
end
block $break|3
loop $continue|3
i32.const 1
if
block
local.get $13
i64.const 10
i64.mul
local.set $13
local.get $5
i64.const 10
i64.mul
local.set $5
local.get $13
local.get $7
i64.extend_i32_s
i64.shr_u
local.set $19
local.get $19
local.get $15
i64.extend_i32_s
i64.or
i64.const 0
i64.ne
if
local.get $0
block (result i32)
local.get $15
local.tee $17
i32.const 1
i32.add
local.set $15
local.get $17
end
i32.const 1
i32.shl
i32.add
i32.const 48
local.get $19
i32.wrap_i64
i32.const 65535
i32.and
i32.add
2019-03-11 00:35:17 +01:00
i32.store16
end
local.get $13
local.get $9
i64.and
local.set $13
local.get $14
i32.const 1
i32.sub
local.set $14
local.get $13
local.get $5
i64.lt_u
if
2019-03-16 14:48:22 +01:00
global.get $~lib/util/number/_K
local.get $14
i32.add
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_K
local.get $10
2019-03-16 14:48:22 +01:00
local.get $16
i32.const 0
local.get $14
i32.sub
i32.const 2
i32.shl
i32.add
i64.load32_u
i64.mul
local.set $10
2019-03-16 14:48:22 +01:00
block $~lib/util/number/grisuRound|inlined.1
2019-02-06 23:42:43 +01:00
local.get $0
2019-03-16 14:48:22 +01:00
local.set $26
2019-03-20 14:16:18 +01:00
local.get $15
local.set $17
2019-02-06 23:42:43 +01:00
local.get $5
2019-03-16 14:48:22 +01:00
local.set $24
2019-02-06 23:42:43 +01:00
local.get $13
2019-03-16 14:48:22 +01:00
local.set $23
2019-02-06 23:42:43 +01:00
local.get $8
local.set $22
local.get $10
local.set $21
2019-03-16 14:48:22 +01:00
local.get $26
2019-03-20 14:16:18 +01:00
local.get $17
2019-02-06 23:42:43 +01:00
i32.const 1
i32.sub
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.set $25
local.get $25
2019-03-11 00:35:17 +01:00
i32.load16_u
2019-03-20 14:16:18 +01:00
local.set $18
2019-02-06 23:42:43 +01:00
block $break|4
loop $continue|4
2019-03-16 14:48:22 +01:00
local.get $23
2019-02-06 23:42:43 +01:00
local.get $21
i64.lt_u
2019-03-20 14:16:18 +01:00
local.tee $20
if (result i32)
2019-03-16 14:48:22 +01:00
local.get $24
local.get $23
i64.sub
2019-02-06 23:42:43 +01:00
local.get $22
i64.ge_u
else
2019-03-20 14:16:18 +01:00
local.get $20
end
2019-03-20 14:16:18 +01:00
local.tee $20
2019-02-06 23:42:43 +01:00
if (result i32)
2019-03-16 14:48:22 +01:00
local.get $23
2019-02-06 23:42:43 +01:00
local.get $22
i64.add
2019-02-06 23:42:43 +01:00
local.get $21
i64.lt_u
2019-03-20 14:16:18 +01:00
local.tee $20
2019-02-06 23:42:43 +01:00
if (result i32)
2019-03-20 14:16:18 +01:00
local.get $20
2019-02-06 23:42:43 +01:00
else
local.get $21
2019-03-16 14:48:22 +01:00
local.get $23
2019-02-06 23:42:43 +01:00
i64.sub
2019-03-16 14:48:22 +01:00
local.get $23
2019-02-06 23:42:43 +01:00
local.get $22
i64.add
local.get $21
i64.sub
i64.gt_u
end
else
2019-03-20 14:16:18 +01:00
local.get $20
2019-02-06 23:42:43 +01:00
end
if
block
2019-03-20 14:16:18 +01:00
local.get $18
2019-02-06 23:42:43 +01:00
i32.const 1
i32.sub
2019-03-20 14:16:18 +01:00
local.set $18
2019-03-16 14:48:22 +01:00
local.get $23
2019-02-06 23:42:43 +01:00
local.get $22
i64.add
2019-03-16 14:48:22 +01:00
local.set $23
2019-02-06 23:42:43 +01:00
end
br $continue|4
end
end
end
2019-03-16 14:48:22 +01:00
local.get $25
2019-03-20 14:16:18 +01:00
local.get $18
2019-03-11 00:35:17 +01:00
i32.store16
end
local.get $15
return
end
end
br $continue|3
end
end
end
local.get $15
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/prettify (; 61 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
2019-02-06 23:42:43 +01:00
(local $9 i32)
(local $10 i32)
(local $11 i32)
local.get $2
i32.eqz
if
local.get $0
local.get $1
i32.const 1
i32.shl
i32.add
i32.const 46
i32.const 48
i32.const 16
i32.shl
i32.or
2019-03-11 00:35:17 +01:00
i32.store
local.get $1
i32.const 2
i32.add
return
end
local.get $1
local.get $2
i32.add
local.set $3
local.get $1
local.get $3
i32.le_s
local.tee $4
if (result i32)
local.get $3
i32.const 21
i32.le_s
else
local.get $4
end
if
block $break|0
local.get $1
local.set $4
loop $repeat|0
local.get $4
local.get $3
i32.lt_s
i32.eqz
br_if $break|0
local.get $0
local.get $4
i32.const 1
i32.shl
i32.add
i32.const 48
2019-03-11 00:35:17 +01:00
i32.store16
local.get $4
i32.const 1
i32.add
local.set $4
br $repeat|0
unreachable
end
unreachable
end
local.get $0
local.get $3
i32.const 1
i32.shl
i32.add
i32.const 46
i32.const 48
i32.const 16
i32.shl
i32.or
2019-03-11 00:35:17 +01:00
i32.store
local.get $3
i32.const 2
i32.add
return
else
local.get $3
i32.const 0
i32.gt_s
local.tee $4
if (result i32)
local.get $3
i32.const 21
i32.le_s
else
local.get $4
end
if
local.get $0
local.get $3
i32.const 1
i32.shl
i32.add
local.set $4
2019-03-16 14:48:22 +01:00
local.get $4
i32.const 2
i32.add
local.get $4
i32.const 0
local.get $2
i32.sub
i32.const 1
i32.shl
call $~lib/memory/memory.copy
local.get $0
local.get $3
i32.const 1
i32.shl
i32.add
i32.const 46
2019-03-11 00:35:17 +01:00
i32.store16
local.get $1
i32.const 1
i32.add
return
else
i32.const -6
local.get $3
i32.lt_s
local.tee $4
if (result i32)
local.get $3
i32.const 0
i32.le_s
else
local.get $4
end
if
i32.const 2
local.get $3
i32.sub
local.set $4
2019-03-16 14:48:22 +01:00
local.get $0
local.get $4
i32.const 1
i32.shl
i32.add
local.get $0
local.get $1
i32.const 1
i32.shl
call $~lib/memory/memory.copy
local.get $0
i32.const 48
i32.const 46
i32.const 16
i32.shl
i32.or
2019-03-11 00:35:17 +01:00
i32.store
block $break|1
i32.const 2
local.set $5
loop $repeat|1
local.get $5
local.get $4
i32.lt_s
i32.eqz
br_if $break|1
local.get $0
local.get $5
i32.const 1
i32.shl
i32.add
i32.const 48
2019-03-11 00:35:17 +01:00
i32.store16
local.get $5
i32.const 1
i32.add
local.set $5
br $repeat|1
unreachable
end
unreachable
end
local.get $1
local.get $4
i32.add
return
else
local.get $1
i32.const 1
i32.eq
if
local.get $0
i32.const 101
2019-03-11 00:35:17 +01:00
i32.store16 offset=2
2019-03-16 14:48:22 +01:00
block $~lib/util/number/genExponent|inlined.0 (result i32)
local.get $0
i32.const 4
i32.add
2019-03-20 14:16:18 +01:00
local.set $5
local.get $3
i32.const 1
i32.sub
2019-03-20 14:16:18 +01:00
local.set $4
local.get $4
i32.const 0
i32.lt_s
local.set $6
local.get $6
if
i32.const 0
2019-03-20 14:16:18 +01:00
local.get $4
i32.sub
2019-03-20 14:16:18 +01:00
local.set $4
end
2019-03-20 14:16:18 +01:00
local.get $4
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
i32.const 1
i32.add
local.set $7
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa32_core|inlined.4
2019-02-06 23:42:43 +01:00
local.get $5
2019-03-20 14:16:18 +01:00
local.set $10
local.get $4
2019-02-06 23:42:43 +01:00
local.set $9
local.get $7
2019-03-20 14:16:18 +01:00
local.set $8
2019-02-06 23:42:43 +01:00
local.get $10
2019-03-20 14:16:18 +01:00
local.get $9
local.get $8
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
2019-03-20 14:16:18 +01:00
local.get $5
i32.const 45
i32.const 43
local.get $6
select
2019-03-11 00:35:17 +01:00
i32.store16
local.get $7
end
local.set $1
local.get $1
i32.const 2
i32.add
return
else
local.get $1
i32.const 1
i32.shl
local.set $7
2019-03-16 14:48:22 +01:00
local.get $0
i32.const 4
i32.add
local.get $0
i32.const 2
i32.add
local.get $7
i32.const 2
i32.sub
call $~lib/memory/memory.copy
local.get $0
i32.const 46
2019-03-11 00:35:17 +01:00
i32.store16 offset=2
local.get $0
local.get $7
i32.add
i32.const 101
2019-03-11 00:35:17 +01:00
i32.store16 offset=2
local.get $1
2019-03-16 14:48:22 +01:00
block $~lib/util/number/genExponent|inlined.1 (result i32)
local.get $0
local.get $7
i32.add
i32.const 4
i32.add
2019-03-20 14:16:18 +01:00
local.set $4
local.get $3
i32.const 1
i32.sub
2019-03-20 14:16:18 +01:00
local.set $6
local.get $6
i32.const 0
i32.lt_s
2019-03-20 14:16:18 +01:00
local.set $5
local.get $5
if
i32.const 0
2019-03-20 14:16:18 +01:00
local.get $6
i32.sub
2019-03-20 14:16:18 +01:00
local.set $6
end
2019-03-20 14:16:18 +01:00
local.get $6
2019-03-16 14:48:22 +01:00
call $~lib/util/number/decimalCount32
i32.const 1
i32.add
2019-03-20 14:16:18 +01:00
local.set $8
2019-03-16 14:48:22 +01:00
block $~lib/util/number/utoa32_core|inlined.5
2019-03-20 14:16:18 +01:00
local.get $4
local.set $11
2019-03-16 14:48:22 +01:00
local.get $6
2019-03-20 14:16:18 +01:00
local.set $10
local.get $8
2019-02-06 23:42:43 +01:00
local.set $9
2019-03-20 14:16:18 +01:00
local.get $11
2019-02-06 23:42:43 +01:00
local.get $10
local.get $9
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32_lut
2019-02-06 23:42:43 +01:00
end
2019-03-20 14:16:18 +01:00
local.get $4
i32.const 45
i32.const 43
2019-03-20 14:16:18 +01:00
local.get $5
select
2019-03-11 00:35:17 +01:00
i32.store16
2019-03-20 14:16:18 +01:00
local.get $8
end
i32.add
local.set $1
local.get $1
i32.const 2
i32.add
return
end
unreachable
end
unreachable
end
unreachable
end
unreachable
unreachable
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/dtoa_core (; 62 ;) (type $FUNCSIG$iid) (param $0 i32) (param $1 f64) (result i32)
2018-10-18 20:05:35 +03:00
(local $2 i32)
2019-02-06 23:42:43 +01:00
(local $3 f64)
2018-10-18 20:05:35 +03:00
(local $4 i32)
2019-02-06 23:42:43 +01:00
(local $5 i32)
2018-10-18 20:05:35 +03:00
(local $6 i64)
2019-02-06 23:42:43 +01:00
(local $7 i32)
(local $8 i64)
(local $9 i64)
(local $10 i64)
(local $11 i32)
(local $12 i64)
2018-10-18 20:05:35 +03:00
(local $13 i32)
(local $14 i32)
2019-02-06 23:42:43 +01:00
(local $15 i32)
(local $16 f64)
2019-03-16 14:48:22 +01:00
(local $17 i64)
(local $18 i64)
(local $19 i64)
(local $20 i64)
2018-10-18 20:05:35 +03:00
(local $21 i64)
(local $22 i64)
(local $23 i64)
(local $24 i64)
2019-02-06 23:42:43 +01:00
(local $25 i64)
2019-03-16 14:48:22 +01:00
(local $26 i32)
2019-02-06 23:42:43 +01:00
(local $27 i64)
2019-03-16 14:48:22 +01:00
(local $28 i32)
local.get $1
f64.const 0
f64.lt
local.set $2
local.get $2
if
local.get $1
f64.neg
local.set $1
local.get $0
i32.const 45
2019-03-11 00:35:17 +01:00
i32.store16
end
2019-03-16 14:48:22 +01:00
block $~lib/util/number/grisu2|inlined.0 (result i32)
local.get $1
local.set $3
2019-02-06 23:42:43 +01:00
local.get $0
local.set $5
2019-03-20 14:16:18 +01:00
local.get $2
local.set $4
local.get $3
2019-02-06 23:42:43 +01:00
i64.reinterpret_f64
local.set $6
local.get $6
i64.const 9218868437227405312
i64.and
i64.const 52
i64.shr_u
i32.wrap_i64
2019-02-06 23:42:43 +01:00
local.set $7
local.get $6
i64.const 4503599627370495
i64.and
2019-02-06 23:42:43 +01:00
local.set $8
local.get $7
i32.const 0
i32.ne
i64.extend_i32_u
i64.const 52
i64.shl
2019-02-06 23:42:43 +01:00
local.get $8
i64.add
2019-02-06 23:42:43 +01:00
local.set $9
local.get $7
i32.const 1
2019-02-06 23:42:43 +01:00
local.get $7
i32.const 0
i32.ne
select
i32.const 1023
i32.const 52
i32.add
i32.sub
2019-02-06 23:42:43 +01:00
local.set $7
2019-03-16 14:48:22 +01:00
block $~lib/util/number/normalizedBoundaries|inlined.0
2019-02-06 23:42:43 +01:00
local.get $9
local.set $10
local.get $7
local.set $11
local.get $10
i64.const 1
i64.shl
i64.const 1
i64.add
2019-02-06 23:42:43 +01:00
local.set $12
local.get $11
i32.const 1
i32.sub
2019-02-06 23:42:43 +01:00
local.set $13
local.get $12
i64.clz
i32.wrap_i64
2019-02-06 23:42:43 +01:00
local.set $14
local.get $12
local.get $14
i64.extend_i32_s
i64.shl
2019-02-06 23:42:43 +01:00
local.set $12
local.get $13
local.get $14
i32.sub
2019-02-06 23:42:43 +01:00
local.set $13
i32.const 1
2019-02-06 23:42:43 +01:00
local.get $10
i64.const 4503599627370496
i64.eq
i32.add
2019-02-06 23:42:43 +01:00
local.set $15
local.get $12
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_frc_plus
local.get $10
2019-02-06 23:42:43 +01:00
local.get $15
i64.extend_i32_s
i64.shl
i64.const 1
i64.sub
2019-02-06 23:42:43 +01:00
local.get $11
local.get $15
i32.sub
2019-02-06 23:42:43 +01:00
local.get $13
i32.sub
i64.extend_i32_s
i64.shl
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_frc_minus
2019-02-06 23:42:43 +01:00
local.get $13
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_exp
end
2019-03-16 14:48:22 +01:00
block $~lib/util/number/getCachedPower|inlined.0
global.get $~lib/util/number/_exp
2019-02-06 23:42:43 +01:00
local.set $15
i32.const -61
2019-02-06 23:42:43 +01:00
local.get $15
i32.sub
f64.convert_i32_s
f64.const 0.30102999566398114
f64.mul
f64.const 347
f64.add
2019-02-06 23:42:43 +01:00
local.set $16
local.get $16
i32.trunc_f64_s
2019-02-06 23:42:43 +01:00
local.set $14
local.get $14
local.get $14
f64.convert_i32_s
2019-02-06 23:42:43 +01:00
local.get $16
f64.ne
i32.add
2019-02-06 23:42:43 +01:00
local.set $14
local.get $14
i32.const 3
i32.shr_s
i32.const 1
i32.add
2019-02-06 23:42:43 +01:00
local.set $13
i32.const 348
2019-02-06 23:42:43 +01:00
local.get $13
i32.const 3
i32.shl
i32.sub
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_K
2019-03-26 23:35:08 +01:00
i32.const 4664
2019-03-16 14:48:22 +01:00
local.get $13
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<u64>#__unchecked_get
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_frc_pow
2019-03-26 23:35:08 +01:00
i32.const 4888
2019-03-16 14:48:22 +01:00
local.get $13
2019-03-26 23:35:08 +01:00
call $~lib/array/Array<i16>#__unchecked_get
2019-03-16 14:48:22 +01:00
global.set $~lib/util/number/_exp_pow
end
2019-02-06 23:42:43 +01:00
local.get $9
i64.clz
i32.wrap_i64
2019-03-16 14:48:22 +01:00
local.set $13
2019-02-06 23:42:43 +01:00
local.get $9
2019-03-16 14:48:22 +01:00
local.get $13
i64.extend_i32_s
i64.shl
2019-02-06 23:42:43 +01:00
local.set $9
local.get $7
2019-03-16 14:48:22 +01:00
local.get $13
i32.sub
local.set $7
2019-03-16 14:48:22 +01:00
global.get $~lib/util/number/_frc_pow
local.set $12
2019-03-16 14:48:22 +01:00
global.get $~lib/util/number/_exp_pow
local.set $14
block $~lib/util/number/umul64f|inlined.0 (result i64)
2019-02-06 23:42:43 +01:00
local.get $9
2019-03-16 14:48:22 +01:00
local.set $17
2019-03-20 14:16:18 +01:00
local.get $12
local.set $10
local.get $17
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $18
2019-03-20 14:16:18 +01:00
local.get $10
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $19
2019-03-20 14:16:18 +01:00
local.get $17
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $20
2019-03-20 14:16:18 +01:00
local.get $10
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $21
local.get $18
local.get $19
i64.mul
2019-03-16 14:48:22 +01:00
local.set $22
local.get $20
local.get $19
i64.mul
2019-03-16 14:48:22 +01:00
local.get $22
i64.const 32
i64.shr_u
i64.add
2019-03-16 14:48:22 +01:00
local.set $23
local.get $18
local.get $21
i64.mul
2019-03-16 14:48:22 +01:00
local.get $23
i64.const 4294967295
i64.and
i64.add
2019-03-16 14:48:22 +01:00
local.set $24
local.get $24
i64.const 2147483647
i64.add
2019-03-16 14:48:22 +01:00
local.set $24
local.get $23
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $23
local.get $24
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $24
local.get $20
local.get $21
i64.mul
2019-03-16 14:48:22 +01:00
local.get $23
i64.add
2019-03-16 14:48:22 +01:00
local.get $24
i64.add
end
2019-03-16 14:48:22 +01:00
local.set $24
block $~lib/util/number/umul64e|inlined.0 (result i32)
2019-02-06 23:42:43 +01:00
local.get $7
2019-03-16 14:48:22 +01:00
local.set $11
2019-03-20 14:16:18 +01:00
local.get $14
local.set $15
2019-03-16 14:48:22 +01:00
local.get $11
2019-03-20 14:16:18 +01:00
local.get $15
i32.add
i32.const 64
i32.add
end
2019-03-20 14:16:18 +01:00
local.set $15
2019-03-16 14:48:22 +01:00
block $~lib/util/number/umul64f|inlined.1 (result i64)
global.get $~lib/util/number/_frc_plus
local.set $22
2019-03-20 14:16:18 +01:00
local.get $12
local.set $23
local.get $22
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $21
2019-03-20 14:16:18 +01:00
local.get $23
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $20
2019-03-20 14:16:18 +01:00
local.get $22
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $19
2019-03-20 14:16:18 +01:00
local.get $23
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $18
local.get $21
local.get $20
i64.mul
2019-03-20 14:16:18 +01:00
local.set $10
2019-03-16 14:48:22 +01:00
local.get $19
local.get $20
i64.mul
2019-03-20 14:16:18 +01:00
local.get $10
i64.const 32
i64.shr_u
i64.add
2019-03-20 14:16:18 +01:00
local.set $17
2019-03-16 14:48:22 +01:00
local.get $21
local.get $18
2019-02-06 23:42:43 +01:00
i64.mul
2019-03-20 14:16:18 +01:00
local.get $17
i64.const 4294967295
i64.and
i64.add
2019-03-16 14:48:22 +01:00
local.set $25
local.get $25
i64.const 2147483647
i64.add
2019-03-16 14:48:22 +01:00
local.set $25
2019-03-20 14:16:18 +01:00
local.get $17
i64.const 32
i64.shr_u
2019-03-20 14:16:18 +01:00
local.set $17
2019-03-16 14:48:22 +01:00
local.get $25
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $25
local.get $19
local.get $18
2019-02-06 23:42:43 +01:00
i64.mul
2019-03-20 14:16:18 +01:00
local.get $17
i64.add
2019-03-16 14:48:22 +01:00
local.get $25
i64.add
end
i64.const 1
i64.sub
2019-03-16 14:48:22 +01:00
local.set $25
block $~lib/util/number/umul64e|inlined.1 (result i32)
global.get $~lib/util/number/_exp
local.set $26
2019-03-20 14:16:18 +01:00
local.get $14
local.set $11
2019-03-16 14:48:22 +01:00
local.get $26
2019-03-20 14:16:18 +01:00
local.get $11
i32.add
i32.const 64
i32.add
end
2019-03-20 14:16:18 +01:00
local.set $11
2019-03-16 14:48:22 +01:00
block $~lib/util/number/umul64f|inlined.2 (result i64)
global.get $~lib/util/number/_frc_minus
2019-02-06 23:42:43 +01:00
local.set $10
local.get $12
2019-03-16 14:48:22 +01:00
local.set $17
2019-02-06 23:42:43 +01:00
local.get $10
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $18
local.get $17
i64.const 4294967295
i64.and
2019-03-16 14:48:22 +01:00
local.set $19
2019-02-06 23:42:43 +01:00
local.get $10
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $20
local.get $17
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $21
local.get $18
local.get $19
i64.mul
2019-03-20 14:16:18 +01:00
local.set $23
2019-03-16 14:48:22 +01:00
local.get $20
local.get $19
i64.mul
2019-03-20 14:16:18 +01:00
local.get $23
i64.const 32
i64.shr_u
i64.add
2019-03-20 14:16:18 +01:00
local.set $22
2019-03-16 14:48:22 +01:00
local.get $18
local.get $21
i64.mul
2019-03-20 14:16:18 +01:00
local.get $22
i64.const 4294967295
i64.and
i64.add
2019-03-16 14:48:22 +01:00
local.set $27
local.get $27
i64.const 2147483647
i64.add
2019-03-16 14:48:22 +01:00
local.set $27
2019-03-20 14:16:18 +01:00
local.get $22
i64.const 32
i64.shr_u
2019-03-20 14:16:18 +01:00
local.set $22
2019-03-16 14:48:22 +01:00
local.get $27
i64.const 32
i64.shr_u
2019-03-16 14:48:22 +01:00
local.set $27
local.get $20
local.get $21
i64.mul
2019-03-20 14:16:18 +01:00
local.get $22
i64.add
2019-03-16 14:48:22 +01:00
local.get $27
i64.add
end
i64.const 1
i64.add
2019-02-06 23:42:43 +01:00
local.set $27
2019-03-16 14:48:22 +01:00
local.get $25
2019-02-06 23:42:43 +01:00
local.get $27
2019-03-16 14:48:22 +01:00
i64.sub
2019-03-20 14:16:18 +01:00
local.set $22
local.get $5
2019-03-16 14:48:22 +01:00
local.get $24
2019-03-20 14:16:18 +01:00
local.get $15
2019-03-16 14:48:22 +01:00
local.get $25
2019-03-20 14:16:18 +01:00
local.get $11
local.get $22
local.get $4
2019-03-16 14:48:22 +01:00
call $~lib/util/number/genDigits
end
2019-03-16 14:48:22 +01:00
local.set $28
local.get $0
local.get $2
i32.const 1
i32.shl
i32.add
2019-03-16 14:48:22 +01:00
local.get $28
local.get $2
i32.sub
2019-03-16 14:48:22 +01:00
global.get $~lib/util/number/_K
call $~lib/util/number/prettify
local.set $28
local.get $28
local.get $2
i32.add
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $~lib/string/String#substring (; 63 ;) (type $FUNCSIG$iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
2018-10-18 20:05:35 +03:00
(local $3 i32)
(local $4 i32)
(local $5 i32)
(local $6 i32)
(local $7 i32)
(local $8 i32)
(local $9 i32)
(local $10 i32)
local.get $0
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 216
i32.const 189
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
local.set $3
local.get $1
local.tee $4
i32.const 0
local.tee $5
local.get $4
local.get $5
i32.gt_s
select
local.tee $4
local.get $3
local.tee $5
local.get $4
local.get $5
i32.lt_s
select
local.set $6
local.get $2
local.tee $4
i32.const 0
local.tee $5
local.get $4
local.get $5
i32.gt_s
select
local.tee $4
local.get $3
local.tee $5
local.get $4
local.get $5
i32.lt_s
select
local.set $7
local.get $6
local.tee $4
local.get $7
local.tee $5
local.get $4
local.get $5
i32.lt_s
select
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
local.set $8
local.get $6
local.tee $4
local.get $7
local.tee $5
local.get $4
local.get $5
i32.gt_s
select
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
local.set $9
local.get $9
local.get $8
i32.sub
local.set $3
local.get $3
i32.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 416
return
end
local.get $8
i32.eqz
local.tee $4
if (result i32)
local.get $9
local.get $0
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
2019-03-11 00:35:17 +01:00
i32.const 1
i32.shl
i32.eq
else
local.get $4
end
if
local.get $0
return
end
block $~lib/runtime/ALLOCATE|inlined.17 (result i32)
2019-03-11 00:35:17 +01:00
local.get $3
2019-03-16 14:48:22 +01:00
local.set $4
2019-03-11 00:35:17 +01:00
local.get $4
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-11 00:35:17 +01:00
end
2019-03-16 14:48:22 +01:00
local.set $10
local.get $10
local.get $0
local.get $8
i32.add
local.get $3
call $~lib/memory/memory.copy
2019-03-27 16:10:59 +01:00
block $~lib/runtime/REGISTER<~lib/string/String>|inlined.14 (result i32)
2019-03-11 00:35:17 +01:00
local.get $10
2019-03-16 14:48:22 +01:00
local.set $4
local.get $4
2019-03-11 00:35:17 +01:00
i32.const 1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/register
2019-03-11 00:35:17 +01:00
end
)
2019-03-27 17:21:52 +01:00
(func $~lib/runtime/discard (; 64 ;) (type $FUNCSIG$vi) (param $0 i32)
2018-10-18 20:05:35 +03:00
(local $1 i32)
local.get $0
2019-03-26 23:35:08 +01:00
global.get $~lib/memory/HEAP_BASE
i32.gt_u
i32.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 0
i32.const 120
2019-03-27 17:21:52 +01:00
i32.const 173
2019-03-26 23:35:08 +01:00
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $0
2019-03-26 23:35:08 +01:00
global.get $~lib/runtime/HEADER_SIZE
i32.sub
local.set $1
local.get $1
i32.load
global.get $~lib/runtime/HEADER_MAGIC
i32.eq
i32.eqz
if
i32.const 0
i32.const 120
2019-03-27 17:21:52 +01:00
i32.const 175
2019-03-26 23:35:08 +01:00
i32.const 4
call $~lib/env/abort
unreachable
end
local.get $1
call $~lib/memory/memory.free
)
2019-03-27 17:21:52 +01:00
(func $~lib/util/number/dtoa (; 65 ;) (type $FUNCSIG$id) (param $0 f64) (result i32)
2019-03-26 23:35:08 +01:00
(local $1 i32)
(local $2 i32)
(local $3 i32)
(local $4 i32)
local.get $0
f64.const 0
f64.eq
if
i32.const 3832
return
end
local.get $0
call $~lib/builtins/isFinite<f64>
i32.eqz
if
local.get $0
call $~lib/builtins/isNaN<f64>
if
2019-03-26 23:35:08 +01:00
i32.const 3856
return
end
2019-03-26 23:35:08 +01:00
i32.const 3880
i32.const 3920
local.get $0
f64.const 0
f64.lt
select
return
end
block $~lib/runtime/ALLOCATE|inlined.16 (result i32)
2019-03-16 14:48:22 +01:00
i32.const 28
i32.const 1
i32.shl
local.set $1
local.get $1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/allocate
2019-03-16 14:48:22 +01:00
end
local.set $2
local.get $2
2019-03-16 14:48:22 +01:00
local.get $0
call $~lib/util/number/dtoa_core
local.set $3
2019-03-16 14:48:22 +01:00
local.get $2
i32.const 0
local.get $3
2019-03-16 14:48:22 +01:00
call $~lib/string/String#substring
local.set $4
block $~lib/runtime/DISCARD|inlined.0
local.get $2
local.set $1
local.get $1
2019-03-26 23:35:08 +01:00
call $~lib/runtime/discard
2019-03-16 14:48:22 +01:00
end
local.get $4
2018-10-18 20:05:35 +03:00
)
2019-03-27 17:21:52 +01:00
(func $start:std/string (; 66 ;) (type $FUNCSIG$v)
2018-10-18 20:05:35 +03:00
(local $0 i32)
(local $1 i32)
(local $2 i32)
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 24
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 18
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
i32.const 16
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 20
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
i32.const 0
call $~lib/string/String#charCodeAt
i32.const 104
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 21
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $~lib/memory/HEAP_BASE
i32.const 7
i32.add
i32.const 7
i32.const -1
i32.xor
i32.and
global.set $~lib/allocator/arena/startOffset
global.get $~lib/allocator/arena/startOffset
global.set $~lib/allocator/arena/offset
i32.const 0
call $~lib/string/String.fromCharCode
2019-03-26 23:35:08 +01:00
i32.const 168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 23
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 54
call $~lib/string/String.fromCharCode
2019-03-26 23:35:08 +01:00
i32.const 192
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 24
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 65536
i32.const 54
i32.add
call $~lib/string/String.fromCharCode
2019-03-26 23:35:08 +01:00
i32.const 192
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 25
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
call $~lib/string/String.fromCodePoint
2019-03-26 23:35:08 +01:00
i32.const 168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 27
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 54
call $~lib/string/String.fromCodePoint
2019-03-26 23:35:08 +01:00
i32.const 192
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 28
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 119558
call $~lib/string/String.fromCodePoint
i32.eqz
if
2019-03-26 23:35:08 +01:00
i32.const 264
i32.const 72
i32.const 29
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 288
i32.const 0
call $~lib/string/String#startsWith
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 31
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 336
2019-03-16 14:48:22 +01:00
global.get $~lib/string/String.MAX_LENGTH
call $~lib/string/String#endsWith
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 32
i32.const 0
call $~lib/env/abort
unreachable
end
block $~lib/string/String#includes|inlined.0 (result i32)
global.get $std/string/str
2019-03-20 14:16:18 +01:00
local.set $2
2019-03-26 23:35:08 +01:00
i32.const 368
local.set $1
i32.const 0
2019-03-20 14:16:18 +01:00
local.set $0
local.get $2
2019-03-20 14:16:18 +01:00
local.get $1
local.get $0
call $~lib/string/String#indexOf
i32.const -1
i32.ne
end
i32.const 0
i32.ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 33
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-11 01:29:12 +01:00
global.get $std/string/str
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:29:12 +01:00
call $~lib/string/String#padStart
global.get $std/string/str
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 35
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-11 01:29:12 +01:00
global.get $std/string/str
i32.const 15
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:29:12 +01:00
call $~lib/string/String#padStart
global.get $std/string/str
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 36
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-11 01:29:12 +01:00
i32.const 3
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:29:12 +01:00
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 432
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 37
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 10
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 38
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 100
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 39
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
2019-03-11 01:29:12 +01:00
i32.const 5
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:29:12 +01:00
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 504
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 40
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 6
2019-03-26 23:35:08 +01:00
i32.const 536
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 560
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 41
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 8
2019-03-26 23:35:08 +01:00
i32.const 536
call $~lib/string/String#padStart
2019-03-26 23:35:08 +01:00
i32.const 592
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 42
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-11 01:20:47 +01:00
global.get $std/string/str
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:20:47 +01:00
call $~lib/string/String#padEnd
global.get $std/string/str
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 44
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-11 01:20:47 +01:00
global.get $std/string/str
i32.const 15
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:20:47 +01:00
call $~lib/string/String#padEnd
global.get $std/string/str
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 45
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-11 01:20:47 +01:00
i32.const 3
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:20:47 +01:00
call $~lib/string/String#padEnd
2019-03-26 23:35:08 +01:00
i32.const 432
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 46
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 10
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/string/String#padEnd
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 47
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 100
2019-03-26 23:35:08 +01:00
i32.const 416
call $~lib/string/String#padEnd
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 48
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
2019-03-11 01:20:47 +01:00
i32.const 5
2019-03-26 23:35:08 +01:00
i32.const 392
2019-03-11 01:20:47 +01:00
call $~lib/string/String#padEnd
2019-03-26 23:35:08 +01:00
i32.const 624
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 49
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 6
2019-03-11 00:35:17 +01:00
i32.const 480
2019-03-26 23:35:08 +01:00
call $~lib/string/String#padEnd
i32.const 656
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 50
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 8
2019-03-26 23:35:08 +01:00
i32.const 480
call $~lib/string/String#padEnd
2019-03-26 23:35:08 +01:00
i32.const 688
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 51
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
i32.const 0
call $~lib/string/String#indexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 53
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 288
i32.const 0
call $~lib/string/String#indexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 54
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 456
i32.const 0
call $~lib/string/String#indexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 55
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
global.get $std/string/str
i32.const 0
call $~lib/string/String#indexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
2019-03-11 00:35:17 +01:00
i32.const 56
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 0
call $~lib/string/String#indexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 57
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
i32.const 0
call $~lib/string/String#indexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 58
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 744
i32.const 0
call $~lib/string/String#indexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 59
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
i32.const 2
call $~lib/string/String#indexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 60
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
i32.const 3
call $~lib/string/String#indexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 61
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 768
i32.const -1
call $~lib/string/String#indexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 62
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 64
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 288
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 65
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
global.get $std/string/str
call $~lib/string/String#get:length
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 66
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 67
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 744
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 68
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 792
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#lastIndexOf
i32.const 15
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 69
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
i32.const 2
call $~lib/string/String#lastIndexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 70
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 720
i32.const 3
call $~lib/string/String#lastIndexOf
i32.const 2
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 71
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 768
i32.const -1
call $~lib/string/String#lastIndexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 72
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 816
i32.const 0
call $~lib/string/String#lastIndexOf
i32.const -1
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 73
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-03-26 23:35:08 +01:00
i32.const 288
i32.const 0
call $~lib/string/String#lastIndexOf
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-01-10 19:10:23 +08:00
i32.const 72
2019-03-26 23:35:08 +01:00
i32.const 74
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 840
i32.const 0
call $~lib/string/parseInt
f64.const 0
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 80
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 864
i32.const 0
call $~lib/string/parseInt
f64.const 1
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 81
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 888
i32.const 0
call $~lib/string/parseInt
f64.const 5
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 82
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 920
i32.const 0
call $~lib/string/parseInt
f64.const 455
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 83
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 952
i32.const 0
call $~lib/string/parseInt
f64.const 3855
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 84
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 984
i32.const 0
call $~lib/string/parseInt
f64.const 3855
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 85
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1016
i32.const 0
call $~lib/string/parseInt
f64.const 11
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 86
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1040
i32.const 0
call $~lib/string/parseInt
f64.const 1
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 87
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 840
call $~lib/string/parseFloat
f64.const 0
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 89
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 864
call $~lib/string/parseFloat
f64.const 1
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 90
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1064
call $~lib/string/parseFloat
f64.const 0.1
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 91
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1088
call $~lib/string/parseFloat
f64.const 0.25
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 92
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1112
call $~lib/string/parseFloat
f64.const 0.1
f64.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 93
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__concat
global.set $std/string/c
global.get $std/string/c
2019-03-26 23:35:08 +01:00
i32.const 1168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 96
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/c
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 97
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 98
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
global.get $std/string/nullStr
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 99
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/nullStr
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 100
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 101
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 102
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1192
i32.const 1216
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 103
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1192
i32.const 1192
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 104
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1240
i32.const 1264
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 105
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1288
i32.const 1320
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 106
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1352
i32.const 1352
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 107
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1352
i32.const 1384
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 108
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1416
i32.const 1456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__ne
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 109
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1144
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 111
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1496
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 112
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1496
i32.const 1520
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gte
2018-11-19 13:23:45 +02:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 113
2018-11-19 13:23:45 +02:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1496
i32.const 1168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 114
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1496
i32.const 1168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 115
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1144
global.get $std/string/nullStr
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 117
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/nullStr
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 118
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 120
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 480
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 121
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gte
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 122
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 480
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lte
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 123
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 124
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 480
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 125
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 126
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 127
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gte
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 128
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__lte
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 129
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 65377
call $~lib/string/String.fromCodePoint
global.set $std/string/a
i32.const 55296
call $~lib/string/String.fromCodePoint
i32.const 56322
call $~lib/string/String.fromCodePoint
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__concat
global.set $std/string/b
global.get $std/string/a
global.get $std/string/b
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__gt
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 133
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 536
2019-03-16 14:48:22 +01:00
call $~lib/string/String#get:length
i32.const 3
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 135
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 100
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 137
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 0
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 138
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 1
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 139
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 2
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1520
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 140
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 3
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1544
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 141
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1168
i32.const 4
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1568
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 142
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 5
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1600
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 143
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 6
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1632
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 144
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 456
i32.const 7
call $~lib/string/String#repeat
2019-03-26 23:35:08 +01:00
i32.const 1664
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 145
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1696
global.set $std/string/str
2019-03-16 14:48:22 +01:00
global.get $std/string/str
i32.const 0
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1696
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 149
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
i32.const -1
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1744
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 150
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-16 14:48:22 +01:00
global.get $std/string/str
i32.const -5
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1768
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 151
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-01-10 19:10:23 +08:00
i32.const 2
i32.const 7
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1800
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 152
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-01-10 19:10:23 +08:00
i32.const -11
i32.const -6
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1832
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 153
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-01-10 19:10:23 +08:00
i32.const 4
i32.const 3
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 154
2019-01-10 19:10:23 +08:00
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $std/string/str
2019-01-10 19:10:23 +08:00
i32.const 0
i32.const -1
call $~lib/string/String#slice
2019-03-26 23:35:08 +01:00
i32.const 1864
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
2019-01-10 19:10:23 +08:00
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 155
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-16 14:48:22 +01:00
i32.const 0
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 1
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 160
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 416
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 162
i32.const 0
2019-03-16 14:48:22 +01:00
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 416
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 1
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 164
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1960
i32.const 1992
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 1
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1960
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 166
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1960
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 168
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 2040
i32.const 2072
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 170
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 2096
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 4
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 3
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 172
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 2128
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 4
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 3
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 174
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 2160
i32.const 720
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 4
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 3
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 416
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 176
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
2019-03-16 14:48:22 +01:00
global.get $~lib/builtins/i32.MAX_VALUE
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 178
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
i32.const 0
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 0
i32.eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 180
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
i32.const 1
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 1
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 182
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1960
i32.const 720
i32.const 1
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 1
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 184
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
i32.const 4
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 186
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 480
i32.const 416
i32.const -1
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 188
i32.const 0
call $~lib/env/abort
unreachable
end
2019-03-26 23:35:08 +01:00
i32.const 1960
i32.const 720
i32.const -1
call $~lib/string/String#split
global.set $std/string/sa
2019-03-16 14:48:22 +01:00
global.get $std/string/sa
2019-03-27 16:10:59 +01:00
call $~lib/array/Array<~lib/string/String>#get:length
i32.const 3
i32.eq
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 0
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 1
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 1144
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
2019-03-20 14:16:18 +01:00
local.tee $0
if (result i32)
global.get $std/string/sa
2019-03-17 12:25:54 +01:00
i32.const 2
call $~lib/array/Array<~lib/string/String>#__get
2019-03-26 23:35:08 +01:00
i32.const 2016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
else
2019-03-20 14:16:18 +01:00
local.get $0
end
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 190
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 840
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 192
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 864
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 193
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 8
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2640
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 194
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 123
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 536
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 195
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const -1000
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2664
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 196
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1234
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2696
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 197
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 12345
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2720
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 198
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 123456
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2752
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 199
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1111111
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2784
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 200
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1234567
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2816
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 201
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 2147483646
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2848
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 202
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 2147483647
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2888
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 203
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const -2147483648
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2928
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 204
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const -1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa32
2019-03-26 23:35:08 +01:00
i32.const 2968
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 205
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32
2019-03-26 23:35:08 +01:00
i32.const 840
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 207
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 1000
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32
2019-03-26 23:35:08 +01:00
i32.const 2992
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 208
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const 2147483647
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32
2019-03-26 23:35:08 +01:00
i32.const 2888
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 209
i32.const 0
call $~lib/env/abort
unreachable
end
i32.const -2147483648
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32
2019-03-26 23:35:08 +01:00
i32.const 3016
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 210
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/u32.MAX_VALUE
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa32
2019-03-26 23:35:08 +01:00
i32.const 3056
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 211
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 840
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 213
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 1234
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 2696
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 214
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 99999999
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3096
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 215
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 100000000
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3128
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 216
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 4294967295
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3056
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 217
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 68719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 218
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3208
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 219
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 999868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3248
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 220
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 9999868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3296
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 221
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 19999868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3344
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 222
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/u64.MAX_VALUE
2019-03-16 14:48:22 +01:00
call $~lib/util/number/utoa64
2019-03-26 23:35:08 +01:00
i32.const 3400
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 223
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 840
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 225
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -1234
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3456
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 226
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 4294967295
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3056
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 227
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -4294967295
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3488
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 228
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const 68719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3168
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 229
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -68719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3528
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 230
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3568
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 231
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -999868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3616
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 232
i32.const 0
call $~lib/env/abort
unreachable
end
i64.const -19999868719476735
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3664
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 233
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/i64.MAX_VALUE
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3720
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 234
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/i64.MIN_VALUE
2019-03-16 14:48:22 +01:00
call $~lib/util/number/itoa64
2019-03-26 23:35:08 +01:00
i32.const 3776
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 235
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3832
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 238
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3832
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 239
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const nan:0x8000000000000
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3856
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 240
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const inf
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3920
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 241
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const inf
f64.neg
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3880
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 242
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/f64.EPSILON
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5008
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 243
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/f64.EPSILON
f64.neg
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5072
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 244
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/f64.MAX_VALUE
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5136
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 245
i32.const 0
call $~lib/env/abort
unreachable
end
global.get $~lib/builtins/f64.MAX_VALUE
f64.neg
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5200
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 246
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 4185580496821356722454785e274
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5264
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 247
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 2.2250738585072014e-308
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5328
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 248
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 4.940656e-318
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5392
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 251
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 9060801153433600
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5440
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 252
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 4708356024711512064
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5496
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 253
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 9409340012568248320
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5560
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 254
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 5e-324
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5624
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 255
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5656
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 261
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0.1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 1064
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 262
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5680
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 263
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -0.1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5704
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 264
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e6
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5728
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 266
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e-06
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5768
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 267
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1e6
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5800
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 268
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1e-06
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5840
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 269
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e7
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5880
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 270
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e-07
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5920
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 271
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1.e+308
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5944
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 273
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1.e+308
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5976
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 274
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const inf
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3920
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 275
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -inf
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3880
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 276
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e-308
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6008
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 277
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1e-308
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6040
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 278
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1e-323
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6072
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 279
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const -1e-323
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6104
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 280
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 3832
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 281
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 4294967272
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6136
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 283
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1.2312145673456234e-08
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6176
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 284
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 555555555.5555556
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6240
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 286
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0.9999999999999999
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6296
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 287
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 5656
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 288
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 12.34
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6352
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 289
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1
f64.const 3
f64.div
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6384
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 291
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1234e17
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6440
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 292
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1234e18
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6504
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 293
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 2.71828
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6544
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 294
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0.0271828
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6576
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 295
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 271.828
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6616
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 296
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1.1e+128
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6648
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 297
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 1.1e-64
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6680
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 298
i32.const 0
call $~lib/env/abort
unreachable
end
f64.const 0.000035689
2019-03-16 14:48:22 +01:00
call $~lib/util/number/dtoa
2019-03-26 23:35:08 +01:00
i32.const 6712
2019-03-18 00:40:55 +01:00
call $~lib/string/String.__eq
i32.eqz
if
i32.const 0
2019-03-26 23:35:08 +01:00
i32.const 72
i32.const 299
i32.const 0
call $~lib/env/abort
unreachable
end
)
2019-03-27 17:21:52 +01:00
(func $std/string/getString (; 67 ;) (type $FUNCSIG$i) (result i32)
global.get $std/string/str
)
2019-03-27 17:21:52 +01:00
(func $start (; 68 ;) (type $FUNCSIG$v)
call $start:std/string
)
2019-03-27 17:21:52 +01:00
(func $null (; 69 ;) (type $FUNCSIG$v)
)
)