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