1All Dependency Files: 2program_file: bytecodehar1-abcinput.abc 3record_name: &bytecodehar1/bytecodehar1-file1&2.0.0 4program_file: bytecodehar2-abcinput.abc 5record_name: &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 6program_file: hap-file-exec.ts 7record_name: &myapp/hap-file-exec& 8program_file: sourcehar-file1.ts 9record_name: &sourcehar/sourcehar-file1&2.0.0 10program_file: sourcehar-file2.ts 11record_name: &sourcehar/sourcehar-file2&2.0.0 12 13slotNum = 0x3 14.language ECMAScript 15.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test(any a0, any a1, any a2) { 16 tryldglobalbyname 0x0, print 17 sta v0 18 lda.str bytecodehar1.file1.test 19 sta v1 20 lda v0 21 callarg1 0x1, v1 22 lda.str @normalized:N&&&sourcehar/sourcehar-file1&2.0.0 23 dynamicimport 24 returnundefined 25} 26 27slotNum = 0x0 28.language ECMAScript 29.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A(any a0, any a1, any a2) { 30 lda a2 31 return 32} 33 34slotNum = 0x4 35.language ECMAScript 36.function any &bytecodehar1/bytecodehar1-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 37 definefunc 0x0, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test, 0x0 38 stmodulevar 0x1 39 ldhole 40 sta v0 41 defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1826, 0x0, v0 42 ldobjbyname 0x2, prototype 43 returnundefined 44} 45 46 47======> literal array buffer <====== 48------------------------------------ 49slot &bytecodehar1/bytecodehar1-file1&2.0.0_1764 50------------------------------------ 51slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 52{ 53 index: 0 54 tag: 2 55 val: 1 56}, 57{ 58 index: 1 59 tag: 5 60 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 61}, 62{ 63 index: 2 64 tag: 2 65 val: 1 66}, 67{ 68 index: 3 69 tag: 5 70 val: test1 71}, 72{ 73 index: 4 74 tag: 5 75 val: test 76}, 77{ 78 index: 5 79 tag: 9 80 val: 0 81}, 82{ 83 index: 6 84 tag: 2 85 val: 0 86}, 87{ 88 index: 7 89 tag: 2 90 val: 2 91}, 92{ 93 index: 8 94 tag: 5 95 val: Anno1 96}, 97{ 98 index: 9 99 tag: 5 100 val: Anno1 101}, 102{ 103 index: 10 104 tag: 5 105 val: test 106}, 107{ 108 index: 11 109 tag: 5 110 val: test 111}, 112{ 113 index: 12 114 tag: 2 115 val: 0 116}, 117{ 118 index: 13 119 tag: 2 120 val: 0 121}, 122------------------------------------ 123slot &bytecodehar1/bytecodehar1-file1&2.0.0_1826 124{ 125 index: 0 126 tag: 0 127 val: 2 128}, 129{ 130 index: 1 131 tag: 2 132 val: 0 133}, 134======> strings <====== 135"&bytecodehar1/bytecodehar1-file1&2.0.0.#*#test"; "&bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A"; "@normalized:N&&&sourcehar/sourcehar-file1&2.0.0"; "bytecodehar1.file1.test"; "print"; "prototype"; 136 137======> literal array buffer <====== 138======> strings <====== 139 140slotNum = 0x3 141.language ECMAScript 142.function any &bytecodehar1/bytecodehar1-file2&2.0.0.#*#test(any a0, any a1, any a2) { 143 tryldglobalbyname 0x0, print 144 sta v0 145 lda.str bytecodehar1.file2.test 146 sta v1 147 lda v0 148 callarg1 0x1, v1 149 lda.str @normalized:N&&&sourcehar/sourcehar-file2&2.0.0 150 dynamicimport 151 returnundefined 152} 153 154slotNum = 0x0 155.language ECMAScript 156.function any &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A(any a0, any a1, any a2) { 157 lda a2 158 return 159} 160 161slotNum = 0x4 162.language ECMAScript 163.function any &bytecodehar1/bytecodehar1-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 164 definefunc 0x0, &bytecodehar1/bytecodehar1-file2&2.0.0.#*#test, 0x0 165 stmodulevar 0x1 166 ldhole 167 sta v0 168 defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1897, 0x0, v0 169 ldobjbyname 0x2, prototype 170 returnundefined 171} 172 173 174======> literal array buffer <====== 175------------------------------------ 176slot &bytecodehar1/bytecodehar1-file2&2.0.0_1835 177------------------------------------ 178slot &bytecodehar1/bytecodehar1-file2&2.0.0_1839 179{ 180 index: 0 181 tag: 2 182 val: 1 183}, 184{ 185 index: 1 186 tag: 5 187 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file2&2.0.0 188}, 189{ 190 index: 2 191 tag: 2 192 val: 1 193}, 194{ 195 index: 3 196 tag: 5 197 val: test1 198}, 199{ 200 index: 4 201 tag: 5 202 val: test 203}, 204{ 205 index: 5 206 tag: 9 207 val: 0 208}, 209{ 210 index: 6 211 tag: 2 212 val: 0 213}, 214{ 215 index: 7 216 tag: 2 217 val: 2 218}, 219{ 220 index: 8 221 tag: 5 222 val: Anno2 223}, 224{ 225 index: 9 226 tag: 5 227 val: Anno2 228}, 229{ 230 index: 10 231 tag: 5 232 val: test 233}, 234{ 235 index: 11 236 tag: 5 237 val: test 238}, 239{ 240 index: 12 241 tag: 2 242 val: 0 243}, 244{ 245 index: 13 246 tag: 2 247 val: 0 248}, 249------------------------------------ 250slot &bytecodehar1/bytecodehar1-file2&2.0.0_1897 251{ 252 index: 0 253 tag: 0 254 val: 2 255}, 256{ 257 index: 1 258 tag: 2 259 val: 0 260}, 261======> strings <====== 262"&bytecodehar1/bytecodehar1-file2&2.0.0.#*#test"; "&bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A"; "@normalized:N&&&sourcehar/sourcehar-file2&2.0.0"; "bytecodehar1.file2.test"; "print"; "prototype"; 263 264======> literal array buffer <====== 265======> strings <====== 266 267 268======> literal array buffer <====== 269======> strings <====== 270 271 272======> literal array buffer <====== 273======> strings <====== 274 275 276======> literal array buffer <====== 277======> strings <====== 278 279slotNum = 0x3 280.language ECMAScript 281.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test(any a0, any a1, any a2) { 282 tryldglobalbyname 0x0, print 283 sta v0 284 lda.str bytecodehar2.file1.test 285 sta v1 286 lda v0 287 callarg1 0x1, v1 288 returnundefined 289} 290 291slotNum = 0x0 292.language ECMAScript 293.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A(any a0, any a1, any a2) { 294 lda a2 295 return 296} 297 298slotNum = 0x4 299.language ECMAScript 300.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 301 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test, 0x0 302 stmodulevar 0x1 303 ldhole 304 sta v0 305 defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637, 0x0, v0 306 ldobjbyname 0x2, prototype 307 returnundefined 308} 309 310 311======> literal array buffer <====== 312------------------------------------ 313slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1589 314------------------------------------ 315slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 316{ 317 index: 0 318 tag: 2 319 val: 0 320}, 321{ 322 index: 1 323 tag: 2 324 val: 0 325}, 326{ 327 index: 2 328 tag: 2 329 val: 0 330}, 331{ 332 index: 3 333 tag: 2 334 val: 2 335}, 336{ 337 index: 4 338 tag: 5 339 val: Anno1 340}, 341{ 342 index: 5 343 tag: 5 344 val: Anno1 345}, 346{ 347 index: 6 348 tag: 5 349 val: test 350}, 351{ 352 index: 7 353 tag: 5 354 val: test 355}, 356{ 357 index: 8 358 tag: 2 359 val: 0 360}, 361{ 362 index: 9 363 tag: 2 364 val: 0 365}, 366------------------------------------ 367slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637 368{ 369 index: 0 370 tag: 0 371 val: 2 372}, 373{ 374 index: 1 375 tag: 2 376 val: 0 377}, 378======> strings <====== 379"&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test"; "&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A"; "bytecodehar2.file1.test"; "print"; "prototype"; 380 381======> literal array buffer <====== 382======> strings <====== 383 384slotNum = 0x3 385.language ECMAScript 386.function any &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test(any a0, any a1, any a2) { 387 tryldglobalbyname 0x0, print 388 sta v0 389 lda.str bytecodehar2.file2.test 390 sta v1 391 lda v0 392 callarg1 0x1, v1 393 returnundefined 394} 395 396slotNum = 0x0 397.language ECMAScript 398.function any &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A(any a0, any a1, any a2) { 399 lda a2 400 return 401} 402 403slotNum = 0x4 404.language ECMAScript 405.function any &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 406 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test, 0x0 407 stmodulevar 0x1 408 ldhole 409 sta v0 410 defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1694, 0x0, v0 411 ldobjbyname 0x2, prototype 412 returnundefined 413} 414 415 416======> literal array buffer <====== 417------------------------------------ 418slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1646 419------------------------------------ 420slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1650 421{ 422 index: 0 423 tag: 2 424 val: 0 425}, 426{ 427 index: 1 428 tag: 2 429 val: 0 430}, 431{ 432 index: 2 433 tag: 2 434 val: 0 435}, 436{ 437 index: 3 438 tag: 2 439 val: 2 440}, 441{ 442 index: 4 443 tag: 5 444 val: Anno2 445}, 446{ 447 index: 5 448 tag: 5 449 val: Anno2 450}, 451{ 452 index: 6 453 tag: 5 454 val: test 455}, 456{ 457 index: 7 458 tag: 5 459 val: test 460}, 461{ 462 index: 8 463 tag: 2 464 val: 0 465}, 466{ 467 index: 9 468 tag: 2 469 val: 0 470}, 471------------------------------------ 472slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1694 473{ 474 index: 0 475 tag: 0 476 val: 2 477}, 478{ 479 index: 1 480 tag: 2 481 val: 0 482}, 483======> strings <====== 484"&@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test"; "&@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A"; "bytecodehar2.file2.test"; "print"; "prototype"; 485 486======> literal array buffer <====== 487======> strings <====== 488 489 490======> literal array buffer <====== 491======> strings <====== 492 493 494======> literal array buffer <====== 495======> strings <====== 496 497 498======> literal array buffer <====== 499======> strings <====== 500 501slotNum = 0x4 502.language ECMAScript 503.function any &myapp/hap-file-exec&.#*#main(any a0, any a1, any a2) { 504label_1: 505label_0: 506 ldexternalmodulevar 0x2 507 sta v0 508 throw.undefinedifholewithname test 509 lda v0 510 callarg0 0x0 511 ldexternalmodulevar 0x0 512 sta v0 513 throw.undefinedifholewithname A 514 mov v1, v0 515 newobjrange 0x2, 0x1, v1 516 returnundefined 517label_2: 518} 519 520slotNum = 0x0 521.language ECMAScript 522.function any &myapp/hap-file-exec&.#~B=#B(any a0, any a1, any a2) { 523label_1: 524label_0: 525 lda a2 526 return 527label_2: 528} 529 530slotNum = 0x4 531.language ECMAScript 532.function any &myapp/hap-file-exec&.func_main_0(any a0, any a1, any a2) { 533label_1: 534label_0: 535 definefunc 0x0, &myapp/hap-file-exec&.#*#main, 0x0 536 ldhole 537 sta v0 538 defineclasswithbuffer 0x1, &myapp/hap-file-exec&.#~B=#B, &myapp/hap-file-exec&_2, 0x0, v0 539 ldobjbyname 0x2, prototype 540 returnundefined 541label_2: 542} 543 544 545======> literal array buffer <====== 546------------------------------------ 547slot &myapp/hap-file-exec&_0 548------------------------------------ 549slot &myapp/hap-file-exec&_1 550{ 551 index: 0 552 tag: 2 553 val: 1 554}, 555{ 556 index: 1 557 tag: 5 558 val: @normalized:N&&&bytecodehar1/bytecodehar1-file1&2.0.0 559}, 560{ 561 index: 2 562 tag: 2 563 val: 3 564}, 565{ 566 index: 3 567 tag: 5 568 val: A 569}, 570{ 571 index: 4 572 tag: 5 573 val: A 574}, 575{ 576 index: 5 577 tag: 9 578 val: 0 579}, 580{ 581 index: 6 582 tag: 5 583 val: Anno1 584}, 585{ 586 index: 7 587 tag: 5 588 val: Anno1 589}, 590{ 591 index: 8 592 tag: 9 593 val: 0 594}, 595{ 596 index: 9 597 tag: 5 598 val: test 599}, 600{ 601 index: 10 602 tag: 5 603 val: test 604}, 605{ 606 index: 11 607 tag: 9 608 val: 0 609}, 610{ 611 index: 12 612 tag: 2 613 val: 0 614}, 615{ 616 index: 13 617 tag: 2 618 val: 0 619}, 620{ 621 index: 14 622 tag: 2 623 val: 0 624}, 625{ 626 index: 15 627 tag: 2 628 val: 0 629}, 630------------------------------------ 631slot &myapp/hap-file-exec&_2 632{ 633 index: 0 634 tag: 0 635 val: 2 636}, 637{ 638 index: 1 639 tag: 2 640 val: 0 641}, 642======> strings <====== 643"&myapp/hap-file-exec&.#*#main"; "&myapp/hap-file-exec&.#~B=#B"; "A"; "prototype"; "test"; 644slotNum = 0x3 645.language ECMAScript 646.function any &sourcehar/sourcehar-file1&2.0.0.#*#test(any a0, any a1, any a2) { 647label_1: 648label_0: 649 tryldglobalbyname 0x0, print 650 sta v0 651 lda.str sourcehar.file1.test 652 sta v1 653 lda v0 654 callarg1 0x1, v1 655 returnundefined 656label_2: 657} 658 659slotNum = 0x1 660.language ECMAScript 661.function any &sourcehar/sourcehar-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 662label_1: 663label_0: 664 definefunc 0x0, &sourcehar/sourcehar-file1&2.0.0.#*#test, 0x0 665 stmodulevar 0x0 666 returnundefined 667label_2: 668} 669 670 671======> literal array buffer <====== 672------------------------------------ 673slot &sourcehar/sourcehar-file1&2.0.0_0 674------------------------------------ 675slot &sourcehar/sourcehar-file1&2.0.0_1 676{ 677 index: 0 678 tag: 2 679 val: 1 680}, 681{ 682 index: 1 683 tag: 5 684 val: @normalized:N&&&sourcehar/sourcehar-file2&2.0.0 685}, 686{ 687 index: 2 688 tag: 2 689 val: 1 690}, 691{ 692 index: 3 693 tag: 5 694 val: test1 695}, 696{ 697 index: 4 698 tag: 5 699 val: test 700}, 701{ 702 index: 5 703 tag: 9 704 val: 0 705}, 706{ 707 index: 6 708 tag: 2 709 val: 0 710}, 711{ 712 index: 7 713 tag: 2 714 val: 1 715}, 716{ 717 index: 8 718 tag: 5 719 val: test 720}, 721{ 722 index: 9 723 tag: 5 724 val: test 725}, 726{ 727 index: 10 728 tag: 2 729 val: 0 730}, 731{ 732 index: 11 733 tag: 2 734 val: 0 735}, 736======> strings <====== 737"&sourcehar/sourcehar-file1&2.0.0.#*#test"; "print"; "sourcehar.file1.test"; 738slotNum = 0x3 739.language ECMAScript 740.function any &sourcehar/sourcehar-file2&2.0.0.#*#test(any a0, any a1, any a2) { 741label_1: 742label_0: 743 tryldglobalbyname 0x0, print 744 sta v0 745 lda.str sourcehar.file2.test 746 sta v1 747 lda v0 748 callarg1 0x1, v1 749 returnundefined 750label_2: 751} 752 753slotNum = 0x1 754.language ECMAScript 755.function any &sourcehar/sourcehar-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 756label_1: 757label_0: 758 definefunc 0x0, &sourcehar/sourcehar-file2&2.0.0.#*#test, 0x0 759 stmodulevar 0x0 760 returnundefined 761label_2: 762} 763 764 765======> literal array buffer <====== 766------------------------------------ 767slot &sourcehar/sourcehar-file2&2.0.0_0 768------------------------------------ 769slot &sourcehar/sourcehar-file2&2.0.0_1 770{ 771 index: 0 772 tag: 2 773 val: 0 774}, 775{ 776 index: 1 777 tag: 2 778 val: 0 779}, 780{ 781 index: 2 782 tag: 2 783 val: 0 784}, 785{ 786 index: 3 787 tag: 2 788 val: 1 789}, 790{ 791 index: 4 792 tag: 5 793 val: test 794}, 795{ 796 index: 5 797 tag: 5 798 val: test 799}, 800{ 801 index: 6 802 tag: 2 803 val: 0 804}, 805{ 806 index: 7 807 tag: 2 808 val: 0 809}, 810======> strings <====== 811"&sourcehar/sourcehar-file2&2.0.0.#*#test"; "print"; "sourcehar.file2.test"; 812slotNum = 0x3 813.language ECMAScript 814.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test(any a0, any a1, any a2) { 815 tryldglobalbyname 0x0, print 816 sta v0 817 lda.str bytecodehar1.file1.test 818 sta v1 819 lda v0 820 callarg1 0x1, v1 821 lda.str @normalized:N&&&sourcehar/sourcehar-file1&2.0.0 822 dynamicimport 823 returnundefined 824} 825 826slotNum = 0x0 827.language ECMAScript 828.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A(any a0, any a1, any a2) { 829 lda a2 830 return 831} 832 833slotNum = 0x4 834.language ECMAScript 835.function any &bytecodehar1/bytecodehar1-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 836 definefunc 0x0, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test, 0x0 837 stmodulevar 0x1 838 ldhole 839 sta v0 840 defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1826, 0x0, v0 841 ldobjbyname 0x2, prototype 842 returnundefined 843} 844 845 846======> literal array buffer <====== 847------------------------------------ 848slot &bytecodehar1/bytecodehar1-file1&2.0.0_1764 849------------------------------------ 850slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 851{ 852 index: 0 853 tag: 2 854 val: 1 855}, 856{ 857 index: 1 858 tag: 5 859 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 860}, 861{ 862 index: 2 863 tag: 2 864 val: 1 865}, 866{ 867 index: 3 868 tag: 5 869 val: test1 870}, 871{ 872 index: 4 873 tag: 5 874 val: test 875}, 876{ 877 index: 5 878 tag: 9 879 val: 0 880}, 881{ 882 index: 6 883 tag: 2 884 val: 0 885}, 886{ 887 index: 7 888 tag: 2 889 val: 2 890}, 891{ 892 index: 8 893 tag: 5 894 val: Anno1 895}, 896{ 897 index: 9 898 tag: 5 899 val: Anno1 900}, 901{ 902 index: 10 903 tag: 5 904 val: test 905}, 906{ 907 index: 11 908 tag: 5 909 val: test 910}, 911{ 912 index: 12 913 tag: 2 914 val: 0 915}, 916{ 917 index: 13 918 tag: 2 919 val: 0 920}, 921------------------------------------ 922slot &bytecodehar1/bytecodehar1-file1&2.0.0_1826 923{ 924 index: 0 925 tag: 0 926 val: 2 927}, 928{ 929 index: 1 930 tag: 2 931 val: 0 932}, 933======> strings <====== 934"&bytecodehar1/bytecodehar1-file1&2.0.0.#*#test"; "&bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A"; "@normalized:N&&&sourcehar/sourcehar-file1&2.0.0"; "bytecodehar1.file1.test"; "print"; "prototype"; 935 936======> literal array buffer <====== 937======> strings <====== 938 939slotNum = 0x3 940.language ECMAScript 941.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test(any a0, any a1, any a2) { 942 tryldglobalbyname 0x0, print 943 sta v0 944 lda.str bytecodehar2.file1.test 945 sta v1 946 lda v0 947 callarg1 0x1, v1 948 returnundefined 949} 950 951slotNum = 0x0 952.language ECMAScript 953.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A(any a0, any a1, any a2) { 954 lda a2 955 return 956} 957 958slotNum = 0x4 959.language ECMAScript 960.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 961 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test, 0x0 962 stmodulevar 0x1 963 ldhole 964 sta v0 965 defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637, 0x0, v0 966 ldobjbyname 0x2, prototype 967 returnundefined 968} 969 970 971======> literal array buffer <====== 972------------------------------------ 973slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1589 974------------------------------------ 975slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 976{ 977 index: 0 978 tag: 2 979 val: 0 980}, 981{ 982 index: 1 983 tag: 2 984 val: 0 985}, 986{ 987 index: 2 988 tag: 2 989 val: 0 990}, 991{ 992 index: 3 993 tag: 2 994 val: 2 995}, 996{ 997 index: 4 998 tag: 5 999 val: Anno1 1000}, 1001{ 1002 index: 5 1003 tag: 5 1004 val: Anno1 1005}, 1006{ 1007 index: 6 1008 tag: 5 1009 val: test 1010}, 1011{ 1012 index: 7 1013 tag: 5 1014 val: test 1015}, 1016{ 1017 index: 8 1018 tag: 2 1019 val: 0 1020}, 1021{ 1022 index: 9 1023 tag: 2 1024 val: 0 1025}, 1026------------------------------------ 1027slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637 1028{ 1029 index: 0 1030 tag: 0 1031 val: 2 1032}, 1033{ 1034 index: 1 1035 tag: 2 1036 val: 0 1037}, 1038======> strings <====== 1039"&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test"; "&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A"; "bytecodehar2.file1.test"; "print"; "prototype"; 1040 1041======> literal array buffer <====== 1042======> strings <====== 1043 1044slotNum = 0x4 1045.language ECMAScript 1046.function any &myapp/hap-file-exec&.#*#main(any a0, any a1, any a2) { 1047label_1: 1048label_0: 1049 ldexternalmodulevar 0x2 1050 sta v0 1051 throw.undefinedifholewithname test 1052 lda v0 1053 callarg0 0x0 1054 ldexternalmodulevar 0x0 1055 sta v0 1056 throw.undefinedifholewithname A 1057 mov v1, v0 1058 newobjrange 0x2, 0x1, v1 1059 returnundefined 1060label_2: 1061} 1062 1063slotNum = 0x0 1064.language ECMAScript 1065.function any &myapp/hap-file-exec&.#~B=#B(any a0, any a1, any a2) { 1066label_1: 1067label_0: 1068 lda a2 1069 return 1070label_2: 1071} 1072 1073slotNum = 0x4 1074.language ECMAScript 1075.function any &myapp/hap-file-exec&.func_main_0(any a0, any a1, any a2) { 1076label_1: 1077label_0: 1078 definefunc 0x0, &myapp/hap-file-exec&.#*#main, 0x0 1079 ldhole 1080 sta v0 1081 defineclasswithbuffer 0x1, &myapp/hap-file-exec&.#~B=#B, &myapp/hap-file-exec&_2, 0x0, v0 1082 ldobjbyname 0x2, prototype 1083 returnundefined 1084label_2: 1085} 1086 1087 1088======> literal array buffer <====== 1089------------------------------------ 1090slot &myapp/hap-file-exec&_0 1091------------------------------------ 1092slot &myapp/hap-file-exec&_1 1093{ 1094 index: 0 1095 tag: 2 1096 val: 1 1097}, 1098{ 1099 index: 1 1100 tag: 5 1101 val: @normalized:N&&&bytecodehar1/bytecodehar1-file1&2.0.0 1102}, 1103{ 1104 index: 2 1105 tag: 2 1106 val: 3 1107}, 1108{ 1109 index: 3 1110 tag: 5 1111 val: A 1112}, 1113{ 1114 index: 4 1115 tag: 5 1116 val: A 1117}, 1118{ 1119 index: 5 1120 tag: 9 1121 val: 0 1122}, 1123{ 1124 index: 6 1125 tag: 5 1126 val: Anno1 1127}, 1128{ 1129 index: 7 1130 tag: 5 1131 val: Anno1 1132}, 1133{ 1134 index: 8 1135 tag: 9 1136 val: 0 1137}, 1138{ 1139 index: 9 1140 tag: 5 1141 val: test 1142}, 1143{ 1144 index: 10 1145 tag: 5 1146 val: test 1147}, 1148{ 1149 index: 11 1150 tag: 9 1151 val: 0 1152}, 1153{ 1154 index: 12 1155 tag: 2 1156 val: 0 1157}, 1158{ 1159 index: 13 1160 tag: 2 1161 val: 0 1162}, 1163{ 1164 index: 14 1165 tag: 2 1166 val: 0 1167}, 1168{ 1169 index: 15 1170 tag: 2 1171 val: 0 1172}, 1173------------------------------------ 1174slot &myapp/hap-file-exec&_2 1175{ 1176 index: 0 1177 tag: 0 1178 val: 2 1179}, 1180{ 1181 index: 1 1182 tag: 2 1183 val: 0 1184}, 1185======> strings <====== 1186"&myapp/hap-file-exec&.#*#main"; "&myapp/hap-file-exec&.#~B=#B"; "A"; "prototype"; "test"; 1187slotNum = 0x3 1188.language ECMAScript 1189.function any &sourcehar/sourcehar-file1&2.0.0.#*#test(any a0, any a1, any a2) { 1190label_1: 1191label_0: 1192 tryldglobalbyname 0x0, print 1193 sta v0 1194 lda.str sourcehar.file1.test 1195 sta v1 1196 lda v0 1197 callarg1 0x1, v1 1198 returnundefined 1199label_2: 1200} 1201 1202slotNum = 0x1 1203.language ECMAScript 1204.function any &sourcehar/sourcehar-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 1205label_1: 1206label_0: 1207 definefunc 0x0, &sourcehar/sourcehar-file1&2.0.0.#*#test, 0x0 1208 stmodulevar 0x0 1209 returnundefined 1210label_2: 1211} 1212 1213 1214======> literal array buffer <====== 1215------------------------------------ 1216slot &sourcehar/sourcehar-file1&2.0.0_0 1217------------------------------------ 1218slot &sourcehar/sourcehar-file1&2.0.0_1 1219{ 1220 index: 0 1221 tag: 2 1222 val: 1 1223}, 1224{ 1225 index: 1 1226 tag: 5 1227 val: @normalized:N&&&sourcehar/sourcehar-file2&2.0.0 1228}, 1229{ 1230 index: 2 1231 tag: 2 1232 val: 1 1233}, 1234{ 1235 index: 3 1236 tag: 5 1237 val: test1 1238}, 1239{ 1240 index: 4 1241 tag: 5 1242 val: test 1243}, 1244{ 1245 index: 5 1246 tag: 9 1247 val: 0 1248}, 1249{ 1250 index: 6 1251 tag: 2 1252 val: 0 1253}, 1254{ 1255 index: 7 1256 tag: 2 1257 val: 1 1258}, 1259{ 1260 index: 8 1261 tag: 5 1262 val: test 1263}, 1264{ 1265 index: 9 1266 tag: 5 1267 val: test 1268}, 1269{ 1270 index: 10 1271 tag: 2 1272 val: 0 1273}, 1274{ 1275 index: 11 1276 tag: 2 1277 val: 0 1278}, 1279======> strings <====== 1280"&sourcehar/sourcehar-file1&2.0.0.#*#test"; "print"; "sourcehar.file1.test"; 1281slotNum = 0x3 1282.language ECMAScript 1283.function any &sourcehar/sourcehar-file2&2.0.0.#*#test(any a0, any a1, any a2) { 1284label_1: 1285label_0: 1286 tryldglobalbyname 0x0, print 1287 sta v0 1288 lda.str sourcehar.file2.test 1289 sta v1 1290 lda v0 1291 callarg1 0x1, v1 1292 returnundefined 1293label_2: 1294} 1295 1296slotNum = 0x1 1297.language ECMAScript 1298.function any &sourcehar/sourcehar-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 1299label_1: 1300label_0: 1301 definefunc 0x0, &sourcehar/sourcehar-file2&2.0.0.#*#test, 0x0 1302 stmodulevar 0x0 1303 returnundefined 1304label_2: 1305} 1306 1307 1308======> literal array buffer <====== 1309------------------------------------ 1310slot &sourcehar/sourcehar-file2&2.0.0_0 1311------------------------------------ 1312slot &sourcehar/sourcehar-file2&2.0.0_1 1313{ 1314 index: 0 1315 tag: 2 1316 val: 0 1317}, 1318{ 1319 index: 1 1320 tag: 2 1321 val: 0 1322}, 1323{ 1324 index: 2 1325 tag: 2 1326 val: 0 1327}, 1328{ 1329 index: 3 1330 tag: 2 1331 val: 1 1332}, 1333{ 1334 index: 4 1335 tag: 5 1336 val: test 1337}, 1338{ 1339 index: 5 1340 tag: 5 1341 val: test 1342}, 1343{ 1344 index: 6 1345 tag: 2 1346 val: 0 1347}, 1348{ 1349 index: 7 1350 tag: 2 1351 val: 0 1352}, 1353======> strings <====== 1354"&sourcehar/sourcehar-file2&2.0.0.#*#test"; "print"; "sourcehar.file2.test"; 1355