From d7634790ef11f7245c24ca3610da536272a23554 Mon Sep 17 00:00:00 2001 From: ElevenDuan Date: Tue, 19 Aug 2025 16:58:07 +0800 Subject: [PATCH] Fix annotation ut Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICTC4C?from=project-issue Change-Id: Iaa7b4762d1bef3048378c9b3773049a1840f8b9f Signed-off-by: ElevenDuan --- .../hap-file-exec-expected.pa.txt | 32 +++++----- .../hap-file-exec-expected.pa.txt | 48 +++++++------- .../inter-app-hsp-file-exec-expected.pa.txt | 32 +++++----- .../importAnno-exec-expected.pa.txt | 16 ++--- .../importAnno-exec-expected.pa.txt | 16 ++--- .../hap-file-exec-expected.pa.txt | 52 +++++++-------- .../hap-file-exec-expected.pa.txt | 32 +++++----- .../hap-file-exec-expected.pa.txt | 48 +++++++------- .../hap-file-exec-expected.pa.txt | 64 +++++++++---------- 9 files changed, 170 insertions(+), 170 deletions(-) diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-accuate-version-update/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-accuate-version-update/hap-file-exec-expected.pa.txt index 6f146bddc0..c7666a78bd 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-accuate-version-update/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-accuate-version-update/hap-file-exec-expected.pa.txt @@ -84,7 +84,7 @@ slotNum = 0x7 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2514, 0x0, v0 + defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2516, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -92,9 +92,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2466 +slot &bytecodehar/bytecodehar-dynamic-import&_2468 ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2470 +slot &bytecodehar/bytecodehar-dynamic-import&_2472 { index: 0 tag: 2 @@ -146,7 +146,7 @@ slot &bytecodehar/bytecodehar-dynamic-import&_2470 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2514 +slot &bytecodehar/bytecodehar-dynamic-import&_2516 { index: 0 tag: 0 @@ -259,7 +259,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2663, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2665, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -267,9 +267,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2523 +slot &bytecodehar/bytecodehar-static-import&_2525 ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2527 +slot &bytecodehar/bytecodehar-static-import&_2529 { index: 0 tag: 2 @@ -461,7 +461,7 @@ slot &bytecodehar/bytecodehar-static-import&_2527 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2663 +slot &bytecodehar/bytecodehar-static-import&_2665 { index: 0 tag: 0 @@ -917,7 +917,7 @@ slotNum = 0x7 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2514, 0x0, v0 + defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2516, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -925,9 +925,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2466 +slot &bytecodehar/bytecodehar-dynamic-import&_2468 ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2470 +slot &bytecodehar/bytecodehar-dynamic-import&_2472 { index: 0 tag: 2 @@ -979,7 +979,7 @@ slot &bytecodehar/bytecodehar-dynamic-import&_2470 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2514 +slot &bytecodehar/bytecodehar-dynamic-import&_2516 { index: 0 tag: 0 @@ -1092,7 +1092,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2663, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2665, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1100,9 +1100,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2523 +slot &bytecodehar/bytecodehar-static-import&_2525 ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2527 +slot &bytecodehar/bytecodehar-static-import&_2529 { index: 0 tag: 2 @@ -1294,7 +1294,7 @@ slot &bytecodehar/bytecodehar-static-import&_2527 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2663 +slot &bytecodehar/bytecodehar-static-import&_2665 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-dependency-resolve/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-dependency-resolve/hap-file-exec-expected.pa.txt index d327a5a78a..980d65da19 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-dependency-resolve/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-dependency-resolve/hap-file-exec-expected.pa.txt @@ -38,7 +38,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1844, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1846, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -46,9 +46,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1782 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1784 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1788 { index: 0 tag: 2 @@ -120,7 +120,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1844 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1846 { index: 0 tag: 0 @@ -165,7 +165,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1915, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1917, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -173,9 +173,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1853 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1855 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1859 { index: 0 tag: 2 @@ -247,7 +247,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1915 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1917 { index: 0 tag: 0 @@ -302,7 +302,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -310,9 +310,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1609 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1613 { index: 0 tag: 2 @@ -364,7 +364,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657 { index: 0 tag: 0 @@ -407,7 +407,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -415,9 +415,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1664 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1666 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1670 { index: 0 tag: 2 @@ -469,7 +469,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714 { index: 0 tag: 0 @@ -837,7 +837,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1844, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1846, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -845,9 +845,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1782 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1784 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1788 { index: 0 tag: 2 @@ -919,7 +919,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1844 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1846 { index: 0 tag: 0 @@ -962,7 +962,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -970,9 +970,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1609 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1613 { index: 0 tag: 2 @@ -1024,7 +1024,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-inter-app-hsp/inter-app-hsp-file-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-inter-app-hsp/inter-app-hsp-file-exec-expected.pa.txt index cf4b80b652..99a503aa90 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-inter-app-hsp/inter-app-hsp-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-inter-app-hsp/inter-app-hsp-file-exec-expected.pa.txt @@ -92,7 +92,7 @@ slotNum = 0x7 stmodulevar 0x0 ldhole sta v0 - defineclasswithbuffer 0x4, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#~A1=#A1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2561, 0x0, v0 + defineclasswithbuffer 0x4, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#~A1=#A1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2563, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -100,9 +100,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2521 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2523 ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2525 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2527 { index: 0 tag: 2 @@ -144,7 +144,7 @@ slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2525 val: 0 }, ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2561 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2563 { index: 0 tag: 0 @@ -257,7 +257,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#~B=#B, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2702, 0x0, v0 + defineclasswithbuffer 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#~B=#B, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2704, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -265,9 +265,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2570 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2572 ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2574 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2576 { index: 0 tag: 2 @@ -449,7 +449,7 @@ slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2574 val: 0 }, ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2702 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2704 { index: 0 tag: 0 @@ -893,7 +893,7 @@ slotNum = 0x7 stmodulevar 0x0 ldhole sta v0 - defineclasswithbuffer 0x4, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#~A1=#A1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2561, 0x0, v0 + defineclasswithbuffer 0x4, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#~A1=#A1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2563, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -901,9 +901,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2521 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2523 ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2525 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2527 { index: 0 tag: 2 @@ -945,7 +945,7 @@ slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2525 val: 0 }, ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2561 +slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2563 { index: 0 tag: 0 @@ -1058,7 +1058,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#~B=#B, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2702, 0x0, v0 + defineclasswithbuffer 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#~B=#B, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2704, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1066,9 +1066,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2570 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2572 ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2574 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2576 { index: 0 tag: 2 @@ -1250,7 +1250,7 @@ slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2574 val: 0 }, ------------------------------------ -slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2702 +slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2704 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-merged-abc/importAnno-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-merged-abc/importAnno-exec-expected.pa.txt index ec558e4ba0..9a06ebff44 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-merged-abc/importAnno-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-merged-abc/importAnno-exec-expected.pa.txt @@ -10,7 +10,7 @@ slotNum = 0x3 .function any &importAnnoPgName/exportAnno&2.0.0.func_main_0(any a0, any a1, any a2) { ldhole sta v0 - defineclasswithbuffer 0x0, &importAnnoPgName/exportAnno&2.0.0.#~A=#A, &importAnnoPgName/exportAnno&2.0.0_1370, 0x0, v0 + defineclasswithbuffer 0x0, &importAnnoPgName/exportAnno&2.0.0.#~A=#A, &importAnnoPgName/exportAnno&2.0.0_1372, 0x0, v0 ldobjbyname 0x1, prototype returnundefined } @@ -18,9 +18,9 @@ slotNum = 0x3 ======> literal array buffer <====== ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1330 +slot &importAnnoPgName/exportAnno&2.0.0_1332 ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1334 +slot &importAnnoPgName/exportAnno&2.0.0_1336 { index: 0 tag: 2 @@ -62,7 +62,7 @@ slot &importAnnoPgName/exportAnno&2.0.0_1334 val: 0 }, ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1370 +slot &importAnnoPgName/exportAnno&2.0.0_1372 { index: 0 tag: 0 @@ -103,7 +103,7 @@ slotNum = 0x3 .function any &importAnnoPgName/importAnno-exec&2.0.0.func_main_0(any a0, any a1, any a2) { ldhole sta v0 - defineclasswithbuffer 0x0, &importAnnoPgName/importAnno-exec&2.0.0.#~B=#B, &importAnnoPgName/importAnno-exec&2.0.0_1443, 0x0, v0 + defineclasswithbuffer 0x0, &importAnnoPgName/importAnno-exec&2.0.0.#~B=#B, &importAnnoPgName/importAnno-exec&2.0.0_1445, 0x0, v0 sta v0 ldobjbyname 0x1, prototype lda v0 @@ -114,9 +114,9 @@ slotNum = 0x3 ======> literal array buffer <====== ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1379 +slot &importAnnoPgName/importAnno-exec&2.0.0_1381 ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1383 +slot &importAnnoPgName/importAnno-exec&2.0.0_1385 { index: 0 tag: 2 @@ -193,7 +193,7 @@ slot &importAnnoPgName/importAnno-exec&2.0.0_1383 val: 0 }, ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1443 +slot &importAnnoPgName/importAnno-exec&2.0.0_1445 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-non-merged-abc/importAnno-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-non-merged-abc/importAnno-exec-expected.pa.txt index 3f2e9f9506..cbfd40b8fe 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-non-merged-abc/importAnno-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-non-merged-abc/importAnno-exec-expected.pa.txt @@ -10,7 +10,7 @@ slotNum = 0x3 .function any &importAnnoPgName/exportAnno&2.0.0.func_main_0(any a0, any a1, any a2) { ldhole sta v0 - defineclasswithbuffer 0x0, &importAnnoPgName/exportAnno&2.0.0.#~A=#A, &importAnnoPgName/exportAnno&2.0.0_1378, 0x0, v0 + defineclasswithbuffer 0x0, &importAnnoPgName/exportAnno&2.0.0.#~A=#A, &importAnnoPgName/exportAnno&2.0.0_1380, 0x0, v0 ldobjbyname 0x1, prototype returnundefined } @@ -18,9 +18,9 @@ slotNum = 0x3 ======> literal array buffer <====== ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1338 +slot &importAnnoPgName/exportAnno&2.0.0_1340 ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1342 +slot &importAnnoPgName/exportAnno&2.0.0_1344 { index: 0 tag: 2 @@ -62,7 +62,7 @@ slot &importAnnoPgName/exportAnno&2.0.0_1342 val: 0 }, ------------------------------------ -slot &importAnnoPgName/exportAnno&2.0.0_1378 +slot &importAnnoPgName/exportAnno&2.0.0_1380 { index: 0 tag: 0 @@ -103,7 +103,7 @@ slotNum = 0x3 .function any &importAnnoPgName/importAnno-exec&2.0.0.func_main_0(any a0, any a1, any a2) { ldhole sta v0 - defineclasswithbuffer 0x0, &importAnnoPgName/importAnno-exec&2.0.0.#~B=#B, &importAnnoPgName/importAnno-exec&2.0.0_1451, 0x0, v0 + defineclasswithbuffer 0x0, &importAnnoPgName/importAnno-exec&2.0.0.#~B=#B, &importAnnoPgName/importAnno-exec&2.0.0_1453, 0x0, v0 sta v0 ldobjbyname 0x1, prototype lda v0 @@ -114,9 +114,9 @@ slotNum = 0x3 ======> literal array buffer <====== ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1387 +slot &importAnnoPgName/importAnno-exec&2.0.0_1389 ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1391 +slot &importAnnoPgName/importAnno-exec&2.0.0_1393 { index: 0 tag: 2 @@ -193,7 +193,7 @@ slot &importAnnoPgName/importAnno-exec&2.0.0_1391 val: 0 }, ------------------------------------ -slot &importAnnoPgName/importAnno-exec&2.0.0_1451 +slot &importAnnoPgName/importAnno-exec&2.0.0_1453 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-test-project/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-test-project/hap-file-exec-expected.pa.txt index d6cd6d3e45..aa9c422fe8 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-test-project/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-test-project/hap-file-exec-expected.pa.txt @@ -50,7 +50,7 @@ slotNum = 0x5 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x2, &bytecodehar1/bytecodehar1-file1&2.0.0.#~B=#B, &bytecodehar1/bytecodehar1-file1&2.0.0_2142, 0x0, v0 + defineclasswithbuffer 0x2, &bytecodehar1/bytecodehar1-file1&2.0.0.#~B=#B, &bytecodehar1/bytecodehar1-file1&2.0.0_2144, 0x0, v0 ldobjbyname 0x3, prototype returnundefined } @@ -58,9 +58,9 @@ slotNum = 0x5 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2080 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2082 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2084 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2086 { index: 0 tag: 2 @@ -132,7 +132,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_2084 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2142 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2144 { index: 0 tag: 0 @@ -195,11 +195,11 @@ slotNum = 0x7 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0=#Example, &bytecodehar1/bytecodehar1-file2&2.0.0_2218, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0=#Example, &bytecodehar1/bytecodehar1-file2&2.0.0_2220, 0x0, v0 ldobjbyname 0x2, prototype ldhole sta v0 - defineclasswithbuffer 0x4, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_2240, 0x0, v0 + defineclasswithbuffer 0x4, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_2242, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -207,7 +207,7 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_2151 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_2153 { index: 0 tag: 0 @@ -219,7 +219,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_2151 val: Example }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_2160 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_2162 { index: 0 tag: 2 @@ -291,7 +291,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_2160 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_2218 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_2220 { index: 0 tag: 0 @@ -333,7 +333,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_2218 val: 1 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_2240 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_2242 { index: 0 tag: 0 @@ -388,7 +388,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1649, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1651, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -396,9 +396,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1601 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1603 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1605 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 { index: 0 tag: 2 @@ -450,7 +450,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1605 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1649 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1651 { index: 0 tag: 0 @@ -493,7 +493,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~B=#B, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1706, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~B=#B, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1708, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -501,9 +501,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1658 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1660 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1662 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1664 { index: 0 tag: 2 @@ -555,7 +555,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1662 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1706 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1708 { index: 0 tag: 0 @@ -917,7 +917,7 @@ slotNum = 0x5 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x2, &bytecodehar1/bytecodehar1-file1&2.0.0.#~B=#B, &bytecodehar1/bytecodehar1-file1&2.0.0_2142, 0x0, v0 + defineclasswithbuffer 0x2, &bytecodehar1/bytecodehar1-file1&2.0.0.#~B=#B, &bytecodehar1/bytecodehar1-file1&2.0.0_2144, 0x0, v0 ldobjbyname 0x3, prototype returnundefined } @@ -925,9 +925,9 @@ slotNum = 0x5 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2080 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2082 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2084 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2086 { index: 0 tag: 2 @@ -999,7 +999,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_2084 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_2142 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_2144 { index: 0 tag: 0 @@ -1042,7 +1042,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1649, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1651, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1050,9 +1050,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1601 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1603 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1605 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 { index: 0 tag: 2 @@ -1104,7 +1104,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1605 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1649 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1651 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-version-update/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-version-update/hap-file-exec-expected.pa.txt index 951b2a1d14..5cadb0d5a8 100644 --- a/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-version-update/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/bytecodehar/projects/bytecodehar-annotations-version-update/hap-file-exec-expected.pa.txt @@ -84,7 +84,7 @@ slotNum = 0x7 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2498, 0x0, v0 + defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2500, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -92,9 +92,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2450 +slot &bytecodehar/bytecodehar-dynamic-import&_2452 ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2454 +slot &bytecodehar/bytecodehar-dynamic-import&_2456 { index: 0 tag: 2 @@ -146,7 +146,7 @@ slot &bytecodehar/bytecodehar-dynamic-import&_2454 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2498 +slot &bytecodehar/bytecodehar-dynamic-import&_2500 { index: 0 tag: 0 @@ -259,7 +259,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2647, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2649, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -267,9 +267,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2507 +slot &bytecodehar/bytecodehar-static-import&_2509 ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2511 +slot &bytecodehar/bytecodehar-static-import&_2513 { index: 0 tag: 2 @@ -461,7 +461,7 @@ slot &bytecodehar/bytecodehar-static-import&_2511 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2647 +slot &bytecodehar/bytecodehar-static-import&_2649 { index: 0 tag: 0 @@ -917,7 +917,7 @@ slotNum = 0x7 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2498, 0x0, v0 + defineclasswithbuffer 0x4, &bytecodehar/bytecodehar-dynamic-import&.#~A=#A, &bytecodehar/bytecodehar-dynamic-import&_2500, 0x0, v0 ldobjbyname 0x5, prototype returnundefined } @@ -925,9 +925,9 @@ slotNum = 0x7 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2450 +slot &bytecodehar/bytecodehar-dynamic-import&_2452 ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2454 +slot &bytecodehar/bytecodehar-dynamic-import&_2456 { index: 0 tag: 2 @@ -979,7 +979,7 @@ slot &bytecodehar/bytecodehar-dynamic-import&_2454 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-dynamic-import&_2498 +slot &bytecodehar/bytecodehar-dynamic-import&_2500 { index: 0 tag: 0 @@ -1092,7 +1092,7 @@ slotNum = 0x4 stlexvar 0x0, 0x9 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2647, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar/bytecodehar-static-import&.#~A=#A, &bytecodehar/bytecodehar-static-import&_2649, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1100,9 +1100,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2507 +slot &bytecodehar/bytecodehar-static-import&_2509 ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2511 +slot &bytecodehar/bytecodehar-static-import&_2513 { index: 0 tag: 2 @@ -1294,7 +1294,7 @@ slot &bytecodehar/bytecodehar-static-import&_2511 val: 0 }, ------------------------------------ -slot &bytecodehar/bytecodehar-static-import&_2647 +slot &bytecodehar/bytecodehar-static-import&_2649 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/cache_projects/bytecodehar-annotations-cache-file/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/cache_projects/bytecodehar-annotations-cache-file/hap-file-exec-expected.pa.txt index 819272cd4a..4a6e6dec27 100644 --- a/es2panda/test/compiler/cache_projects/bytecodehar-annotations-cache-file/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/cache_projects/bytecodehar-annotations-cache-file/hap-file-exec-expected.pa.txt @@ -38,7 +38,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1826, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1828, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -46,9 +46,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1764 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1766 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1770 { index: 0 tag: 2 @@ -120,7 +120,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1826 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1828 { index: 0 tag: 0 @@ -165,7 +165,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1897, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1899, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -173,9 +173,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1835 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1837 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1839 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1841 { index: 0 tag: 2 @@ -247,7 +247,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_1839 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1897 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1899 { index: 0 tag: 0 @@ -302,7 +302,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1639, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -310,9 +310,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1589 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1591 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1595 { index: 0 tag: 2 @@ -364,7 +364,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1639 { index: 0 tag: 0 @@ -407,7 +407,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1694, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1696, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -415,9 +415,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1646 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1648 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1650 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1652 { index: 0 tag: 2 @@ -469,7 +469,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1650 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1694 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1696 { index: 0 tag: 0 @@ -837,7 +837,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1826, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1828, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -845,9 +845,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1764 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1766 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1770 { index: 0 tag: 2 @@ -919,7 +919,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1768 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1826 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1828 { index: 0 tag: 0 @@ -962,7 +962,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1639, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -970,9 +970,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1589 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1591 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1595 { index: 0 tag: 2 @@ -1024,7 +1024,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1593 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1637 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1639 { index: 0 tag: 0 diff --git a/es2panda/test/compiler/cache_projects/bytecodehar-annotations-mod-hap-cache-file/hap-file-exec-expected.pa.txt b/es2panda/test/compiler/cache_projects/bytecodehar-annotations-mod-hap-cache-file/hap-file-exec-expected.pa.txt index 839d23a63b..322cc66003 100644 --- a/es2panda/test/compiler/cache_projects/bytecodehar-annotations-mod-hap-cache-file/hap-file-exec-expected.pa.txt +++ b/es2panda/test/compiler/cache_projects/bytecodehar-annotations-mod-hap-cache-file/hap-file-exec-expected.pa.txt @@ -44,7 +44,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1844, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1846, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -52,9 +52,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1782 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1784 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1788 { index: 0 tag: 2 @@ -126,7 +126,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1844 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1846 { index: 0 tag: 0 @@ -171,7 +171,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1915, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1917, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -179,9 +179,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1853 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1855 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1859 { index: 0 tag: 2 @@ -253,7 +253,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1915 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1917 { index: 0 tag: 0 @@ -308,7 +308,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -316,9 +316,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1609 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1613 { index: 0 tag: 2 @@ -370,7 +370,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657 { index: 0 tag: 0 @@ -413,7 +413,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -421,9 +421,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1664 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1666 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1670 { index: 0 tag: 2 @@ -475,7 +475,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714 { index: 0 tag: 0 @@ -906,7 +906,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1844, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file1&2.0.0_1846, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -914,9 +914,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1782 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1784 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1788 { index: 0 tag: 2 @@ -988,7 +988,7 @@ slot &bytecodehar1/bytecodehar1-file1&2.0.0_1786 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file1&2.0.0_1844 +slot &bytecodehar1/bytecodehar1-file1&2.0.0_1846 { index: 0 tag: 0 @@ -1033,7 +1033,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1915, 0x0, v0 + defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~A=#A, &bytecodehar1/bytecodehar1-file2&2.0.0_1917, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1041,9 +1041,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1853 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1855 ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1859 { index: 0 tag: 2 @@ -1115,7 +1115,7 @@ slot &bytecodehar1/bytecodehar1-file2&2.0.0_1857 val: 0 }, ------------------------------------ -slot &bytecodehar1/bytecodehar1-file2&2.0.0_1915 +slot &bytecodehar1/bytecodehar1-file2&2.0.0_1917 { index: 0 tag: 0 @@ -1158,7 +1158,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1166,9 +1166,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1607 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1609 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1613 { index: 0 tag: 2 @@ -1220,7 +1220,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1611 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1655 +slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1657 { index: 0 tag: 0 @@ -1263,7 +1263,7 @@ slotNum = 0x4 stmodulevar 0x1 ldhole sta v0 - defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712, 0x0, v0 + defineclasswithbuffer 0x1, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#~A=#A, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714, 0x0, v0 ldobjbyname 0x2, prototype returnundefined } @@ -1271,9 +1271,9 @@ slotNum = 0x4 ======> literal array buffer <====== ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1664 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1666 ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1670 { index: 0 tag: 2 @@ -1325,7 +1325,7 @@ slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1668 val: 0 }, ------------------------------------ -slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1712 +slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1714 { index: 0 tag: 0 -- Gitee