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