mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
Previously this tried to reuse too much code, making it hard to implement operator overloading
13988 lines
256 KiB
Plaintext
13988 lines
256 KiB
Plaintext
(module
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
|
(type $iii (func (param i32 i32) (result i32)))
|
|
(type $ii (func (param i32) (result i32)))
|
|
(type $iiiiii (func (param i32 i32 i32 i32 i32) (result i32)))
|
|
(type $iiii (func (param i32 i32 i32) (result i32)))
|
|
(type $iiiv (func (param i32 i32 i32)))
|
|
(type $iiiiiv (func (param i32 i32 i32 i32 i32)))
|
|
(type $i (func (result i32)))
|
|
(type $iiF (func (param i32 i32) (result f64)))
|
|
(type $iF (func (param i32) (result f64)))
|
|
(type $Ii (func (param i64) (result i32)))
|
|
(type $iIiv (func (param i32 i64 i32)))
|
|
(type $Fi (func (param f64) (result i32)))
|
|
(type $iFi (func (param i32 f64) (result i32)))
|
|
(type $iIiIiIii (func (param i32 i64 i32 i64 i32 i64 i32) (result i32)))
|
|
(type $iv (func (param i32)))
|
|
(type $v (func))
|
|
(memory $0 1)
|
|
(data (i32.const 8) "\10\00\00\00h\00i\00,\00 \00I\00\'\00m\00 \00a\00 \00s\00t\00r\00i\00n\00g\00")
|
|
(data (i32.const 48) "\0d\00\00\00s\00t\00d\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
|
|
(data (i32.const 80) "\0e\00\00\00~\00l\00i\00b\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
|
|
(data (i32.const 112) "\17\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00s\00t\00r\00i\00n\00g\00.\00t\00s\00")
|
|
(data (i32.const 168) "\01\00\00\00\00\00")
|
|
(data (i32.const 176) "\01\00\00\006\00")
|
|
(data (i32.const 184) "\02\00\00\004\d8\06\df")
|
|
(data (i32.const 192) "\02\00\00\00h\00i\00")
|
|
(data (i32.const 200) "\04\00\00\00n\00u\00l\00l\00")
|
|
(data (i32.const 216) "\06\00\00\00s\00t\00r\00i\00n\00g\00")
|
|
(data (i32.const 232) "\03\00\00\00I\00\'\00m\00")
|
|
(data (i32.const 248) "\01\00\00\00 \00")
|
|
(data (i32.const 256) "\00\00\00\00")
|
|
(data (i32.const 264) "\03\00\00\00 \00 \00 \00")
|
|
(data (i32.const 280) "\01\00\00\00a\00")
|
|
(data (i32.const 288) "\03\00\00\00a\00b\00c\00")
|
|
(data (i32.const 304) "\05\00\00\00 \00 \00a\00b\00c\00")
|
|
(data (i32.const 320) "\03\00\00\001\002\003\00")
|
|
(data (i32.const 336) "\06\00\00\001\002\003\00a\00b\00c\00")
|
|
(data (i32.const 352) "\08\00\00\001\002\003\001\002\00a\00b\00c\00")
|
|
(data (i32.const 376) "\05\00\00\00a\00b\00c\00 \00 \00")
|
|
(data (i32.const 392) "\06\00\00\00a\00b\00c\00a\00b\00c\00")
|
|
(data (i32.const 408) "\08\00\00\00a\00b\00c\00a\00b\00c\00a\00b\00")
|
|
(data (i32.const 432) "\01\00\00\00,\00")
|
|
(data (i32.const 440) "\01\00\00\00x\00")
|
|
(data (i32.const 448) "\03\00\00\00,\00 \00I\00")
|
|
(data (i32.const 464) "\01\00\00\00g\00")
|
|
(data (i32.const 472) "\01\00\00\00i\00")
|
|
(data (i32.const 480) "\01\00\00\000\00")
|
|
(data (i32.const 488) "\01\00\00\001\00")
|
|
(data (i32.const 496) "\05\00\00\000\00b\001\000\001\00")
|
|
(data (i32.const 512) "\05\00\00\000\00o\007\000\007\00")
|
|
(data (i32.const 528) "\05\00\00\000\00x\00f\000\00f\00")
|
|
(data (i32.const 544) "\05\00\00\000\00x\00F\000\00F\00")
|
|
(data (i32.const 560) "\03\00\00\000\001\001\00")
|
|
(data (i32.const 576) "\04\00\00\000\00x\001\00g\00")
|
|
(data (i32.const 592) "\03\00\00\000\00.\001\00")
|
|
(data (i32.const 608) "\03\00\00\00.\002\005\00")
|
|
(data (i32.const 624) "\08\00\00\00.\001\00f\00o\00o\00b\00a\00r\00")
|
|
(data (i32.const 648) "\01\00\00\00b\00")
|
|
(data (i32.const 656) "\02\00\00\00a\00b\00")
|
|
(data (i32.const 664) "\02\00\00\00b\00a\00")
|
|
(data (i32.const 672) "\02\00\00\00a\00a\00")
|
|
(data (i32.const 680) "\03\00\00\00a\00a\00a\00")
|
|
(data (i32.const 696) "\08\00\00\00a\00b\00a\00b\00a\00b\00a\00b\00")
|
|
(data (i32.const 720) "\05\00\00\00a\00a\00a\00a\00a\00")
|
|
(data (i32.const 736) "\06\00\00\00a\00a\00a\00a\00a\00a\00")
|
|
(data (i32.const 752) "\07\00\00\00a\00a\00a\00a\00a\00a\00a\00")
|
|
(data (i32.const 776) "\0d\00\00\00~\00l\00i\00b\00/\00a\00r\00r\00a\00y\00.\00t\00s\00")
|
|
(data (i32.const 808) "\1c\00\00\00~\00l\00i\00b\00/\00i\00n\00t\00e\00r\00n\00a\00l\00/\00a\00r\00r\00a\00y\00b\00u\00f\00f\00e\00r\00.\00t\00s\00")
|
|
(data (i32.const 872) "\04\00\00\00\00\00\00\00\00\01\00\00\00\00\00\00")
|
|
(data (i32.const 888) "h\03\00\00\01\00\00\00")
|
|
(data (i32.const 896) "\05\00\00\00a\00,\00b\00,\00c\00")
|
|
(data (i32.const 912) "\01\00\00\00.\00")
|
|
(data (i32.const 920) "\01\00\00\00c\00")
|
|
(data (i32.const 928) "\07\00\00\00a\00,\00 \00b\00,\00 \00c\00")
|
|
(data (i32.const 952) "\02\00\00\00,\00 \00")
|
|
(data (i32.const 960) "\06\00\00\00a\00,\00b\00,\00,\00c\00")
|
|
(data (i32.const 976) "\06\00\00\00,\00a\00,\00b\00,\00c\00")
|
|
(data (i32.const 992) "\06\00\00\00a\00,\00b\00,\00c\00,\00")
|
|
(data (i32.const 1008) "\90\01\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 1520) "\f0\03\00\00d\00\00\00")
|
|
(data (i32.const 1528) "\01\00\00\008\00")
|
|
(data (i32.const 1536) "\05\00\00\00-\001\000\000\000\00")
|
|
(data (i32.const 1552) "\04\00\00\001\002\003\004\00")
|
|
(data (i32.const 1568) "\05\00\00\001\002\003\004\005\00")
|
|
(data (i32.const 1584) "\06\00\00\001\002\003\004\005\006\00")
|
|
(data (i32.const 1600) "\07\00\00\001\001\001\001\001\001\001\00")
|
|
(data (i32.const 1624) "\07\00\00\001\002\003\004\005\006\007\00")
|
|
(data (i32.const 1648) "\n\00\00\002\001\004\007\004\008\003\006\004\006\00")
|
|
(data (i32.const 1672) "\n\00\00\002\001\004\007\004\008\003\006\004\007\00")
|
|
(data (i32.const 1696) "\0b\00\00\00-\002\001\004\007\004\008\003\006\004\008\00")
|
|
(data (i32.const 1728) "\02\00\00\00-\001\00")
|
|
(data (i32.const 1736) "\04\00\00\001\000\000\000\00")
|
|
(data (i32.const 1752) "\n\00\00\002\001\004\007\004\008\003\006\004\008\00")
|
|
(data (i32.const 1776) "\n\00\00\004\002\009\004\009\006\007\002\009\005\00")
|
|
(data (i32.const 1800) "\90\01\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 2312) "\08\07\00\00d\00\00\00")
|
|
(data (i32.const 2320) "\08\00\00\009\009\009\009\009\009\009\009\00")
|
|
(data (i32.const 2344) "\t\00\00\001\000\000\000\000\000\000\000\000\00")
|
|
(data (i32.const 2368) "\0b\00\00\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2400) "\0c\00\00\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2432) "\0f\00\00\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2472) "\10\00\00\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2512) "\11\00\00\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2552) "\14\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 2600) "\05\00\00\00-\001\002\003\004\00")
|
|
(data (i32.const 2616) "\0b\00\00\00-\004\002\009\004\009\006\007\002\009\005\00")
|
|
(data (i32.const 2648) "\0c\00\00\00-\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2680) "\0d\00\00\00-\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2712) "\10\00\00\00-\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2752) "\12\00\00\00-\001\009\009\009\009\008\006\008\007\001\009\004\007\006\007\003\005\00")
|
|
(data (i32.const 2792) "\13\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 2840) "\14\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 2888) "\03\00\00\000\00.\000\00")
|
|
(data (i32.const 2904) "\03\00\00\00N\00a\00N\00")
|
|
(data (i32.const 2920) "\t\00\00\00-\00I\00n\00f\00i\00n\00i\00t\00y\00")
|
|
(data (i32.const 2944) "\08\00\00\00I\00n\00f\00i\00n\00i\00t\00y\00")
|
|
(data (i32.const 2968) "\b8\02\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 3992) "\98\0b\00\00W\00\00\00")
|
|
(data (i32.const 4000) "\ae\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\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4256) "\a0\0f\00\00W\00\00\00")
|
|
(data (i32.const 4264) "(\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;\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00")
|
|
(data (i32.const 4328) "\a8\10\00\00\n\00\00\00")
|
|
(data (i32.const 4336) "\15\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 4384) "\16\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 4432) "\17\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 4488) "\18\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 4544) "\16\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 4592) "\17\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 4648) "\15\00\00\002\00.\009\008\000\002\003\002\002\003\008\007\006\009\005\003\001\002\00e\00-\008\00")
|
|
(data (i32.const 4696) "\14\00\00\00-\002\001\000\009\008\000\008\008\009\008\006\009\005\009\006\003\000\00.\000\00")
|
|
(data (i32.const 4744) "\0d\00\00\004\00.\009\004\000\006\005\006\00e\00-\003\001\008\00")
|
|
(data (i32.const 4776) "\12\00\00\009\000\006\000\008\000\001\001\005\003\004\003\003\006\000\000\00.\000\00")
|
|
(data (i32.const 4816) "\15\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 4864) "\15\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 4912) "\06\00\00\005\00e\00-\003\002\004\00")
|
|
(data (i32.const 4928) "\03\00\00\001\00.\000\00")
|
|
(data (i32.const 4944) "\04\00\00\00-\001\00.\000\00")
|
|
(data (i32.const 4960) "\04\00\00\00-\000\00.\001\00")
|
|
(data (i32.const 4976) "\t\00\00\001\000\000\000\000\000\000\00.\000\00")
|
|
(data (i32.const 5000) "\08\00\00\000\00.\000\000\000\000\000\001\00")
|
|
(data (i32.const 5024) "\n\00\00\00-\001\000\000\000\000\000\000\00.\000\00")
|
|
(data (i32.const 5048) "\t\00\00\00-\000\00.\000\000\000\000\000\001\00")
|
|
(data (i32.const 5072) "\n\00\00\001\000\000\000\000\000\000\000\00.\000\00")
|
|
(data (i32.const 5096) "\04\00\00\001\00e\00-\007\00")
|
|
(data (i32.const 5112) "\06\00\00\001\00e\00+\003\000\008\00")
|
|
(data (i32.const 5128) "\07\00\00\00-\001\00e\00+\003\000\008\00")
|
|
(data (i32.const 5152) "\06\00\00\001\00e\00-\003\000\008\00")
|
|
(data (i32.const 5168) "\07\00\00\00-\001\00e\00-\003\000\008\00")
|
|
(data (i32.const 5192) "\06\00\00\001\00e\00-\003\002\003\00")
|
|
(data (i32.const 5208) "\07\00\00\00-\001\00e\00-\003\002\003\00")
|
|
(data (i32.const 5232) "\0c\00\00\004\002\009\004\009\006\007\002\007\002\00.\000\00")
|
|
(data (i32.const 5264) "\15\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 5312) "\19\00\00\00-\000\00.\000\000\000\000\000\001\000\004\007\001\009\007\005\005\001\001\009\006\005\009\007\006\00")
|
|
(data (i32.const 5368) "\11\00\00\005\005\005\005\005\005\005\005\005\00.\005\005\005\005\005\005\006\00")
|
|
(data (i32.const 5408) "\12\00\00\000\00.\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\009\00")
|
|
(data (i32.const 5448) "\05\00\00\001\002\00.\003\004\00")
|
|
(data (i32.const 5464) "\13\00\00\000\00.\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\00")
|
|
(data (i32.const 5512) "\12\00\00\000\00.\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\003\00")
|
|
(data (i32.const 5552) "\17\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 5608) "\t\00\00\001\00.\002\003\004\00e\00+\002\001\00")
|
|
(data (i32.const 5632) "\07\00\00\002\00.\007\001\008\002\008\00")
|
|
(data (i32.const 5656) "\t\00\00\000\00.\000\002\007\001\008\002\008\00")
|
|
(data (i32.const 5680) "\07\00\00\002\007\001\00.\008\002\008\00")
|
|
(data (i32.const 5704) "\08\00\00\001\00.\001\00e\00+\001\002\008\00")
|
|
(data (i32.const 5728) "\07\00\00\001\00.\001\00e\00-\006\004\00")
|
|
(data (i32.const 5752) "\0b\00\00\000\00.\000\000\000\000\003\005\006\008\009\00")
|
|
(data (i32.const 5784) "\16\00\00\003\00.\004\000\002\008\002\003\004\006\006\003\008\005\002\008\008\006\00e\00+\003\008\00")
|
|
(data (i32.const 5832) "\15\00\00\001\00.\001\009\002\000\009\002\008\009\005\005\000\007\008\001\002\005\00e\00-\007\00")
|
|
(table 1 anyfunc)
|
|
(elem (i32.const 0) $null)
|
|
(import "env" "abort" (func $~lib/env/abort (param i32 i32 i32 i32)))
|
|
(global $~lib/internal/allocator/AL_BITS i32 (i32.const 3))
|
|
(global $~lib/internal/allocator/AL_SIZE i32 (i32.const 8))
|
|
(global $~lib/internal/allocator/AL_MASK i32 (i32.const 7))
|
|
(global $~lib/internal/allocator/MAX_SIZE_32 i32 (i32.const 1073741824))
|
|
(global $~lib/allocator/arena/startOffset (mut i32) (i32.const 0))
|
|
(global $~lib/allocator/arena/offset (mut i32) (i32.const 0))
|
|
(global $~lib/internal/arraybuffer/HEADER_SIZE i32 (i32.const 8))
|
|
(global $~lib/internal/arraybuffer/MAX_BLENGTH i32 (i32.const 1073741816))
|
|
(global $~lib/internal/string/HEADER_SIZE i32 (i32.const 4))
|
|
(global $~lib/internal/string/MAX_LENGTH i32 (i32.const 536870910))
|
|
(global $~lib/internal/number/MAX_DOUBLE_LENGTH i32 (i32.const 28))
|
|
(global $~lib/internal/number/_K (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_frc (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_exp (mut i32) (i32.const 0))
|
|
(global $~lib/internal/number/_frc_minus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_plus (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_frc_pow (mut i64) (i64.const 0))
|
|
(global $~lib/internal/number/_exp_pow (mut i32) (i32.const 0))
|
|
(global $std/string/str (mut i32) (i32.const 8))
|
|
(global $std/string/nullStr (mut i32) (i32.const 0))
|
|
(global $~argc (mut i32) (i32.const 0))
|
|
(global $ASC_SHRINK_LEVEL i32 (i32.const 0))
|
|
(global $~lib/builtins/i32.MAX_VALUE i32 (i32.const 2147483647))
|
|
(global $NaN f64 (f64.const nan:0x8000000000000))
|
|
(global $~lib/internal/string/CharCode.PLUS i32 (i32.const 43))
|
|
(global $~lib/internal/string/CharCode.MINUS i32 (i32.const 45))
|
|
(global $~lib/internal/string/CharCode.DOT i32 (i32.const 46))
|
|
(global $~lib/internal/string/CharCode._0 i32 (i32.const 48))
|
|
(global $~lib/internal/string/CharCode._1 i32 (i32.const 49))
|
|
(global $~lib/internal/string/CharCode._2 i32 (i32.const 50))
|
|
(global $~lib/internal/string/CharCode._3 i32 (i32.const 51))
|
|
(global $~lib/internal/string/CharCode._4 i32 (i32.const 52))
|
|
(global $~lib/internal/string/CharCode._5 i32 (i32.const 53))
|
|
(global $~lib/internal/string/CharCode._6 i32 (i32.const 54))
|
|
(global $~lib/internal/string/CharCode._7 i32 (i32.const 55))
|
|
(global $~lib/internal/string/CharCode._8 i32 (i32.const 56))
|
|
(global $~lib/internal/string/CharCode._9 i32 (i32.const 57))
|
|
(global $~lib/internal/string/CharCode.A i32 (i32.const 65))
|
|
(global $~lib/internal/string/CharCode.B i32 (i32.const 66))
|
|
(global $~lib/internal/string/CharCode.E i32 (i32.const 69))
|
|
(global $~lib/internal/string/CharCode.N i32 (i32.const 78))
|
|
(global $~lib/internal/string/CharCode.O i32 (i32.const 79))
|
|
(global $~lib/internal/string/CharCode.X i32 (i32.const 88))
|
|
(global $~lib/internal/string/CharCode.Z i32 (i32.const 90))
|
|
(global $~lib/internal/string/CharCode.a i32 (i32.const 97))
|
|
(global $~lib/internal/string/CharCode.b i32 (i32.const 98))
|
|
(global $~lib/internal/string/CharCode.e i32 (i32.const 101))
|
|
(global $~lib/internal/string/CharCode.n i32 (i32.const 110))
|
|
(global $~lib/internal/string/CharCode.o i32 (i32.const 111))
|
|
(global $~lib/internal/string/CharCode.x i32 (i32.const 120))
|
|
(global $~lib/internal/string/CharCode.z i32 (i32.const 122))
|
|
(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))
|
|
(global $std/string/sa (mut 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))
|
|
(global $Infinity f64 (f64.const inf))
|
|
(global $~lib/builtins/f64.EPSILON f64 (f64.const 2.220446049250313e-16))
|
|
(global $~lib/builtins/f64.MAX_VALUE f64 (f64.const 1797693134862315708145274e284))
|
|
(global $~lib/builtins/f32.MAX_VALUE f32 (f32.const 3402823466385288598117041e14))
|
|
(global $~lib/builtins/f32.EPSILON f32 (f32.const 1.1920928955078125e-07))
|
|
(global $HEAP_BASE i32 (i32.const 5880))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(export "getString" (func $std/string/getString))
|
|
(start $start)
|
|
(func $~lib/string/String#charCodeAt (; 1 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 75)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(i32.load16_u offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/allocator/arena/__memory_allocate (; 2 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $0)
|
|
(get_global $~lib/internal/allocator/MAX_SIZE_32)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $1
|
|
(get_global $~lib/allocator/arena/offset)
|
|
)
|
|
(set_local $4
|
|
(i32.and
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $1)
|
|
(select
|
|
(tee_local $2
|
|
(get_local $0)
|
|
)
|
|
(tee_local $3
|
|
(i32.const 1)
|
|
)
|
|
(i32.gt_u
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/allocator/AL_MASK)
|
|
)
|
|
(i32.xor
|
|
(get_global $~lib/internal/allocator/AL_MASK)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(current_memory)
|
|
)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $4)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.shr_u
|
|
(i32.and
|
|
(i32.add
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_local $1)
|
|
)
|
|
(i32.const 65535)
|
|
)
|
|
(i32.xor
|
|
(i32.const 65535)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(select
|
|
(tee_local $3
|
|
(get_local $5)
|
|
)
|
|
(tee_local $6
|
|
(get_local $2)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $3)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(grow_memory
|
|
(get_local $3)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(grow_memory
|
|
(get_local $2)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/allocator/arena/offset
|
|
(get_local $4)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/internal/string/allocateUnsafe (; 3 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $1
|
|
(i32.gt_s
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/MAX_LENGTH)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 112)
|
|
(i32.const 14)
|
|
(i32.const 2)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(block $~lib/memory/memory.allocate|inlined.0 (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
(i32.shl
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $~lib/memory/memory.allocate|inlined.0
|
|
(call $~lib/allocator/arena/__memory_allocate
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $2)
|
|
(get_local $0)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/string/String.fromCharCode (; 4 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $1)
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/internal/string/compareUnsafe (; 5 ;) (type $iiiiii) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32) (result i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(set_local $5
|
|
(i32.const 0)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(if (result i32)
|
|
(get_local $4)
|
|
(i32.eqz
|
|
(tee_local $5
|
|
(i32.sub
|
|
(i32.load16_u offset=4
|
|
(get_local $6)
|
|
)
|
|
(i32.load16_u offset=4
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(func $~lib/string/String.__eq (; 6 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ne
|
|
(get_local $3)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String.fromCodePoint (; 7 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.le_u
|
|
(get_local $0)
|
|
(i32.const 1114111)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 34)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.gt_s
|
|
(get_local $0)
|
|
(i32.const 65535)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $2)
|
|
(get_local $0)
|
|
)
|
|
(block
|
|
(set_local $0
|
|
(i32.sub
|
|
(get_local $0)
|
|
(i32.const 65536)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(i32.shr_u
|
|
(get_local $0)
|
|
(i32.const 10)
|
|
)
|
|
(i32.const 55296)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 1023)
|
|
)
|
|
(i32.const 56320)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $2)
|
|
(i32.or
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/string/String#startsWith (; 8 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 244)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(get_local $2)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(select
|
|
(tee_local $5
|
|
(select
|
|
(tee_local $5
|
|
(get_local $3)
|
|
)
|
|
(tee_local $6
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $6
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(i32.add
|
|
(get_local $8)
|
|
(get_local $7)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $7)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#endsWith (; 9 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 124)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(select
|
|
(tee_local $3
|
|
(select
|
|
(tee_local $3
|
|
(get_local $2)
|
|
)
|
|
(tee_local $4
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $4
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.sub
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(get_local $7)
|
|
(i32.const 0)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $7)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#endsWith|trampoline (; 10 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(get_global $~lib/internal/string/MAX_LENGTH)
|
|
)
|
|
)
|
|
(call $~lib/string/String#endsWith
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#indexOf (; 11 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 213)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(select
|
|
(tee_local $5
|
|
(select
|
|
(tee_local $5
|
|
(get_local $2)
|
|
)
|
|
(tee_local $6
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $6
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(set_local $5
|
|
(get_local $7)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.eqz
|
|
(i32.le_s
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $5)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(func $~lib/internal/memory/memcpy (; 12 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(if (result i32)
|
|
(get_local $2)
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 3)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(block
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
(block
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 12)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(i32.store16
|
|
(get_local $0)
|
|
(i32.load16_u
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(return)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 32)
|
|
)
|
|
(block $break|2
|
|
(block $case2|2
|
|
(block $case1|2
|
|
(block $case0|2
|
|
(set_local $5
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(br_if $case0|2
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br_if $case1|2
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br_if $case2|2
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(block $break|3
|
|
(loop $continue|3
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 17)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 9)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 13)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 24)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block $break|4
|
|
(loop $continue|4
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 18)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 6)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 14)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 16)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block $break|5
|
|
(loop $continue|5
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 19)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 11)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $3)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 15)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(i32.or
|
|
(i32.shr_u
|
|
(get_local $4)
|
|
(i32.const 8)
|
|
)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 24)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $break|2)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 16)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $5
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/memory/memmove (; 13 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $3
|
|
(i32.le_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
(i32.le_u
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/internal/memory/memcpy
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eq
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
(block
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
(block
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(block
|
|
(i64.store
|
|
(get_local $0)
|
|
(i64.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|2
|
|
(loop $continue|2
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(block
|
|
(i32.store8
|
|
(block (result i32)
|
|
(set_local $0
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $0)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(i32.load8_u
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.add
|
|
(tee_local $3
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eq
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 7)
|
|
)
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
(block
|
|
(block $break|3
|
|
(loop $continue|3
|
|
(if
|
|
(i32.and
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 7)
|
|
)
|
|
(block
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.load8_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|4
|
|
(loop $continue|4
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(i64.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i64.load
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|5
|
|
(loop $continue|5
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(i32.load8_u
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/string/repeatUnsafe (; 14 ;) (type $iiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i32)
|
|
(local $9 i64)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(block $case5|0
|
|
(block $case4|0
|
|
(block $case3|0
|
|
(block $case2|0
|
|
(block $case1|0
|
|
(block $case0|0
|
|
(set_local $5
|
|
(get_local $4)
|
|
)
|
|
(br_if $case0|0
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(br_if $case1|0
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br_if $case2|0
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br_if $case3|0
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(br_if $case4|0
|
|
(i32.eq
|
|
(get_local $5)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(br $case5|0)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(block
|
|
(set_local $5
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|1
|
|
(set_local $7
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|1
|
|
(br_if $break|1
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $7)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $6)
|
|
(i32.shl
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|1)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $6
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|2
|
|
(set_local $7
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|2
|
|
(br_if $break|2
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $7)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $5)
|
|
(i32.shl
|
|
(get_local $7)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|2)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $5
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.load16_u offset=8
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|3
|
|
(set_local $8
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|3
|
|
(br_if $break|3
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $8)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i32.store16 offset=8
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.add
|
|
(get_local $8)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|3)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $9
|
|
(i64.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $break|4
|
|
(set_local $6
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|4
|
|
(br_if $break|4
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $6)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.shl
|
|
(get_local $6)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(get_local $9)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|4)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $7
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $2)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
)
|
|
(block $break|5
|
|
(block
|
|
(set_local $8
|
|
(i32.const 0)
|
|
)
|
|
(set_local $10
|
|
(i32.mul
|
|
(get_local $7)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(loop $repeat|5
|
|
(br_if $break|5
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $8)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.copy|inlined.0
|
|
(set_local $11
|
|
(i32.add
|
|
(get_local $6)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $11)
|
|
(get_local $5)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.add
|
|
(get_local $8)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(br $repeat|5)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/string/copyUnsafe (; 15 ;) (type $iiiiiv) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (param $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(block $~lib/memory/memory.copy|inlined.1
|
|
(set_local $5
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $5)
|
|
(get_local $6)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String#padStart (; 16 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 360)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $5
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $6)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $5
|
|
(i32.div_s
|
|
(i32.sub
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.mul
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.sub
|
|
(get_local $6)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(get_local $7)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
(if
|
|
(get_local $9)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(get_local $8)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $3)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(get_local $6)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(get_local $7)
|
|
)
|
|
(func $~lib/string/String#padStart|trampoline (; 17 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(i32.const 248)
|
|
)
|
|
)
|
|
(call $~lib/string/String#padStart
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#padEnd (; 18 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 380)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $5
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $3)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $6)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $5
|
|
(i32.div_s
|
|
(i32.sub
|
|
(get_local $6)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.mul
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.sub
|
|
(get_local $6)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(get_local $7)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
(if
|
|
(get_local $9)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(i32.add
|
|
(get_local $8)
|
|
(get_local $3)
|
|
)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $7)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $7)
|
|
)
|
|
(func $~lib/string/String#padEnd|trampoline (; 19 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(i32.const 248)
|
|
)
|
|
)
|
|
(call $~lib/string/String#padEnd
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#lastIndexOf (; 20 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 229)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(select
|
|
(tee_local $5
|
|
(select
|
|
(tee_local $5
|
|
(get_local $2)
|
|
)
|
|
(tee_local $6
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $6
|
|
(i32.sub
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(set_local $5
|
|
(get_local $7)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.eqz
|
|
(i32.ge_s
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(get_local $5)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.sub
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(func $~lib/string/String#lastIndexOf|trampoline (; 21 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(block $1of1
|
|
(block $0of1
|
|
(block $outOfRange
|
|
(br_table $0of1 $1of1 $outOfRange
|
|
(i32.sub
|
|
(get_global $~argc)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $2
|
|
(get_global $~lib/builtins/i32.MAX_VALUE)
|
|
)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $std/string/getString (; 22 ;) (type $i) (result i32)
|
|
(get_global $std/string/str)
|
|
)
|
|
(func $~lib/internal/string/parse<f64> (; 23 ;) (type $iiF) (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)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(get_local $0)
|
|
)
|
|
(set_local $4
|
|
(i32.load16_u offset=4
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load16_u offset=4
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.const -1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.PLUS)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load16_u offset=4
|
|
(tee_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.eq
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(block $break|0
|
|
(block $case6|0
|
|
(block $case5|0
|
|
(block $case4|0
|
|
(block $case3|0
|
|
(block $case2|0
|
|
(block $case1|0
|
|
(block $case0|0
|
|
(set_local $6
|
|
(i32.load16_u offset=4
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(br_if $case0|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.B)
|
|
)
|
|
)
|
|
(br_if $case1|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.b)
|
|
)
|
|
)
|
|
(br_if $case2|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.O)
|
|
)
|
|
)
|
|
(br_if $case3|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.o)
|
|
)
|
|
)
|
|
(br_if $case4|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.X)
|
|
)
|
|
)
|
|
(br_if $case5|0
|
|
(i32.eq
|
|
(get_local $6)
|
|
(get_global $~lib/internal/string/CharCode.x)
|
|
)
|
|
)
|
|
(br $case6|0)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.const 2)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.const 8)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.const 16)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
(i32.gt_s
|
|
(get_local $1)
|
|
(i32.const 36)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(f64.const 0)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(if
|
|
(block (result i32)
|
|
(set_local $2
|
|
(i32.sub
|
|
(tee_local $6
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.load16_u offset=4
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.ge_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode._9)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.ge_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.A)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.Z)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.sub
|
|
(get_global $~lib/internal/string/CharCode.A)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.ge_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.a)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/CharCode.z)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.sub
|
|
(get_global $~lib/internal/string/CharCode.a)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_s
|
|
(get_local $4)
|
|
(get_local $1)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $7
|
|
(f64.add
|
|
(f64.mul
|
|
(get_local $7)
|
|
(f64.convert_s/i32
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(f64.convert_s/i32
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.mul
|
|
(get_local $5)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(func $~lib/string/parseInt (; 24 ;) (type $iiF) (param $0 i32) (param $1 i32) (result f64)
|
|
(call $~lib/internal/string/parse<f64>
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(func $~lib/string/parseFloat (; 25 ;) (type $iF) (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)
|
|
(set_local $1
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(get_local $0)
|
|
)
|
|
(set_local $3
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $1
|
|
(i32.sub
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load16_u offset=4
|
|
(tee_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(f64.const -1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.PLUS)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(tee_local $1
|
|
(i32.sub
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load16_u offset=4
|
|
(tee_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(f64.const 0)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.sub
|
|
(tee_local $6
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $3
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(f64.const 0.1)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(if
|
|
(block (result i32)
|
|
(set_local $1
|
|
(i32.sub
|
|
(tee_local $6
|
|
(get_local $1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $3
|
|
(i32.load16_u offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $6
|
|
(i32.eq
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.E)
|
|
)
|
|
)
|
|
(get_local $6)
|
|
(i32.eq
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.e)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 626)
|
|
(i32.const 10)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $3)
|
|
(i32.const 9)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
(set_local $5
|
|
(f64.add
|
|
(get_local $5)
|
|
(f64.mul
|
|
(f64.convert_s/i32
|
|
(get_local $3)
|
|
)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(f64.mul
|
|
(get_local $7)
|
|
(f64.const 0.1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.sub
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $3)
|
|
(i32.const 10)
|
|
)
|
|
(br $break|0)
|
|
)
|
|
(set_local $5
|
|
(f64.add
|
|
(f64.mul
|
|
(get_local $5)
|
|
(f64.const 10)
|
|
)
|
|
(f64.convert_s/i32
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(f64.mul
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(func $~lib/string/String#concat (; 26 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 110)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(set_local $1
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $5)
|
|
(get_local $2)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $3)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(func $~lib/string/String.__concat (; 27 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(set_local $0
|
|
(i32.const 200)
|
|
)
|
|
)
|
|
(call $~lib/string/String#concat
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__ne (; 28 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__gt (; 29 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(select
|
|
(tee_local $2
|
|
(get_local $3)
|
|
)
|
|
(tee_local $5
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.gt_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__gte (; 30 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(select
|
|
(tee_local $2
|
|
(get_local $3)
|
|
)
|
|
(tee_local $5
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.ge_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__lt (; 31 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(select
|
|
(tee_local $2
|
|
(get_local $3)
|
|
)
|
|
(tee_local $5
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.lt_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String.__lte (; 32 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(if
|
|
(i32.eq
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(select
|
|
(tee_local $2
|
|
(get_local $3)
|
|
)
|
|
(tee_local $5
|
|
(get_local $4)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(call $~lib/internal/string/compareUnsafe
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $6)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(func $~lib/string/String#repeat (; 33 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 400)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $3
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
(i32.gt_s
|
|
(i32.mul
|
|
(get_local $2)
|
|
(get_local $1)
|
|
)
|
|
(i32.shl
|
|
(i32.const 1)
|
|
(i32.const 28)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 405)
|
|
(i32.const 6)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $3
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.mul
|
|
(get_local $2)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/repeatUnsafe
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(func $~lib/internal/arraybuffer/computeSize (; 34 ;) (type $ii) (param $0 i32) (result i32)
|
|
(i32.shl
|
|
(i32.const 1)
|
|
(i32.sub
|
|
(i32.const 32)
|
|
(i32.clz
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/arraybuffer/allocateUnsafe (; 35 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.le_u
|
|
(get_local $0)
|
|
(get_global $~lib/internal/arraybuffer/MAX_BLENGTH)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 808)
|
|
(i32.const 23)
|
|
(i32.const 2)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(block $~lib/memory/memory.allocate|inlined.1 (result i32)
|
|
(set_local $2
|
|
(call $~lib/internal/arraybuffer/computeSize
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(br $~lib/memory/memory.allocate|inlined.1
|
|
(call $~lib/allocator/arena/__memory_allocate
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $1)
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/memory/memory.allocate (; 36 ;) (type $ii) (param $0 i32) (result i32)
|
|
(return
|
|
(call $~lib/allocator/arena/__memory_allocate
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/memory/memset (; 37 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i64)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(if
|
|
(i32.le_u
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 2)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(if
|
|
(i32.le_u
|
|
(get_local $2)
|
|
(i32.const 6)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store8
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 3)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(i32.store8
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(if
|
|
(i32.le_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(return)
|
|
)
|
|
(set_local $3
|
|
(i32.and
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.and
|
|
(get_local $2)
|
|
(i32.const -4)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.mul
|
|
(i32.div_u
|
|
(i32.const -1)
|
|
(i32.const 255)
|
|
)
|
|
(i32.and
|
|
(get_local $1)
|
|
(i32.const 255)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(if
|
|
(i32.le_u
|
|
(get_local $2)
|
|
(i32.const 8)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 12)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 8)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(if
|
|
(i32.le_u
|
|
(get_local $2)
|
|
(i32.const 24)
|
|
)
|
|
(return)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 12)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 20)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 24)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 28)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 24)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 20)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(i32.store
|
|
(i32.sub
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(i32.const 24)
|
|
(i32.and
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i64.or
|
|
(i64.extend_u/i32
|
|
(get_local $4)
|
|
)
|
|
(i64.shl
|
|
(i64.extend_u/i32
|
|
(get_local $4)
|
|
)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 32)
|
|
)
|
|
(block
|
|
(block
|
|
(i64.store
|
|
(get_local $0)
|
|
(get_local $5)
|
|
)
|
|
(i64.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 8)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i64.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 16)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(i64.store
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 24)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 32)
|
|
)
|
|
)
|
|
(set_local $0
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 32)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/array/Array<String>#constructor (; 38 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(if
|
|
(i32.gt_u
|
|
(get_local $1)
|
|
(i32.const 268435454)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 776)
|
|
(i32.const 37)
|
|
(i32.const 39)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/internal/arraybuffer/allocateUnsafe
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.store
|
|
(tee_local $0
|
|
(if (result i32)
|
|
(get_local $0)
|
|
(get_local $0)
|
|
(tee_local $0
|
|
(block (result i32)
|
|
(set_local $4
|
|
(call $~lib/memory/memory.allocate
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(block $~lib/memory/memory.fill|inlined.0
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $3)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.const 0)
|
|
)
|
|
(call $~lib/internal/memory/memset
|
|
(get_local $4)
|
|
(get_local $5)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
(func $~lib/array/Array<String>#__unchecked_set (; 39 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(block $~lib/internal/arraybuffer/storeUnsafe<String,String>|inlined.0
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(i32.store offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/arraybuffer/reallocateUnsafe (; 40 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(i32.le_s
|
|
(get_local $1)
|
|
(get_global $~lib/internal/arraybuffer/MAX_BLENGTH)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 808)
|
|
(i32.const 37)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.le_s
|
|
(get_local $1)
|
|
(i32.sub
|
|
(call $~lib/internal/arraybuffer/computeSize
|
|
(get_local $2)
|
|
)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
)
|
|
(block
|
|
(i32.store
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
(block $~lib/memory/memory.fill|inlined.1
|
|
(set_local $3
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.const 0)
|
|
)
|
|
(set_local $5
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memset
|
|
(get_local $3)
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $5
|
|
(call $~lib/internal/arraybuffer/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.copy|inlined.2
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $5)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $4)
|
|
(get_local $3)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.fill|inlined.2
|
|
(set_local $3
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $5)
|
|
(get_global $~lib/internal/arraybuffer/HEADER_SIZE)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.const 0)
|
|
)
|
|
(set_local $6
|
|
(i32.sub
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memset
|
|
(get_local $3)
|
|
(get_local $4)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(i32.ge_s
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 808)
|
|
(i32.const 61)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $0)
|
|
)
|
|
(func $~lib/array/Array<String>#push (; 41 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(set_local $2
|
|
(i32.load offset=4
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.shr_u
|
|
(i32.load
|
|
(get_local $3)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $2)
|
|
(i32.const 268435454)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 776)
|
|
(i32.const 174)
|
|
(i32.const 42)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/internal/arraybuffer/reallocateUnsafe
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(i32.store
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $0)
|
|
(get_local $5)
|
|
)
|
|
(block $~lib/internal/arraybuffer/storeUnsafe<String,String>|inlined.2
|
|
(i32.store offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
(func $~lib/string/String#split (; 42 ;) (type $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)
|
|
(local $10 i32)
|
|
(local $11 i32)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 417)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(return
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
)
|
|
(return
|
|
(block (result i32)
|
|
(set_local $3
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/array/Array<String>#__unchecked_set
|
|
(get_local $3)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.load
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.lt_s
|
|
(get_local $2)
|
|
(i32.const 0)
|
|
)
|
|
(set_local $2
|
|
(get_global $~lib/builtins/i32.MAX_VALUE)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $5)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(select
|
|
(tee_local $3
|
|
(get_local $4)
|
|
)
|
|
(tee_local $6
|
|
(get_local $2)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $3)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.load
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(set_local $7
|
|
(i32.const 0)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $7)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $8
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $8)
|
|
(i32.load16_u offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $~lib/internal/arraybuffer/storeUnsafe<String,String>|inlined.1
|
|
(i32.store offset=8
|
|
(i32.add
|
|
(get_local $6)
|
|
(i32.shl
|
|
(get_local $7)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(get_local $7)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(i32.const 888)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(i32.const 0)
|
|
)
|
|
(set_local $11
|
|
(i32.const 0)
|
|
)
|
|
(set_local $12
|
|
(i32.const 0)
|
|
)
|
|
(block $break|1
|
|
(loop $continue|1
|
|
(if
|
|
(i32.ne
|
|
(tee_local $10
|
|
(call $~lib/string/String#indexOf
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $11)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $6
|
|
(i32.sub
|
|
(get_local $10)
|
|
(get_local $11)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $6)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $3)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $11)
|
|
(get_local $6)
|
|
)
|
|
(drop
|
|
(call $~lib/array/Array<String>#push
|
|
(get_local $9)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(drop
|
|
(call $~lib/array/Array<String>#push
|
|
(get_local $9)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(tee_local $12
|
|
(i32.add
|
|
(get_local $12)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(return
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $11
|
|
(i32.add
|
|
(get_local $10)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $11)
|
|
)
|
|
(return
|
|
(block (result i32)
|
|
(set_local $13
|
|
(call $~lib/array/Array<String>#constructor
|
|
(i32.const 0)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/array/Array<String>#__unchecked_set
|
|
(get_local $13)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
)
|
|
(get_local $13)
|
|
)
|
|
)
|
|
)
|
|
(set_local $14
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_local $11)
|
|
)
|
|
)
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $14)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(set_local $13
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $14)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $13)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $11)
|
|
(get_local $14)
|
|
)
|
|
(drop
|
|
(call $~lib/array/Array<String>#push
|
|
(get_local $9)
|
|
(get_local $13)
|
|
)
|
|
)
|
|
)
|
|
(drop
|
|
(call $~lib/array/Array<String>#push
|
|
(get_local $9)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
)
|
|
(get_local $9)
|
|
)
|
|
(func $~lib/string/String#split|trampoline (; 43 ;) (type $iiii) (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
|
|
(block $2of2
|
|
(block $1of2
|
|
(block $0of2
|
|
(block $outOfRange
|
|
(br_table $0of2 $1of2 $2of2 $outOfRange
|
|
(get_global $~argc)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(set_local $1
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(get_global $~lib/builtins/i32.MAX_VALUE)
|
|
)
|
|
)
|
|
(call $~lib/string/String#split
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/array/Array<String>#__get (; 44 ;) (type $iii) (param $0 i32) (param $1 i32) (result i32)
|
|
(local $2 i32)
|
|
(set_local $2
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(i32.lt_u
|
|
(get_local $1)
|
|
(i32.shr_u
|
|
(i32.load
|
|
(get_local $2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<String,String>|inlined.0 (result i32)
|
|
(i32.load offset=8
|
|
(i32.add
|
|
(get_local $2)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/decimalCount32 (; 45 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(if
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100000)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 1)
|
|
(i32.const 2)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(select
|
|
(i32.const 4)
|
|
(i32.const 5)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 3)
|
|
(get_local $1)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(block
|
|
(if
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 10000000)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 6)
|
|
(i32.const 7)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(select
|
|
(i32.const 9)
|
|
(i32.const 10)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 8)
|
|
(get_local $1)
|
|
(i32.lt_u
|
|
(get_local $0)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(func $~lib/internal/number/utoa32_lut (; 46 ;) (type $iiiv) (param $0 i32) (param $1 i32) (param $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(local $5 i32)
|
|
(local $6 i32)
|
|
(local $7 i32)
|
|
(local $8 i64)
|
|
(local $9 i64)
|
|
(set_local $3
|
|
(i32.load
|
|
(block $~lib/internal/number/DIGITS|inlined.0 (result i32)
|
|
(i32.const 1520)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i32.div_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.rem_u
|
|
(get_local $1)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(get_local $4)
|
|
)
|
|
(set_local $6
|
|
(i32.div_u
|
|
(get_local $5)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $5)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.0 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $6)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.1 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $7)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(get_local $8)
|
|
(i64.shl
|
|
(get_local $9)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
(block
|
|
(set_local $7
|
|
(i32.div_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.rem_u
|
|
(get_local $1)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(get_local $7)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u32>|inlined.0 (result i32)
|
|
(i32.load offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $6)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.ge_u
|
|
(get_local $1)
|
|
(i32.const 10)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u32>|inlined.1 (result i32)
|
|
(i32.load offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/itoa32 (; 47 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i32.lt_s
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(set_local $0
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.0
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $3)
|
|
(get_local $0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(i32.store16 offset=4
|
|
(get_local $3)
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(func $~lib/internal/number/utoa32 (; 48 ;) (type $ii) (param $0 i32) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.1
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $2)
|
|
(get_local $0)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/internal/number/decimalCount64 (; 49 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(if
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000000)
|
|
)
|
|
(block
|
|
(if
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 11)
|
|
(i32.const 12)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(select
|
|
(i32.const 14)
|
|
(i32.const 15)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000000)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 13)
|
|
(get_local $1)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 10000000000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(block
|
|
(if
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 100000000000000000)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 16)
|
|
(i32.const 17)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 10000000000000000)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $1
|
|
(select
|
|
(i32.const 19)
|
|
(i32.const 20)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const -8446744073709551616)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 18)
|
|
(get_local $1)
|
|
(i64.lt_u
|
|
(get_local $0)
|
|
(i64.const 1000000000000000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(func $~lib/internal/number/utoa64_lut (; 50 ;) (type $iIiv) (param $0 i32) (param $1 i64) (param $2 i32)
|
|
(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)
|
|
(local $12 i64)
|
|
(local $13 i64)
|
|
(set_local $3
|
|
(i32.load
|
|
(block $~lib/internal/number/DIGITS|inlined.1 (result i32)
|
|
(i32.const 2312)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(i64.ge_u
|
|
(get_local $1)
|
|
(i64.const 100000000)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $4
|
|
(i64.div_u
|
|
(get_local $1)
|
|
(i64.const 100000000)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.wrap/i64
|
|
(i64.sub
|
|
(get_local $1)
|
|
(i64.mul
|
|
(get_local $4)
|
|
(i64.const 100000000)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(get_local $4)
|
|
)
|
|
(set_local $6
|
|
(i32.div_u
|
|
(get_local $5)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.rem_u
|
|
(get_local $5)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.div_u
|
|
(get_local $6)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.rem_u
|
|
(get_local $6)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(i32.div_u
|
|
(get_local $7)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $11
|
|
(i32.rem_u
|
|
(get_local $7)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.2 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $10)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.3 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $11)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(get_local $12)
|
|
(i64.shl
|
|
(get_local $13)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.4 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.5 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.shl
|
|
(get_local $9)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(i32.sub
|
|
(get_local $2)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(i64.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i64.or
|
|
(get_local $12)
|
|
(i64.shl
|
|
(get_local $13)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $0)
|
|
(i32.wrap/i64
|
|
(get_local $1)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/utoa64 (; 51 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(i64.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(get_local $0)
|
|
(i64.extend_u/i32
|
|
(get_global $~lib/builtins/u32.MAX_VALUE)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $2
|
|
(i32.wrap/i64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.2
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $1)
|
|
(get_local $2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(call $~lib/internal/number/decimalCount64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa64_core|inlined.0
|
|
(call $~lib/internal/number/utoa64_lut
|
|
(get_local $1)
|
|
(get_local $0)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
(func $~lib/internal/number/itoa64 (; 52 ;) (type $Ii) (param $0 i64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(local $4 i32)
|
|
(if
|
|
(i64.eqz
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(i64.lt_s
|
|
(get_local $0)
|
|
(i64.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(set_local $0
|
|
(i64.sub
|
|
(i64.const 0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(get_local $0)
|
|
(i64.extend_u/i32
|
|
(get_global $~lib/builtins/u32.MAX_VALUE)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $3
|
|
(i32.wrap/i64
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $3)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.3
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $2)
|
|
(get_local $3)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $4
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount64
|
|
(get_local $0)
|
|
)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa64_core|inlined.1
|
|
(call $~lib/internal/number/utoa64_lut
|
|
(get_local $2)
|
|
(get_local $0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $1)
|
|
(i32.store16 offset=4
|
|
(get_local $2)
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
(func $~lib/builtins/isFinite<f64> (; 53 ;) (type $Fi) (param $0 f64) (result i32)
|
|
(f64.eq
|
|
(f64.sub
|
|
(get_local $0)
|
|
(get_local $0)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(func $~lib/builtins/isNaN<f64> (; 54 ;) (type $Fi) (param $0 f64) (result i32)
|
|
(f64.ne
|
|
(get_local $0)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(func $~lib/internal/number/genDigits (; 55 ;) (type $iIiIiIii) (param $0 i32) (param $1 i64) (param $2 i32) (param $3 i64) (param $4 i32) (param $5 i64) (param $6 i32) (result i32)
|
|
(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)
|
|
(local $20 i64)
|
|
(local $21 i32)
|
|
(local $22 i32)
|
|
(set_local $7
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i64.shl
|
|
(i64.const 1)
|
|
(i64.extend_s/i32
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i64.sub
|
|
(get_local $8)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(i64.sub
|
|
(get_local $3)
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $11
|
|
(get_local $4)
|
|
)
|
|
(set_local $12
|
|
(i32.wrap/i64
|
|
(i64.shr_u
|
|
(get_local $3)
|
|
(i64.extend_s/i32
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(i64.and
|
|
(get_local $3)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $14
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $12)
|
|
)
|
|
)
|
|
(set_local $15
|
|
(get_local $6)
|
|
)
|
|
(set_local $16
|
|
(i32.load
|
|
(block $~lib/internal/number/POWERS10|inlined.0 (result i32)
|
|
(i32.const 4328)
|
|
)
|
|
)
|
|
)
|
|
(block $break|0
|
|
(loop $continue|0
|
|
(if
|
|
(i32.gt_s
|
|
(get_local $14)
|
|
(i32.const 0)
|
|
)
|
|
(block
|
|
(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
|
|
(set_local $18
|
|
(get_local $14)
|
|
)
|
|
(br_if $case0|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(br_if $case1|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 9)
|
|
)
|
|
)
|
|
(br_if $case2|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(br_if $case3|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 7)
|
|
)
|
|
)
|
|
(br_if $case4|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 6)
|
|
)
|
|
)
|
|
(br_if $case5|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 5)
|
|
)
|
|
)
|
|
(br_if $case6|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(br_if $case7|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(br_if $case8|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(br_if $case9|1
|
|
(i32.eq
|
|
(get_local $18)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $case10|1)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 1000000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 100000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 10000000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 10000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 1000000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 100000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 100000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 10000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 1000)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 100)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.div_u
|
|
(get_local $12)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.rem_u
|
|
(get_local $12)
|
|
(i32.const 10)
|
|
)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(get_local $12)
|
|
)
|
|
(set_local $12
|
|
(i32.const 0)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $17
|
|
(i32.const 0)
|
|
)
|
|
(br $break|1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.or
|
|
(get_local $17)
|
|
(get_local $15)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(block (result i32)
|
|
(set_local $15
|
|
(i32.add
|
|
(tee_local $18
|
|
(get_local $15)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $18)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(i32.and
|
|
(get_local $17)
|
|
(i32.const 65535)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $14
|
|
(i32.sub
|
|
(get_local $14)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.add
|
|
(i64.shl
|
|
(i64.extend_u/i32
|
|
(get_local $12)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(get_local $13)
|
|
)
|
|
)
|
|
(if
|
|
(i64.le_u
|
|
(get_local $19)
|
|
(get_local $5)
|
|
)
|
|
(block
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.add
|
|
(get_global $~lib/internal/number/_K)
|
|
(get_local $14)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/grisuRound|inlined.0
|
|
(set_local $20
|
|
(i64.shl
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.6 (result i64)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $16)
|
|
(i32.shl
|
|
(get_local $14)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i64.extend_s/i32
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(set_local $18
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $15)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $21
|
|
(i32.load16_u offset=4
|
|
(get_local $18)
|
|
)
|
|
)
|
|
(block $break|2
|
|
(loop $continue|2
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $22
|
|
(if (result i32)
|
|
(tee_local $22
|
|
(i64.lt_u
|
|
(get_local $19)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(i64.ge_u
|
|
(i64.sub
|
|
(get_local $5)
|
|
(get_local $19)
|
|
)
|
|
(get_local $20)
|
|
)
|
|
(get_local $22)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(tee_local $22
|
|
(i64.lt_u
|
|
(i64.add
|
|
(get_local $19)
|
|
(get_local $20)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(get_local $22)
|
|
(i64.gt_u
|
|
(i64.sub
|
|
(get_local $10)
|
|
(get_local $19)
|
|
)
|
|
(i64.sub
|
|
(i64.add
|
|
(get_local $19)
|
|
(get_local $20)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
)
|
|
(get_local $22)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $21
|
|
(i32.sub
|
|
(get_local $21)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.add
|
|
(get_local $19)
|
|
(get_local $20)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $18)
|
|
(get_local $21)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $15)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $break|3
|
|
(loop $continue|3
|
|
(if
|
|
(i32.const 1)
|
|
(block
|
|
(block
|
|
(set_local $13
|
|
(i64.mul
|
|
(get_local $13)
|
|
(i64.const 10)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i64.mul
|
|
(get_local $5)
|
|
(i64.const 10)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.shr_u
|
|
(get_local $13)
|
|
(i64.extend_s/i32
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i64.ne
|
|
(i64.or
|
|
(get_local $19)
|
|
(i64.extend_s/i32
|
|
(get_local $15)
|
|
)
|
|
)
|
|
(i64.const 0)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(block (result i32)
|
|
(set_local $15
|
|
(i32.add
|
|
(tee_local $17
|
|
(get_local $15)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_local $17)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(i32.and
|
|
(i32.wrap/i64
|
|
(get_local $19)
|
|
)
|
|
(i32.const 65535)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(i64.and
|
|
(get_local $13)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $14
|
|
(i32.sub
|
|
(get_local $14)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i64.lt_u
|
|
(get_local $13)
|
|
(get_local $5)
|
|
)
|
|
(block
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.add
|
|
(get_global $~lib/internal/number/_K)
|
|
(get_local $14)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(i64.mul
|
|
(get_local $10)
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u32,u64>|inlined.7 (result i64)
|
|
(set_local $17
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $14)
|
|
)
|
|
)
|
|
(i64.load32_u offset=8
|
|
(i32.add
|
|
(get_local $16)
|
|
(i32.shl
|
|
(get_local $17)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/grisuRound|inlined.1
|
|
(set_local $17
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(i32.sub
|
|
(get_local $15)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $21
|
|
(i32.load16_u offset=4
|
|
(get_local $17)
|
|
)
|
|
)
|
|
(block $break|4
|
|
(loop $continue|4
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $18
|
|
(if (result i32)
|
|
(tee_local $18
|
|
(i64.lt_u
|
|
(get_local $13)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(i64.ge_u
|
|
(i64.sub
|
|
(get_local $5)
|
|
(get_local $13)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
(get_local $18)
|
|
)
|
|
)
|
|
(if (result i32)
|
|
(tee_local $18
|
|
(i64.lt_u
|
|
(i64.add
|
|
(get_local $13)
|
|
(get_local $8)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(get_local $18)
|
|
(i64.gt_u
|
|
(i64.sub
|
|
(get_local $10)
|
|
(get_local $13)
|
|
)
|
|
(i64.sub
|
|
(i64.add
|
|
(get_local $13)
|
|
(get_local $8)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
)
|
|
(get_local $18)
|
|
)
|
|
(block
|
|
(block
|
|
(set_local $21
|
|
(i32.sub
|
|
(get_local $21)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(i64.add
|
|
(get_local $13)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|4)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $17)
|
|
(get_local $21)
|
|
)
|
|
)
|
|
(return
|
|
(get_local $15)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(br $continue|3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $15)
|
|
)
|
|
(func $~lib/internal/number/prettify (; 56 ;) (type $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)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $2)
|
|
)
|
|
(block
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.or
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
(i32.shl
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $4
|
|
(i32.le_s
|
|
(get_local $1)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $3)
|
|
(i32.const 21)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(block $break|0
|
|
(set_local $4
|
|
(get_local $1)
|
|
)
|
|
(loop $repeat|0
|
|
(br_if $break|0
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $4)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|0)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.or
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
(i32.shl
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $3)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $4
|
|
(i32.gt_s
|
|
(get_local $3)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $3)
|
|
(i32.const 21)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.copy|inlined.3
|
|
(set_local $5
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $4)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.shl
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $5)
|
|
(get_local $6)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $4
|
|
(i32.lt_s
|
|
(i32.const -6)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(i32.le_s
|
|
(get_local $3)
|
|
(i32.const 0)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(block
|
|
(set_local $4
|
|
(i32.sub
|
|
(i32.const 2)
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.copy|inlined.4
|
|
(set_local $7
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
(i32.shl
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $7)
|
|
(get_local $6)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(i32.store offset=4
|
|
(get_local $0)
|
|
(i32.or
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
(i32.shl
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
)
|
|
(block $break|1
|
|
(set_local $5
|
|
(i32.const 2)
|
|
)
|
|
(loop $repeat|1
|
|
(br_if $break|1
|
|
(i32.eqz
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(get_global $~lib/internal/string/CharCode._0)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(get_local $5)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(br $repeat|1)
|
|
)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eq
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
(block
|
|
(i32.store16 offset=6
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/CharCode.e)
|
|
)
|
|
(set_local $1
|
|
(block $~lib/internal/number/genExponent|inlined.0 (result i32)
|
|
(set_local $4
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.sub
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $6)
|
|
(set_local $5
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $5)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.4
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $4)
|
|
(get_local $5)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $4)
|
|
(select
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
(get_global $~lib/internal/string/CharCode.PLUS)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $7)
|
|
)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(set_local $7
|
|
(i32.shl
|
|
(get_local $1)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.copy|inlined.5
|
|
(set_local $6
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/HEADER_SIZE)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $7)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(call $~lib/internal/memory/memmove
|
|
(get_local $6)
|
|
(get_local $5)
|
|
(get_local $4)
|
|
)
|
|
)
|
|
(i32.store16 offset=6
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/CharCode.DOT)
|
|
)
|
|
(i32.store16 offset=6
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $7)
|
|
)
|
|
(get_global $~lib/internal/string/CharCode.e)
|
|
)
|
|
(set_local $1
|
|
(i32.add
|
|
(get_local $1)
|
|
(block $~lib/internal/number/genExponent|inlined.1 (result i32)
|
|
(set_local $4
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $0)
|
|
(get_local $7)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i32.sub
|
|
(get_local $3)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i32.lt_s
|
|
(get_local $5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $6)
|
|
(set_local $5
|
|
(i32.sub
|
|
(i32.const 0)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.add
|
|
(call $~lib/internal/number/decimalCount32
|
|
(get_local $5)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/utoa32_core|inlined.5
|
|
(call $~lib/internal/number/utoa32_lut
|
|
(get_local $4)
|
|
(get_local $5)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $4)
|
|
(select
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
(get_global $~lib/internal/string/CharCode.PLUS)
|
|
(get_local $6)
|
|
)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
(return
|
|
(i32.add
|
|
(get_local $1)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(unreachable)
|
|
)
|
|
(func $~lib/internal/number/dtoa_core (; 57 ;) (type $iFi) (param $0 i32) (param $1 f64) (result i32)
|
|
(local $2 i32)
|
|
(local $3 i64)
|
|
(local $4 i32)
|
|
(local $5 i64)
|
|
(local $6 i64)
|
|
(local $7 i64)
|
|
(local $8 i32)
|
|
(local $9 i32)
|
|
(local $10 i32)
|
|
(local $11 f64)
|
|
(local $12 i32)
|
|
(local $13 i32)
|
|
(local $14 i64)
|
|
(local $15 i64)
|
|
(local $16 i64)
|
|
(local $17 i64)
|
|
(local $18 i64)
|
|
(local $19 i64)
|
|
(local $20 i64)
|
|
(local $21 i64)
|
|
(local $22 i64)
|
|
(local $23 i64)
|
|
(local $24 i32)
|
|
(set_local $2
|
|
(f64.lt
|
|
(get_local $1)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(get_local $2)
|
|
(block
|
|
(set_local $1
|
|
(f64.neg
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(i32.store16 offset=4
|
|
(get_local $0)
|
|
(get_global $~lib/internal/string/CharCode.MINUS)
|
|
)
|
|
)
|
|
)
|
|
(set_local $24
|
|
(block $~lib/internal/number/grisu2|inlined.0 (result i32)
|
|
(set_local $3
|
|
(i64.reinterpret/f64
|
|
(get_local $1)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.wrap/i64
|
|
(i64.shr_u
|
|
(i64.and
|
|
(get_local $3)
|
|
(i64.const 9218868437227405312)
|
|
)
|
|
(i64.const 52)
|
|
)
|
|
)
|
|
)
|
|
(set_local $5
|
|
(i64.and
|
|
(get_local $3)
|
|
(i64.const 4503599627370495)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i64.add
|
|
(i64.shl
|
|
(i64.extend_u/i32
|
|
(i32.ne
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i64.const 52)
|
|
)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(select
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
(i32.ne
|
|
(get_local $4)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.add
|
|
(i32.const 1023)
|
|
(i32.const 52)
|
|
)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/normalizedBoundaries|inlined.0
|
|
(set_local $7
|
|
(i64.add
|
|
(i64.shl
|
|
(get_local $6)
|
|
(i64.const 1)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.sub
|
|
(get_local $4)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.wrap/i64
|
|
(i64.clz
|
|
(get_local $7)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(i64.shl
|
|
(get_local $7)
|
|
(i64.extend_s/i32
|
|
(get_local $9)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.sub
|
|
(get_local $8)
|
|
(get_local $9)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(i32.add
|
|
(i32.const 1)
|
|
(i64.eq
|
|
(get_local $6)
|
|
(i64.const 4503599627370496)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_plus
|
|
(get_local $7)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_minus
|
|
(i64.shl
|
|
(i64.sub
|
|
(i64.shl
|
|
(get_local $6)
|
|
(i64.extend_s/i32
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
(i64.extend_s/i32
|
|
(i32.sub
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_local $10)
|
|
)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_exp
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(block $~lib/internal/number/getCachedPower|inlined.0
|
|
(set_local $10
|
|
(get_global $~lib/internal/number/_exp)
|
|
)
|
|
(set_local $11
|
|
(f64.add
|
|
(f64.mul
|
|
(f64.convert_s/i32
|
|
(i32.sub
|
|
(i32.const -61)
|
|
(get_local $10)
|
|
)
|
|
)
|
|
(f64.const 0.30102999566398114)
|
|
)
|
|
(f64.const 347)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.trunc_s/f64
|
|
(get_local $11)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(i32.add
|
|
(get_local $9)
|
|
(f64.ne
|
|
(f64.convert_s/i32
|
|
(get_local $9)
|
|
)
|
|
(get_local $11)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(i32.add
|
|
(i32.shr_s
|
|
(get_local $9)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_K
|
|
(i32.sub
|
|
(i32.const 348)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
(set_local $12
|
|
(i32.load
|
|
(block $~lib/internal/number/FRC_POWERS|inlined.0 (result i32)
|
|
(i32.const 3992)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(i32.load
|
|
(block $~lib/internal/number/EXP_POWERS|inlined.0 (result i32)
|
|
(i32.const 4256)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_frc_pow
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<u64,u64>|inlined.0 (result i64)
|
|
(i64.load offset=8
|
|
(i32.add
|
|
(get_local $12)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/internal/number/_exp_pow
|
|
(block $~lib/internal/arraybuffer/loadUnsafe<i16,i32>|inlined.0 (result i32)
|
|
(i32.load16_s offset=8
|
|
(i32.add
|
|
(get_local $13)
|
|
(i32.shl
|
|
(get_local $8)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $13
|
|
(i32.wrap/i64
|
|
(i64.clz
|
|
(get_local $6)
|
|
)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(i64.shl
|
|
(get_local $6)
|
|
(i64.extend_s/i32
|
|
(get_local $13)
|
|
)
|
|
)
|
|
)
|
|
(set_local $4
|
|
(i32.sub
|
|
(get_local $4)
|
|
(get_local $13)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(get_global $~lib/internal/number/_frc_pow)
|
|
)
|
|
(set_local $12
|
|
(get_global $~lib/internal/number/_exp_pow)
|
|
)
|
|
(set_local $20
|
|
(block $~lib/internal/number/umul64f|inlined.0 (result i64)
|
|
(set_local $14
|
|
(i64.and
|
|
(get_local $6)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $15
|
|
(i64.and
|
|
(get_local $7)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $16
|
|
(i64.shr_u
|
|
(get_local $6)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $17
|
|
(i64.shr_u
|
|
(get_local $7)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $18
|
|
(i64.mul
|
|
(get_local $14)
|
|
(get_local $15)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $15)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $18)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $20
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $14)
|
|
(get_local $17)
|
|
)
|
|
(i64.and
|
|
(get_local $19)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $20
|
|
(i64.add
|
|
(get_local $20)
|
|
(i64.const 2147483647)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.shr_u
|
|
(get_local $19)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $20
|
|
(i64.shr_u
|
|
(get_local $20)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $17)
|
|
)
|
|
(get_local $19)
|
|
)
|
|
(get_local $20)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(block $~lib/internal/number/umul64e|inlined.0 (result i32)
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $4)
|
|
(get_local $12)
|
|
)
|
|
(i32.const 64)
|
|
)
|
|
)
|
|
)
|
|
(set_local $22
|
|
(i64.sub
|
|
(block $~lib/internal/number/umul64f|inlined.1 (result i64)
|
|
(set_local $19
|
|
(get_global $~lib/internal/number/_frc_plus)
|
|
)
|
|
(set_local $18
|
|
(i64.and
|
|
(get_local $19)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $17
|
|
(i64.and
|
|
(get_local $7)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $16
|
|
(i64.shr_u
|
|
(get_local $19)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $15
|
|
(i64.shr_u
|
|
(get_local $7)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $14
|
|
(i64.mul
|
|
(get_local $18)
|
|
(get_local $17)
|
|
)
|
|
)
|
|
(set_local $21
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $17)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $14)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $22
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $18)
|
|
(get_local $15)
|
|
)
|
|
(i64.and
|
|
(get_local $21)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $22
|
|
(i64.add
|
|
(get_local $22)
|
|
(i64.const 2147483647)
|
|
)
|
|
)
|
|
(set_local $21
|
|
(i64.shr_u
|
|
(get_local $21)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $22
|
|
(i64.shr_u
|
|
(get_local $22)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $15)
|
|
)
|
|
(get_local $21)
|
|
)
|
|
(get_local $22)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(block $~lib/internal/number/umul64e|inlined.1 (result i32)
|
|
(set_local $9
|
|
(get_global $~lib/internal/number/_exp)
|
|
)
|
|
(i32.add
|
|
(i32.add
|
|
(get_local $9)
|
|
(get_local $12)
|
|
)
|
|
(i32.const 64)
|
|
)
|
|
)
|
|
)
|
|
(set_local $23
|
|
(i64.add
|
|
(block $~lib/internal/number/umul64f|inlined.2 (result i64)
|
|
(set_local $21
|
|
(get_global $~lib/internal/number/_frc_minus)
|
|
)
|
|
(set_local $14
|
|
(i64.and
|
|
(get_local $21)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $15
|
|
(i64.and
|
|
(get_local $7)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
(set_local $16
|
|
(i64.shr_u
|
|
(get_local $21)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $17
|
|
(i64.shr_u
|
|
(get_local $7)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $18
|
|
(i64.mul
|
|
(get_local $14)
|
|
(get_local $15)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $15)
|
|
)
|
|
(i64.shr_u
|
|
(get_local $18)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
)
|
|
(set_local $23
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $14)
|
|
(get_local $17)
|
|
)
|
|
(i64.and
|
|
(get_local $19)
|
|
(i64.const 4294967295)
|
|
)
|
|
)
|
|
)
|
|
(set_local $23
|
|
(i64.add
|
|
(get_local $23)
|
|
(i64.const 2147483647)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.shr_u
|
|
(get_local $19)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(set_local $23
|
|
(i64.shr_u
|
|
(get_local $23)
|
|
(i64.const 32)
|
|
)
|
|
)
|
|
(i64.add
|
|
(i64.add
|
|
(i64.mul
|
|
(get_local $16)
|
|
(get_local $17)
|
|
)
|
|
(get_local $19)
|
|
)
|
|
(get_local $23)
|
|
)
|
|
)
|
|
(i64.const 1)
|
|
)
|
|
)
|
|
(set_local $19
|
|
(i64.sub
|
|
(get_local $22)
|
|
(get_local $23)
|
|
)
|
|
)
|
|
(call $~lib/internal/number/genDigits
|
|
(get_local $0)
|
|
(get_local $20)
|
|
(get_local $8)
|
|
(get_local $22)
|
|
(get_local $9)
|
|
(get_local $19)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
)
|
|
(set_local $24
|
|
(call $~lib/internal/number/prettify
|
|
(i32.add
|
|
(get_local $0)
|
|
(i32.shl
|
|
(get_local $2)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(i32.sub
|
|
(get_local $24)
|
|
(get_local $2)
|
|
)
|
|
(get_global $~lib/internal/number/_K)
|
|
)
|
|
)
|
|
(i32.add
|
|
(get_local $24)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(func $~lib/string/String#substring (; 58 ;) (type $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)
|
|
(local $10 i32)
|
|
(if
|
|
(i32.eqz
|
|
(i32.ne
|
|
(get_local $0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 80)
|
|
(i32.const 269)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $6
|
|
(select
|
|
(tee_local $4
|
|
(select
|
|
(tee_local $4
|
|
(get_local $1)
|
|
)
|
|
(tee_local $5
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $5
|
|
(get_local $3)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $7
|
|
(select
|
|
(tee_local $4
|
|
(select
|
|
(tee_local $4
|
|
(get_local $2)
|
|
)
|
|
(tee_local $5
|
|
(i32.const 0)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(tee_local $5
|
|
(get_local $3)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $8
|
|
(select
|
|
(tee_local $4
|
|
(get_local $6)
|
|
)
|
|
(tee_local $5
|
|
(get_local $7)
|
|
)
|
|
(i32.lt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $9
|
|
(select
|
|
(tee_local $4
|
|
(get_local $6)
|
|
)
|
|
(tee_local $5
|
|
(get_local $7)
|
|
)
|
|
(i32.gt_s
|
|
(get_local $4)
|
|
(get_local $5)
|
|
)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(i32.sub
|
|
(get_local $9)
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(get_local $3)
|
|
)
|
|
(return
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(if
|
|
(if (result i32)
|
|
(tee_local $4
|
|
(i32.eqz
|
|
(get_local $8)
|
|
)
|
|
)
|
|
(i32.eq
|
|
(get_local $9)
|
|
(i32.load
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(get_local $4)
|
|
)
|
|
(return
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $10
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_local $3)
|
|
)
|
|
)
|
|
(call $~lib/internal/string/copyUnsafe
|
|
(get_local $10)
|
|
(i32.const 0)
|
|
(get_local $0)
|
|
(get_local $8)
|
|
(get_local $3)
|
|
)
|
|
(get_local $10)
|
|
)
|
|
(func $~lib/allocator/arena/__memory_free (; 59 ;) (type $iv) (param $0 i32)
|
|
(nop)
|
|
)
|
|
(func $~lib/internal/number/dtoa (; 60 ;) (type $Fi) (param $0 f64) (result i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(local $3 i32)
|
|
(if
|
|
(f64.eq
|
|
(get_local $0)
|
|
(f64.const 0)
|
|
)
|
|
(return
|
|
(i32.const 2888)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/builtins/isFinite<f64>
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(block
|
|
(if
|
|
(call $~lib/builtins/isNaN<f64>
|
|
(get_local $0)
|
|
)
|
|
(return
|
|
(i32.const 2904)
|
|
)
|
|
)
|
|
(return
|
|
(select
|
|
(i32.const 2920)
|
|
(i32.const 2944)
|
|
(f64.lt
|
|
(get_local $0)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(set_local $1
|
|
(call $~lib/internal/string/allocateUnsafe
|
|
(get_global $~lib/internal/number/MAX_DOUBLE_LENGTH)
|
|
)
|
|
)
|
|
(set_local $2
|
|
(call $~lib/internal/number/dtoa_core
|
|
(get_local $1)
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(set_local $3
|
|
(call $~lib/string/String#substring
|
|
(get_local $1)
|
|
(i32.const 0)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block $~lib/internal/string/freeUnsafe|inlined.0
|
|
(block
|
|
(if
|
|
(i32.eqz
|
|
(get_local $1)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 112)
|
|
(i32.const 28)
|
|
(i32.const 4)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(block $~lib/memory/memory.free|inlined.0
|
|
(block
|
|
(call $~lib/allocator/arena/__memory_free
|
|
(get_local $1)
|
|
)
|
|
(br $~lib/memory/memory.free|inlined.0)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(get_local $3)
|
|
)
|
|
(func $start (; 61 ;) (type $v)
|
|
(local $0 i32)
|
|
(local $1 i32)
|
|
(local $2 i32)
|
|
(set_global $~lib/allocator/arena/startOffset
|
|
(i32.and
|
|
(i32.add
|
|
(get_global $HEAP_BASE)
|
|
(get_global $~lib/internal/allocator/AL_MASK)
|
|
)
|
|
(i32.xor
|
|
(get_global $~lib/internal/allocator/AL_MASK)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
)
|
|
(set_global $~lib/allocator/arena/offset
|
|
(get_global $~lib/allocator/arena/startOffset)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(get_global $std/string/str)
|
|
(i32.const 8)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 17)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(i32.load
|
|
(get_global $std/string/str)
|
|
)
|
|
(i32.const 16)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 19)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#charCodeAt
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 104)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 20)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 22)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.const 54)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 23)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCharCode
|
|
(i32.add
|
|
(i32.const 65536)
|
|
(i32.const 54)
|
|
)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 24)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 26)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 54)
|
|
)
|
|
(i32.const 176)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 27)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 119558)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 184)
|
|
(i32.const 48)
|
|
(i32.const 28)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String#startsWith
|
|
(get_global $std/string/str)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 30)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#endsWith|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 216)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 31)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.and
|
|
(block $~lib/string/String#includes|inlined.0 (result i32)
|
|
(set_local $0
|
|
(get_global $std/string/str)
|
|
)
|
|
(set_local $1
|
|
(i32.const 232)
|
|
)
|
|
(set_local $2
|
|
(i32.const 0)
|
|
)
|
|
(i32.ne
|
|
(call $~lib/string/String#indexOf
|
|
(get_local $0)
|
|
(get_local $1)
|
|
(get_local $2)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 32)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 34)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 15)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 35)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(i32.const 256)
|
|
(i32.const 3)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 264)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 36)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 256)
|
|
(i32.const 10)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 37)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 280)
|
|
(i32.const 100)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 38)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padStart|trampoline
|
|
(i32.const 288)
|
|
(i32.const 5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 304)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 39)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 288)
|
|
(i32.const 6)
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 336)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 40)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padStart
|
|
(i32.const 288)
|
|
(i32.const 8)
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 352)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 41)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 43)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 15)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 44)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(i32.const 256)
|
|
(i32.const 3)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 264)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 45)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 256)
|
|
(i32.const 10)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 46)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 280)
|
|
(i32.const 100)
|
|
(i32.const 256)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 47)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#padEnd|trampoline
|
|
(i32.const 288)
|
|
(i32.const 5)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 376)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 48)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 288)
|
|
(i32.const 6)
|
|
(i32.const 288)
|
|
)
|
|
(i32.const 392)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 49)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#padEnd
|
|
(i32.const 288)
|
|
(i32.const 8)
|
|
(i32.const 288)
|
|
)
|
|
(i32.const 408)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 50)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 52)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(i32.const 256)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 53)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(i32.const 280)
|
|
(i32.const 280)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 54)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(get_global $std/string/str)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 55)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 56)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 57)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 440)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 58)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 59)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 60)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#indexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 448)
|
|
(i32.const -1)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 61)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 63)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(i32.const 256)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 64)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.load
|
|
(get_global $std/string/str)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 65)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 66)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 440)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 67)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#lastIndexOf|trampoline
|
|
(get_global $std/string/str)
|
|
(i32.const 464)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(i32.const 15)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 68)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 69)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 432)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 70)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 448)
|
|
(i32.const -1)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 71)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 472)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 72)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(call $~lib/string/String#lastIndexOf
|
|
(get_global $std/string/str)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 73)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 480)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 79)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 488)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 80)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 496)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 5)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 81)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 512)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 455)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 82)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 528)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 3855)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 83)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 544)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 3855)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 84)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 560)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 11)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 85)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseInt
|
|
(i32.const 576)
|
|
(i32.const 0)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 86)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 480)
|
|
)
|
|
(f64.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 88)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 488)
|
|
)
|
|
(f64.const 1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 89)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 592)
|
|
)
|
|
(f64.const 0.1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 90)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 608)
|
|
)
|
|
(f64.const 0.25)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 91)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(f64.eq
|
|
(call $~lib/string/parseFloat
|
|
(i32.const 624)
|
|
)
|
|
(f64.const 0.1)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 92)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/c
|
|
(call $~lib/string/String.__concat
|
|
(i32.const 280)
|
|
(i32.const 648)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(get_global $std/string/c)
|
|
(i32.const 656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 95)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__ne
|
|
(get_global $std/string/c)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 96)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 97)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__ne
|
|
(i32.const 256)
|
|
(get_global $std/string/nullStr)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 98)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 648)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 100)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 664)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 101)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 664)
|
|
(i32.const 672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 102)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 664)
|
|
(i32.const 656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 103)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 664)
|
|
(i32.const 656)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 104)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 648)
|
|
(get_global $std/string/nullStr)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 106)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(get_global $std/string/nullStr)
|
|
(i32.const 648)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 107)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 109)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 256)
|
|
(i32.const 288)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 110)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 111)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lte
|
|
(i32.const 256)
|
|
(i32.const 288)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 112)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 113)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 256)
|
|
(i32.const 288)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 114)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lt
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 115)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 116)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gte
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 117)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__lte
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 118)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/a
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 65377)
|
|
)
|
|
)
|
|
(set_global $std/string/b
|
|
(call $~lib/string/String.__concat
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 55296)
|
|
)
|
|
(call $~lib/string/String.fromCodePoint
|
|
(i32.const 56322)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__gt
|
|
(get_global $std/string/a)
|
|
(get_global $std/string/b)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 122)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(i32.load
|
|
(i32.const 320)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 124)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 256)
|
|
(i32.const 100)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 126)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 127)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 128)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 129)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 680)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 130)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 656)
|
|
(i32.const 4)
|
|
)
|
|
(i32.const 696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 131)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 5)
|
|
)
|
|
(i32.const 720)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 132)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 6)
|
|
)
|
|
(i32.const 736)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 133)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/string/String#repeat
|
|
(i32.const 280)
|
|
(i32.const 7)
|
|
)
|
|
(i32.const 752)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 134)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 0)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.0 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 139)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 256)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.1 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 141)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 256)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.2 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 143)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 896)
|
|
(i32.const 912)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.3 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 896)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 145)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 896)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.4 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 147)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 928)
|
|
(i32.const 952)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.5 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 149)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 960)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.6 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 151)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 976)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.7 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 153)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 992)
|
|
(i32.const 432)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.8 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 3)
|
|
)
|
|
(i32.const 256)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 155)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(block (result i32)
|
|
(set_global $~argc
|
|
(i32.const 1)
|
|
)
|
|
(call $~lib/string/String#split|trampoline
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.9 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 157)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.10 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 0)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 159)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.11 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 161)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 896)
|
|
(i32.const 432)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.12 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 163)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
(i32.const 4)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.13 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 165)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 288)
|
|
(i32.const 256)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.14 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 167)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(set_global $std/string/sa
|
|
(call $~lib/string/String#split
|
|
(i32.const 896)
|
|
(i32.const 432)
|
|
(i32.const -1)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(if (result i32)
|
|
(tee_local $2
|
|
(i32.eq
|
|
(block $~lib/array/Array<String>#get:length|inlined.15 (result i32)
|
|
(set_local $2
|
|
(get_global $std/string/sa)
|
|
)
|
|
(i32.load offset=4
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(i32.const 3)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 280)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 648)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/array/Array<String>#__get
|
|
(get_global $std/string/sa)
|
|
(i32.const 2)
|
|
)
|
|
(i32.const 920)
|
|
)
|
|
(get_local $2)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 169)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 171)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1)
|
|
)
|
|
(i32.const 488)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 172)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 8)
|
|
)
|
|
(i32.const 1528)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 173)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 123)
|
|
)
|
|
(i32.const 320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 174)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -1000)
|
|
)
|
|
(i32.const 1536)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 175)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1234)
|
|
)
|
|
(i32.const 1552)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 176)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 12345)
|
|
)
|
|
(i32.const 1568)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 177)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 123456)
|
|
)
|
|
(i32.const 1584)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 178)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1111111)
|
|
)
|
|
(i32.const 1600)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 179)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 1234567)
|
|
)
|
|
(i32.const 1624)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 180)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 2147483646)
|
|
)
|
|
(i32.const 1648)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 181)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const 2147483647)
|
|
)
|
|
(i32.const 1672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 182)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -2147483648)
|
|
)
|
|
(i32.const 1696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 183)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa32
|
|
(i32.const -1)
|
|
)
|
|
(i32.const 1728)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 184)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 186)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 1000)
|
|
)
|
|
(i32.const 1736)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 187)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const 2147483647)
|
|
)
|
|
(i32.const 1672)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 188)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(i32.const -2147483648)
|
|
)
|
|
(i32.const 1752)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 189)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa32
|
|
(get_global $~lib/builtins/u32.MAX_VALUE)
|
|
)
|
|
(i32.const 1776)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 190)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 192)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 1234)
|
|
)
|
|
(i32.const 1552)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 193)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 99999999)
|
|
)
|
|
(i32.const 2320)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 194)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 100000000)
|
|
)
|
|
(i32.const 2344)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 195)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 4294967295)
|
|
)
|
|
(i32.const 1776)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 196)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 68719476735)
|
|
)
|
|
(i32.const 2368)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 197)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 868719476735)
|
|
)
|
|
(i32.const 2400)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 198)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 999868719476735)
|
|
)
|
|
(i32.const 2432)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 199)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 9999868719476735)
|
|
)
|
|
(i32.const 2472)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 200)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(i64.const 19999868719476735)
|
|
)
|
|
(i32.const 2512)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 201)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/utoa64
|
|
(get_global $~lib/builtins/u64.MAX_VALUE)
|
|
)
|
|
(i32.const 2552)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 202)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 0)
|
|
)
|
|
(i32.const 480)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 204)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -1234)
|
|
)
|
|
(i32.const 2600)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 205)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 4294967295)
|
|
)
|
|
(i32.const 1776)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 206)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -4294967295)
|
|
)
|
|
(i32.const 2616)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 207)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const 68719476735)
|
|
)
|
|
(i32.const 2368)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 208)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -68719476735)
|
|
)
|
|
(i32.const 2648)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 209)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -868719476735)
|
|
)
|
|
(i32.const 2680)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 210)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -999868719476735)
|
|
)
|
|
(i32.const 2712)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 211)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(i64.const -19999868719476735)
|
|
)
|
|
(i32.const 2752)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 212)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(get_global $~lib/builtins/i64.MAX_VALUE)
|
|
)
|
|
(i32.const 2792)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 213)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/itoa64
|
|
(get_global $~lib/builtins/i64.MIN_VALUE)
|
|
)
|
|
(i32.const 2840)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 214)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0)
|
|
)
|
|
(i32.const 2888)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 217)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -0)
|
|
)
|
|
(i32.const 2888)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 218)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const nan:0x8000000000000)
|
|
)
|
|
(i32.const 2904)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 219)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const inf)
|
|
)
|
|
(i32.const 2944)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 220)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.neg
|
|
(f64.const inf)
|
|
)
|
|
)
|
|
(i32.const 2920)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 221)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(get_global $~lib/builtins/f64.EPSILON)
|
|
)
|
|
(i32.const 4336)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 222)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.neg
|
|
(get_global $~lib/builtins/f64.EPSILON)
|
|
)
|
|
)
|
|
(i32.const 4384)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 223)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(get_global $~lib/builtins/f64.MAX_VALUE)
|
|
)
|
|
(i32.const 4432)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 224)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.neg
|
|
(get_global $~lib/builtins/f64.MAX_VALUE)
|
|
)
|
|
)
|
|
(i32.const 4488)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 225)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4185580496821356722454785e274)
|
|
)
|
|
(i32.const 4544)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 226)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.2250738585072014e-308)
|
|
)
|
|
(i32.const 4592)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 227)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.9802322387695312e-08)
|
|
)
|
|
(i32.const 4648)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 228)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -21098088986959632)
|
|
)
|
|
(i32.const 4696)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 229)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4.940656e-318)
|
|
)
|
|
(i32.const 4744)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 230)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 9060801153433600)
|
|
)
|
|
(i32.const 4776)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 231)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4708356024711512064)
|
|
)
|
|
(i32.const 4816)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 232)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 9409340012568248320)
|
|
)
|
|
(i32.const 4864)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 233)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 5e-324)
|
|
)
|
|
(i32.const 4912)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 234)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1)
|
|
)
|
|
(i32.const 4928)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 240)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.1)
|
|
)
|
|
(i32.const 592)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 241)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1)
|
|
)
|
|
(i32.const 4944)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 242)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -0.1)
|
|
)
|
|
(i32.const 4960)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 243)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e6)
|
|
)
|
|
(i32.const 4976)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 245)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-06)
|
|
)
|
|
(i32.const 5000)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 246)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e6)
|
|
)
|
|
(i32.const 5024)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 247)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-06)
|
|
)
|
|
(i32.const 5048)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 248)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e7)
|
|
)
|
|
(i32.const 5072)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 249)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-07)
|
|
)
|
|
(i32.const 5096)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 250)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.e+308)
|
|
)
|
|
(i32.const 5112)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 252)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1.e+308)
|
|
)
|
|
(i32.const 5128)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 253)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const inf)
|
|
)
|
|
(i32.const 2944)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 254)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -inf)
|
|
)
|
|
(i32.const 2920)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 255)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-308)
|
|
)
|
|
(i32.const 5152)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 256)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-308)
|
|
)
|
|
(i32.const 5168)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 257)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1e-323)
|
|
)
|
|
(i32.const 5192)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 258)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1e-323)
|
|
)
|
|
(i32.const 5208)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 259)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0)
|
|
)
|
|
(i32.const 2888)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 260)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 4294967272)
|
|
)
|
|
(i32.const 5232)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 262)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.2312145673456234e-08)
|
|
)
|
|
(i32.const 5264)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 263)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const -1.0471975511965976e-06)
|
|
)
|
|
(i32.const 5312)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 264)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 555555555.5555556)
|
|
)
|
|
(i32.const 5368)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 265)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.9999999999999999)
|
|
)
|
|
(i32.const 5408)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 266)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1)
|
|
)
|
|
(i32.const 4928)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 267)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 12.34)
|
|
)
|
|
(i32.const 5448)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 268)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.add
|
|
(f64.const 0.1)
|
|
(f64.const 0.2)
|
|
)
|
|
)
|
|
(i32.const 5464)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 269)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.div
|
|
(f64.const 1)
|
|
(f64.const 3)
|
|
)
|
|
)
|
|
(i32.const 5512)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 270)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1234e17)
|
|
)
|
|
(i32.const 5552)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 271)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1234e18)
|
|
)
|
|
(i32.const 5608)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 272)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 2.71828)
|
|
)
|
|
(i32.const 5632)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 273)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.0271828)
|
|
)
|
|
(i32.const 5656)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 274)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 271.828)
|
|
)
|
|
(i32.const 5680)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 275)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.1e+128)
|
|
)
|
|
(i32.const 5704)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 276)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 1.1e-64)
|
|
)
|
|
(i32.const 5728)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 277)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.const 0.000035689)
|
|
)
|
|
(i32.const 5752)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 278)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.promote/f32
|
|
(get_global $~lib/builtins/f32.MAX_VALUE)
|
|
)
|
|
)
|
|
(i32.const 5784)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 280)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
(if
|
|
(i32.eqz
|
|
(call $~lib/string/String.__eq
|
|
(call $~lib/internal/number/dtoa
|
|
(f64.promote/f32
|
|
(get_global $~lib/builtins/f32.EPSILON)
|
|
)
|
|
)
|
|
(i32.const 5832)
|
|
)
|
|
)
|
|
(block
|
|
(call $~lib/env/abort
|
|
(i32.const 0)
|
|
(i32.const 48)
|
|
(i32.const 281)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
(func $null (; 62 ;) (type $v)
|
|
)
|
|
)
|