This repository has been archived by the owner on Oct 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
compiler_rodread.c
2417 lines (2378 loc) · 94.3 KB
/
compiler_rodread.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Generated by Nim Compiler v0.18.0 */
/* (c) 2018 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_NEW_MANGLING_RULES
#define NIM_INTBITS 64
#include "nimbase.h"
#include <string.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef powerpc
#undef unix
typedef struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence_sksVpmPRIkNR9axiwtD1Guw tySequence_sksVpmPRIkNR9axiwtD1Guw;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q;
typedef struct tySequence_Mh9agqM29bm9aP5AUL1x7dZGA tySequence_Mh9agqM29bm9aP5AUL1x7dZGA;
typedef struct tySequence_zYu2DlP9bQek7yl7KPjzfgA tySequence_zYu2DlP9bQek7yl7KPjzfgA;
typedef struct tyObject_TFileModuleRec_hr9befsliGEJa9bKFOdnP87g tyObject_TFileModuleRec_hr9befsliGEJa9bKFOdnP87g;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ;
typedef struct RootObj RootObj;
typedef struct tySequence_48JTohSgTy339bRxHzUD8KA tySequence_48JTohSgTy339bRxHzUD8KA;
typedef struct tyObject_TIndex_hUZsEw7f9bvoVPQYLWHrTDQ tyObject_TIndex_hUZsEw7f9bvoVPQYLWHrTDQ;
typedef struct tyObject_TIITable_2ud26DHRGdy6LEqDPifSOA tyObject_TIITable_2ud26DHRGdy6LEqDPifSOA;
typedef struct tySequence_h0IAOvrRzVzO3NpUxaxxvQ tySequence_h0IAOvrRzVzO3NpUxaxxvQ;
typedef struct tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA;
typedef struct tySequence_eBSwX9aa9c1W8S1FJPmehz9aQ tySequence_eBSwX9aa9c1W8S1FJPmehz9aQ;
typedef struct tyObject_MemFile_j4SnXNrJDFBxAz4BlbM9aIQ tyObject_MemFile_j4SnXNrJDFBxAz4BlbM9aIQ;
typedef struct tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw;
typedef struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack_7fytPA5bBsob6See21YMRA tyObject_GcStack_7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyTuple_ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw;
typedef struct tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg;
typedef struct tySequence_zuqP4Riz26Oi5fWgPYVEgA tySequence_zuqP4Riz26Oi5fWgPYVEgA;
typedef struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA tySequence_DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TType_LTUWCZolpovw9cWE3JBWSUw tyObject_TType_LTUWCZolpovw9cWE3JBWSUw;
typedef struct tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g;
typedef struct tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw;
typedef struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ;
typedef struct tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA;
typedef struct tySequence_iGkpo9aKQdr3NWelKC4cnJA tySequence_iGkpo9aKQdr3NWelKC4cnJA;
typedef struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyTuple_a09bGTAl9ceOKTAytYdkbyKg tyTuple_a09bGTAl9ceOKTAytYdkbyKg;
typedef struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyObject_AssertionError_8FC9arcap3s5ZtfMs75krtA tyObject_AssertionError_8FC9arcap3s5ZtfMs75krtA;
typedef struct Exception Exception;
typedef struct tySequence_uB9b75OUPRENsBAu4AnoePA tySequence_uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_TIdPair_AdFnD2YdADPeuJbG2YJ4vg tyObject_TIdPair_AdFnD2YdADPeuJbG2YJ4vg;
typedef struct tyObject_TIIPair_Vwj9bWy1xJ8WVCE9ctkEPJDA tyObject_TIIPair_Vwj9bWy1xJ8WVCE9ctkEPJDA;
typedef struct tyTuple_XUtHSCESHcg7KVfuMIqQmw tyTuple_XUtHSCESHcg7KVfuMIqQmw;
typedef struct tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w;
typedef struct tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ;
typedef struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA;
struct tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence_sksVpmPRIkNR9axiwtD1Guw* data;
};
typedef NU8 tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc_ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc_ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
typedef NU8 tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
struct tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q {
NI counter;
tySequence_Mh9agqM29bm9aP5AUL1x7dZGA* data;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef NU8 tyEnum_TReasonForRecompile_CESX1DWEXOC2bslyDO2n5A;
typedef NU8 tyArray_YtcvxHNKV4YiecPE9ap1mcA[20];
struct tyObject_TFileModuleRec_hr9befsliGEJa9bKFOdnP87g {
NimStringDesc* filename;
tyEnum_TReasonForRecompile_CESX1DWEXOC2bslyDO2n5A reason;
tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* rd;
tyArray_YtcvxHNKV4YiecPE9ap1mcA hash;
NIM_BOOL hashDone;
};
struct RootObj {
TNimType* m_type;
};
typedef NU32 tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg;
struct tyObject_TIITable_2ud26DHRGdy6LEqDPifSOA {
NI counter;
tySequence_h0IAOvrRzVzO3NpUxaxxvQ* data;
};
struct tyObject_TIndex_hUZsEw7f9bvoVPQYLWHrTDQ {
NI lastIdxKey;
NI lastIdxVal;
tyObject_TIITable_2ud26DHRGdy6LEqDPifSOA tab;
NimStringDesc* r;
NI offset;
};
struct tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA {
tySequence_eBSwX9aa9c1W8S1FJPmehz9aQ* data;
NI counter;
};
struct tyObject_MemFile_j4SnXNrJDFBxAz4BlbM9aIQ {
void* mem;
NI size;
int handle;
};
struct tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ {
RootObj Sup;
NI pos;
NCSTRING s;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
tyEnum_TReasonForRecompile_CESX1DWEXOC2bslyDO2n5A reason;
tySequence_48JTohSgTy339bRxHzUD8KA* modDeps;
tySequence_48JTohSgTy339bRxHzUD8KA* files;
NI dataIdx;
NI convertersIdx;
NI initIdx;
NI interfIdx;
NI compilerProcsIdx;
NI methodsIdx;
NimStringDesc* filename;
tyObject_TIndex_hUZsEw7f9bvoVPQYLWHrTDQ index;
tyObject_TIndex_hUZsEw7f9bvoVPQYLWHrTDQ imports;
NI readerIndex;
NI line;
NI moduleID;
tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA syms;
tyObject_MemFile_j4SnXNrJDFBxAz4BlbM9aIQ memfile;
tySequence_sksVpmPRIkNR9axiwtD1Guw* methods;
NimStringDesc* origFile;
NIM_BOOL inViewMode;
tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* cache;
};
struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack_7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* tyArray_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray_BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* tyArray_N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray_N1u1nqOgmuJN9cSZrnMHgOQ tyArray_B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* tyArray_lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA {
tyArray_lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* tyArray_0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw {
tyArray_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyArray_LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray_LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray_SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray_BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray_B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack_7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
struct tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg {
RootObj Sup;
NI id;
};
typedef NU8 tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw;
typedef NU16 tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg;
struct tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw {
NI16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU64 tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU8 tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind_O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc_JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag_o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ* r;
tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ* dup;
};
struct tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw {
tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg Sup;
tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence_zuqP4Riz26Oi5fWgPYVEgA* typeInstCache;
} S1;
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* gcUnsafetyReason;
} S2;
struct {tySequence_DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA tab;
} S3;
struct {tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* guard;
NI bitsize;
} S4;
} kindU;
tyEnum_TMagic_shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* typ;
tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* name;
tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* owner;
tySet_tyEnum_TSymFlag_K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption_WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* constraint;
};
typedef NU8 tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention_yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw;
struct tyObject_TType_LTUWCZolpovw9cWE3JBWSUw {
tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg Sup;
tyEnum_TTypeKind_9a3YiReNVD0IJHWFKgXRe9ag kind;
tyEnum_TCallingConvention_yjAJ8w0h1PBaSwSGJ3P7IA callConv;
tySet_tyEnum_TTypeFlag_x2m5g1NpbmDig4wLT3Ylhw flags;
tySequence_zuqP4Riz26Oi5fWgPYVEgA* sons;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* owner;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* sym;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* destructor;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* deepCopy;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* assignment;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* sink;
tySequence_iGkpo9aKQdr3NWelKC4cnJA* methods;
NI64 size;
NI16 align;
NI16 lockLevel;
tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* typeInst;
};
typedef NU8 tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw;
typedef NU32 tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg;
struct tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* typ;
tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info;
tySet_tyEnum_TNodeFlag_jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
} S1;
struct {NF floatVal;
} S2;
struct {NimStringDesc* strVal;
} S3;
struct {tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* sym;
} S4;
struct {tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* ident;
} S5;
struct {tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct tyTuple_a09bGTAl9ceOKTAytYdkbyKg {
NI Field0;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* Field1;
};
typedef NU8 tyEnum_TLibKind_9b8v60kso59bBaw9cp8B9a9apKQ;
struct tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA {
tyEnum_TLibKind_9b8v60kso59bBaw9cp8B9a9apKQ kind;
NIM_BOOL generated;
NIM_BOOL isOverriden;
tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ* name;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* path;
};
struct tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA {
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* sym;
tySequence_zuqP4Riz26Oi5fWgPYVEgA* concreteTypes;
NI compilesId;
};
struct Exception {
RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence_uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_AssertionError_8FC9arcap3s5ZtfMs75krtA {
Exception Sup;
};
typedef NU8 tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef NU8 tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ;
struct tyObject_TIdPair_AdFnD2YdADPeuJbG2YJ4vg {
tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg* key;
RootObj* val;
};
struct tyObject_TIIPair_Vwj9bWy1xJ8WVCE9ctkEPJDA {
NI key;
NI val;
};
struct tyTuple_XUtHSCESHcg7KVfuMIqQmw {
NI Field0;
NI Field1;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* Field2;
};
typedef tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* tyArray_CBfZt49asUfAsBVM7a3Rc9cw[8192];
struct tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw {
tyArray_CBfZt49asUfAsBVM7a3Rc9cw buckets;
NI wordCounter;
tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* idAnon;
tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* idDelegator;
tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* emptyIdent;
};
struct tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w {
NI prevSize;
NI size;
};
struct tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ {
tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w Sup;
tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* next;
tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* prev;
tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ* freeList;
NI free;
NI acc;
NF data;
};
struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg {
tyObject_BaseChunk_Sdq7WpT6qAH858F5ZEdG3w Sup;
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* next;
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* prev;
NF data;
};
struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw {
NI size;
NI acc;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* next;
};
typedef NI tyArray_9a8QARi5WsUggNU9bom7kzTQ[8];
struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw {
tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* next;
NI key;
tyArray_9a8QARi5WsUggNU9bom7kzTQ bits;
};
struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg {
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* next;
NI key;
tyArray_9a8QARi5WsUggNU9bom7kzTQ bits;
};
struct tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g {
tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg Sup;
NimStringDesc* s;
tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g* next;
NI h;
};
struct tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ {
RootObj Sup;
tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ* left;
tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ* right;
NI length;
NimStringDesc* data;
};
struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ {
tyObject_FreeCell_u6M5LHprqzkn9axr04yg9bGQ* next;
NI zeroField;
};
struct tySequence_zYu2DlP9bQek7yl7KPjzfgA {
TGenericSeq Sup;
tyObject_TFileModuleRec_hr9befsliGEJa9bKFOdnP87g data[SEQ_DECL_SIZE];
};
struct tySequence_48JTohSgTy339bRxHzUD8KA {
TGenericSeq Sup;
NI32 data[SEQ_DECL_SIZE];
};
struct tySequence_zuqP4Riz26Oi5fWgPYVEgA {
TGenericSeq Sup;
tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* data[SEQ_DECL_SIZE];
};
struct tySequence_sksVpmPRIkNR9axiwtD1Guw {
TGenericSeq Sup;
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* data[SEQ_DECL_SIZE];
};
struct tySequence_Mh9agqM29bm9aP5AUL1x7dZGA {
TGenericSeq Sup;
tyObject_TIdPair_AdFnD2YdADPeuJbG2YJ4vg data[SEQ_DECL_SIZE];
};
struct tySequence_h0IAOvrRzVzO3NpUxaxxvQ {
TGenericSeq Sup;
tyObject_TIIPair_Vwj9bWy1xJ8WVCE9ctkEPJDA data[SEQ_DECL_SIZE];
};
struct tySequence_eBSwX9aa9c1W8S1FJPmehz9aQ {
TGenericSeq Sup;
tyTuple_XUtHSCESHcg7KVfuMIqQmw data[SEQ_DECL_SIZE];
};
struct tySequence_DXS6mEo7PVUFJkirsQ9bNQA {
TGenericSeq Sup;
tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence_iGkpo9aKQdr3NWelKC4cnJA {
TGenericSeq Sup;
tyTuple_a09bGTAl9ceOKTAytYdkbyKg data[SEQ_DECL_SIZE];
};
struct tySequence_ehmV9bTklH2Gt9cXHV9c0HLeQ {
TGenericSeq Sup;
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence_uB9b75OUPRENsBAu4AnoePA {
TGenericSeq Sup;
tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_2)(void);
N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc_T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_3)(void);
static N_NIMCALL(void, Marker_tySequence_48JTohSgTy339bRxHzUD8KA)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef_Eh4s09cJuhHxR86Hgdowx5Q)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence_zYu2DlP9bQek7yl7KPjzfgA)(void* p, NI op);
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_10)(void);
static N_INLINE(void, nimGCunrefRC1)(void* p);
static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_fCDI7oO1NNVXXURtxSzsRw)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_LIB_PRIVATE N_NIMCALL(void, initIdTable_9cUS2oaKn1IFXKjLdglPZHQ)(tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q* x);
N_LIB_PRIVATE N_NIMCALL(void, initStrTable_dDG9ckEId9ai4WID9aLQcRYNg)(tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA* x);
static N_INLINE(void, GC_disable_neD9cJp4S9clvdaq5qqNFZAQrodread)(void);
N_LIB_PRIVATE N_NIMCALL(void, rawLoadStub_8lqBRdz0Xc1mefqrmXA9ceg_2)(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* s);
N_LIB_PRIVATE N_NIMCALL(void, internalError_5XY9cUy7hZmUusM38U9cYYdw)(NimStringDesc* errMsg);
N_LIB_PRIVATE N_NIMCALL(NI, iiTableGet_EgYHcx8etCrcLSUXIA9aoUw)(tyObject_TIITable_2ud26DHRGdy6LEqDPifSOA t, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*, decodeSymSafePos_9atJjb5xZ4KownKCOle5Dcw)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* rd, NI offset, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(void, internalError_MXmtqrCmYwtOPkDCFgUWKQ)(tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info, NimStringDesc* errMsg);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*, decodeSym_xBDPIbwGR7xnDnCO21Sb1A)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(NI, decodeVInt_P9b8WkVDF9cqEDrYeG3xWGwQ)(NCSTRING s, NI* pos);
static N_INLINE(void, setId_iA4w0aRcMn9ciJCCkQe5Uiwrodread)(NI id);
N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent_4umxGerWTHGPwUms7Yqu3g*, getIdent_Y4Yr5rKoaxkzPcN8rPP9bWA)(tyObject_IdentCachecolonObjectType__TzLHS09bRH9a0TYLs39cqcNaw* self, NimStringDesc* identifier);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, decodeStr_STVN8cb52NB3wWUNHppyDQ)(NCSTRING s, NI* pos);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*, getOrDefault_ShR0uE9bMwmPl0MR60kmH3g)(tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA t, NI key);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq__rmyyXMOU9cTYfzq59cG09cIIA)(tyObject_Table_DYt7wxxRVZ9c5PDjh5cfgPA* t, NI key, tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* val);
N_LIB_PRIVATE N_NIMCALL(void, registerID_ZN2j9cT9c6WdU9bRORys9cZIAg)(tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg* id);
N_NIMCALL(void, genericReset)(void* dest, TNimType* mt);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType_LTUWCZolpovw9cWE3JBWSUw*, rrGetType_4NINkp2jYPkYd4N4uTT9amA)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, NI id, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(RootObj*, idTableGet_Z0OPsM9b7rlHUCmy4XL0CMw)(tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q t, NI key);
N_LIB_PRIVATE N_NIMCALL(tyObject_TType_LTUWCZolpovw9cWE3JBWSUw*, decodeType_LdNLnEXpttl5r2XnecLrvQ)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(void, idTablePut_3gLsywwJ9bZDaf06DfKpYbw)(tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q* t, tyObject_TIdObj_raN9cHVgzmvaXisezY9aGg9cg* key, RootObj* val);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, decodeNode_ZDhFn8mo57TbvAOtXK4b9cQ)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw fInfo);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, decodeNodeLazyBody_WprDv1mMNNCOcW7lB2ZCtw)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw fInfo, tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* belongsTo);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, newNodeI_PIqgSH9b0m7nFpOyXf9cpz5w)(tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(void, decodeLineInfo_9aejGFhNdc8uJ9ck4Zv4GDJw)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw* info);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw, newLineInfo_Shbbzc11c9bnWkBc9b42npzA)(NI32 fileInfoIdx, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(NI64, decodeVBiggestInt_5JGKp2eBU7Vp9cFMYv9bssUA)(NCSTRING s, NI* pos);
N_LIB_PRIVATE N_NIMCALL(NF, nsuParseFloat)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*, rrGetSym_LN0h5wUUibshttSu5iCq5g)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, NI id, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void, encodeVInt_UxDO4XNnIGIEXt1v5wvZJQ)(NI x, NimStringDesc** result);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem_E1xtACub5WcDa3vbrIXbwgsystem)(void* dest, void* source, NI size);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ*, getReader_WoZmLdiW4ODXV9cGA4sitDg)(NI moduleId);
N_LIB_PRIVATE N_NOINLINE(void, raiseAssert_PpfSiTIeNpMAb9a5o6SglJw_2)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(void, addSonNilAllowed_gCCf68XrWL79bKes6htzFjQ_2)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(void, skipNode_9cXbacxofZHikq55hIlLxVA)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw, unknownLineInfo_Ad9ctQofZYxhKVXoXjdL0Fw)(void);
N_LIB_PRIVATE N_NIMCALL(void, safeAdd_XuI5bupZeUeWgjk44qSPBA)(tySequence_iGkpo9aKQdr3NWelKC4cnJA** x, tyTuple_a09bGTAl9ceOKTAytYdkbyKg y);
N_LIB_PRIVATE N_NIMCALL(void, decodeLoc_8sUfYI2wxx8i9aM1poveVuQ)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLoc_EtHNvCB0bgfu9bFjzx9cb6aA* loc, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj_HF4qJnb6xiOddgPmsxodtQ*, rope_53CHEX05HP0HacydnwoUYg)(NimStringDesc* s);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(void, rawAddSon_52UH8yKinsYmFX9bFij9c2Hw)(tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* father, tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* son);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLib_NBMxlJ6g3utqUlplqTTHkA*, decodeLib_vGWFBzZlK54TeLWgqPyLJA)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info);
N_LIB_PRIVATE N_NIMCALL(void, safeAdd_VD4SAHgDoDEHV5x9bi89cbwA)(tySequence_zuqP4Riz26Oi5fWgPYVEgA** x, tyObject_TType_LTUWCZolpovw9cWE3JBWSUw* y);
N_LIB_PRIVATE N_NIMCALL(void, decodeInstantiations_Ix6zQdI2iKmpaSjQnuakiQ)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info, tySequence_DXS6mEo7PVUFJkirsQ9bNQA** s);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemSize);
N_LIB_PRIVATE N_NIMCALL(void, safeAdd_159bXvKbDCwtLAAM9au9cb2iw)(tySequence_DXS6mEo7PVUFJkirsQ9bNQA** x, tyObject_TInstantiation_5LqgVn6Tq9ainQRK7TQAQxA* y);
static N_INLINE(void, GC_enable_neD9cJp4S9clvdaq5qqNFZAQ_2rodread)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_9cAA5YuQAAC3MVbnGeV86swsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_NIMCALL(void, raiseException)(Exception* e, NCSTRING ename);
static N_INLINE(NI, len_CdME9baJhvveuPEDZE9bXoxAlambdalifting)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, newNode_IgnRxkID5wXTWvTZf9ct0rA)(tyEnum_TNodeKind_G4E4Gxe7oI2Cm03rkiOzQw kind);
N_LIB_PRIVATE N_NIMCALL(void, addSon_gCCf68XrWL79bKes6htzFjQ)(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(void, secureHashFile_4VtK7krOYr71KzoMiYOEjA)(NimStringDesc* filename, tyArray_YtcvxHNKV4YiecPE9ap1mcA Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toFullPath_KZnzGw9baMUf9ad9aixRtHmqg)(NI32 fileIdx);
static N_INLINE(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemSize, NI newLen);
static N_INLINE(NI, resize_bzF9a0JivP3Z4njqaxuLc5wsystem)(NI old);
N_LIB_PRIVATE N_NIMCALL(void*, growObj_AVYny8c0GTk28gxjmat1MA)(void* old, NI newsize);
N_NIMCALL(TNimType*, extGetCellType)(void* c);
N_LIB_PRIVATE N_NIMCALL(void, forAllChildrenAux_YOI1Uo54H9aas13WthjhsfA)(void* dest, TNimType* mt, tyEnum_WalkOp_Wfy7gT5VQ8B3aJBxqU8D9cQ op);
static N_INLINE(void, zeroMem_t0o5XqKanO5QJfXMGEzp2Asystem)(void* p, NI size);
tyObject_TStrTable_f07aOS3dr28kGa5wcE29aFA rodCompilerprocs_9aNPIIbBunTbUYZKKDkxNkA;
extern TNimType NTI_f07aOS3dr28kGa5wcE29aFA_;
tyObject_TIdTable_9aiv9bp2t5icFNINcg9c4xi1Q gTypeTable_Cu50R2OUCmZwEpVFTyCFpQ;
extern TNimType NTI_9aiv9bp2t5icFNINcg9c4xi1Q_;
tySequence_zYu2DlP9bQek7yl7KPjzfgA* gMods_rI9ar5P1fR1UYngW7fmzETQ;
TNimType NTI_hr9befsliGEJa9bKFOdnP87g_;
extern TNimType NTI_77mFvmsOLKik79ci2hXkHEg_;
TNimType NTI_CESX1DWEXOC2bslyDO2n5A_;
extern TNimType NTI_13RNkKqUOX1TtorOUlKtqA_;
TNimType NTI_16TURXdqtpMMssNVfU5WqQ_;
extern TNimType NTI_rR5Bzr1D5krxoo1NcNyeMA_;
extern TNimType NTI_S9agCYBinaYZnGWcjTdxclg_;
extern TNimType NTI_7MnKRybmCNh5j9bDRLMkxLw_;
extern TNimType NTI_sVg18TP9cLifHyygRe9cro9aA_;
TNimType NTI_48JTohSgTy339bRxHzUD8KA_;
TNimType NTI_hUZsEw7f9bvoVPQYLWHrTDQ_;
extern TNimType NTI_2ud26DHRGdy6LEqDPifSOA_;
extern TNimType NTI_DYt7wxxRVZ9c5PDjh5cfgPA_;
extern TNimType NTI_j4SnXNrJDFBxAz4BlbM9aIQ_;
extern TNimType NTI_sksVpmPRIkNR9axiwtD1Guw_;
extern TNimType NTI_VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI_lnkYNZP9asc88UfiEGjLrbA_;
TNimType NTI_Eh4s09cJuhHxR86Hgdowx5Q_;
extern TNimType NTI_YtcvxHNKV4YiecPE9ap1mcA_;
TNimType NTI_zYu2DlP9bQek7yl7KPjzfgA_;
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
extern NI gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng;
extern TNimType NTI_83n62yi1b9bgUtRR9axFWW9ag_;
extern TNimType NTI_AXG7xcvKqaxY6koRX1xkCw_;
extern TNimType NTI_1EooIlSGbJRPSt3SfQJd7Q_;
extern TNimType NTI_LTUWCZolpovw9cWE3JBWSUw_;
extern TNimType NTI_EL9cZTJI9a9cmSIbGnseCuc9bg_;
extern TNimType NTI_Y32tFilzS9adEEksgrCsOzQ_;
extern TNimType NTI_zuqP4Riz26Oi5fWgPYVEgA_;
extern TNimType NTI_TmgWlPUbRr7iGD2UE1cu6A_;
extern TNimType NTI_8FC9arcap3s5ZtfMs75krtA_;
extern tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* emptyNode_69ccLGuQ2mITw7zylZYtWcA;
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_11, "loadStub", 8);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_12, "loadStub: invalid key", 21);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_13, "dataIdx == 0", 12);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_14, "decodeSym: no id", 16);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_15, "decodeSym: no ident", 19);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_16, "decodeSym: wrong id", 19);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_17, "rrGetType", 9);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_18, "decodeType: no id", 17);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_19, "", 0);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_20, "decodeNode: nkIdent", 19);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_21, "missing from both indexes: +", 28);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_22, "\012not (rd == nil) ", 17);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_23, "rrGetSym: no reader found: +", 28);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_24, "decodeNode: nkSym", 17);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_25, "decodeNode: \')\' missing", 23);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_26, "decodeNode: \'(\' missing ", 24);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_27, "r.s[r.pos] == \'\\x14\' ", 21);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_28, "decodeLoc ", 10);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_29, "decodeType ^(", 13);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_30, "decodeLib: 1", 12);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_31, "decodeLib: 2", 12);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_32, "loadStub: wrong symbol", 22);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_33, "loadStub: wrong ID", 18);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_34, "API usage error: GC_enable called but GC is already enabled", 59);
STRING_LITERAL(TM_cQ0PrUjHdJJ4mT9bXnGeWmg_35, "loadInitSection", 15);
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_2)(void) {
nimGCvisit((void*)rodCompilerprocs_9aNPIIbBunTbUYZKKDkxNkA.data, 0);
}
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_3)(void) {
nimGCvisit((void*)gTypeTable_Cu50R2OUCmZwEpVFTyCFpQ.data, 0);
}
static N_NIMCALL(void, Marker_tySequence_48JTohSgTy339bRxHzUD8KA)(void* p, NI op) {
tySequence_48JTohSgTy339bRxHzUD8KA* a;
NI T1_;
a = (tySequence_48JTohSgTy339bRxHzUD8KA*)p;
T1_ = (NI)0;
}
static N_NIMCALL(void, Marker_tyRef_Eh4s09cJuhHxR86Hgdowx5Q)(void* p, NI op) {
tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* a;
a = (tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ*)p;
nimGCvisit((void*)(*a).modDeps, op);
nimGCvisit((void*)(*a).files, op);
nimGCvisit((void*)(*a).filename, op);
nimGCvisit((void*)(*a).index.tab.data, op);
nimGCvisit((void*)(*a).index.r, op);
nimGCvisit((void*)(*a).imports.tab.data, op);
nimGCvisit((void*)(*a).imports.r, op);
nimGCvisit((void*)(*a).syms.data, op);
nimGCvisit((void*)(*a).methods, op);
nimGCvisit((void*)(*a).origFile, op);
nimGCvisit((void*)(*a).cache, op);
}
static N_NIMCALL(void, Marker_tySequence_zYu2DlP9bQek7yl7KPjzfgA)(void* p, NI op) {
tySequence_zYu2DlP9bQek7yl7KPjzfgA* a;
NI T1_;
NI T2_;
a = (tySequence_zYu2DlP9bQek7yl7KPjzfgA*)p;
T1_ = (NI)0;
for (T1_ = 0; T1_ < a->Sup.len; T1_++) {
nimGCvisit((void*)a->data[T1_].filename, op);
nimGCvisit((void*)a->data[T1_].rd, op);
T2_ = (NI)0;
}
}
static N_NIMCALL(void, TM_cQ0PrUjHdJJ4mT9bXnGeWmg_10)(void) {
nimGCvisit((void*)gMods_rI9ar5P1fR1UYngW7fmzETQ, 0);
}
static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
addZCT_fCDI7oO1NNVXXURtxSzsRw((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
{
(*c).refcount -= ((NI) 8);
if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
}
LA3_: ;
}
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr) {
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* result;
result = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
result = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU64)(((NI) (ptrdiff_t) (usr))) - (NU64)(((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
return result;
}
static N_INLINE(void, nimGCunrefRC1)(void* p) {
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T1_;
T1_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
T1_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
decRef_MV4BBk6J1qu70IbBxwEn4wsystem(T1_);
}
static N_INLINE(void, GC_disable_neD9cJp4S9clvdaq5qqNFZAQrodread)(void) {
gch_IcYaEuuWivYAS86vFMTS3Q.recGcLock += ((NI) 1);
}
static N_INLINE(void, setId_iA4w0aRcMn9ciJCCkQe5Uiwrodread)(NI id) {
gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng = ((gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng >= (NI)(id + ((NI) 1))) ? gFrontEndId_gyRrMPnY7JyC6tAu9bCfGng : (NI)(id + ((NI) 1)));
}
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
{
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
if (!!((src == NIM_NIL))) goto LA3_;
c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
(*c).refcount += ((NI) 8);
}
LA3_: ;
{
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c_2;
if (!!(((*dest) == NIM_NIL))) goto LA7_;
c_2 = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
{
(*c_2).refcount -= ((NI) 8);
if (!((NU64)((*c_2).refcount) < (NU64)(((NI) 8)))) goto LA11_;
rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c_2);
}
LA11_: ;
}
LA7_: ;
(*dest) = src;
}
N_LIB_PRIVATE N_NIMCALL(void, decodeLineInfo_9aejGFhNdc8uJ9ck4Zv4GDJw)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw* info) {
{
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(63))) goto LA3_;
(*r).pos += ((NI) 1);
{
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(44))) goto LA7_;
(*info).col = ((NI16) -1);
}
goto LA5_;
LA7_: ;
{
NI T10_;
T10_ = (NI)0;
T10_ = decodeVInt_P9b8WkVDF9cqEDrYeG3xWGwQ((*r).s, (&(*r).pos));
(*info).col = ((NI16) (T10_));
}
LA5_: ;
{
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(44))) goto LA13_;
(*r).pos += ((NI) 1);
{
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(44))) goto LA17_;
(*info).line = ((NI16) -1);
}
goto LA15_;
LA17_: ;
{
NI T20_;
T20_ = (NI)0;
T20_ = decodeVInt_P9b8WkVDF9cqEDrYeG3xWGwQ((*r).s, (&(*r).pos));
(*info).line = ((NI16) (T20_));
}
LA15_: ;
{
NI T25_;
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(44))) goto LA23_;
(*r).pos += ((NI) 1);
T25_ = (NI)0;
T25_ = decodeVInt_P9b8WkVDF9cqEDrYeG3xWGwQ((*r).s, (&(*r).pos));
(*info) = newLineInfo_Shbbzc11c9bnWkBc9b42npzA((*r).files->data[T25_], ((NI) ((*info).line)), ((NI) ((*info).col)));
}
LA23_: ;
}
LA13_: ;
}
LA3_: ;
}
static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
{
(*c).refcount -= ((NI) 8);
if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
}
LA3_: ;
}
static N_INLINE(void, copyMem_E1xtACub5WcDa3vbrIXbwgsystem)(void* dest, void* source, NI size) {
void* T1_;
T1_ = (void*)0;
T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
copyMem_E1xtACub5WcDa3vbrIXbwgsystem(((void*) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
(*dest).Sup.len += (*src).Sup.len;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ*, getReader_WoZmLdiW4ODXV9cGA4sitDg)(NI moduleId) {
tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* result;
{ result = (tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ*)0;
{
NI i;
NI colontmp_;
NI T2_;
NI i_2;
i = (NI)0;
colontmp_ = (NI)0;
T2_ = (gMods_rI9ar5P1fR1UYngW7fmzETQ ? gMods_rI9ar5P1fR1UYngW7fmzETQ->Sup.len : 0);
colontmp_ = T2_;
i_2 = ((NI) 0);
{
while (1) {
if (!(i_2 < colontmp_)) goto LA4;
i = i_2;
result = gMods_rI9ar5P1fR1UYngW7fmzETQ->data[i].rd;
{
NIM_BOOL T7_;
T7_ = (NIM_BOOL)0;
T7_ = !((result == NIM_NIL));
if (!(T7_)) goto LA8_;
T7_ = ((*result).moduleID == moduleId);
LA8_: ;
if (!T7_) goto LA9_;
goto BeforeRet_;
}
LA9_: ;
i_2 += ((NI) 1);
} LA4: ;
}
}
result = NIM_NIL;
goto BeforeRet_;
}BeforeRet_: ;
return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*, rrGetSym_LN0h5wUUibshttSu5iCq5g)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, NI id, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw info) {
tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* result;
result = (tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw*)0;
result = getOrDefault_ShR0uE9bMwmPl0MR60kmH3g((*r).syms, id);
{
NI d;
if (!(result == NIM_NIL)) goto LA3_;
d = iiTableGet_EgYHcx8etCrcLSUXIA9aoUw((*r).index.tab, id);
{
NI moduleID;
tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* rd;
if (!(d == ((NI) (IL64(-9223372036854775807) - IL64(1))))) goto LA7_;
moduleID = iiTableGet_EgYHcx8etCrcLSUXIA9aoUw((*r).imports.tab, id);
{
NimStringDesc* x;
NimStringDesc* T13_;
if (!(moduleID < ((NI) 0))) goto LA11_;
x = copyString(((NimStringDesc*) &TM_cQ0PrUjHdJJ4mT9bXnGeWmg_19));
encodeVInt_UxDO4XNnIGIEXt1v5wvZJQ(id, (&x));
T13_ = (NimStringDesc*)0;
T13_ = rawNewString(x->Sup.len + 28);
appendString(T13_, ((NimStringDesc*) &TM_cQ0PrUjHdJJ4mT9bXnGeWmg_21));
appendString(T13_, x);
internalError_MXmtqrCmYwtOPkDCFgUWKQ(info, T13_);
}
LA11_: ;
rd = getReader_WoZmLdiW4ODXV9cGA4sitDg(moduleID);
{
if (!!(!((rd == NIM_NIL)))) goto LA16_;
raiseAssert_PpfSiTIeNpMAb9a5o6SglJw_2(((NimStringDesc*) &TM_cQ0PrUjHdJJ4mT9bXnGeWmg_22));
}
LA16_: ;
d = iiTableGet_EgYHcx8etCrcLSUXIA9aoUw((*rd).index.tab, id);
{
if (!!((d == ((NI) (IL64(-9223372036854775807) - IL64(1)))))) goto LA20_;
result = decodeSymSafePos_9atJjb5xZ4KownKCOle5Dcw(rd, d, info);
}
goto LA18_;
LA20_: ;
{
NimStringDesc* x_2;
NimStringDesc* T23_;
x_2 = copyString(((NimStringDesc*) &TM_cQ0PrUjHdJJ4mT9bXnGeWmg_19));
encodeVInt_UxDO4XNnIGIEXt1v5wvZJQ(id, (&x_2));
T23_ = (NimStringDesc*)0;
T23_ = rawNewString(x_2->Sup.len + 28);
appendString(T23_, ((NimStringDesc*) &TM_cQ0PrUjHdJJ4mT9bXnGeWmg_23));
appendString(T23_, x_2);
internalError_MXmtqrCmYwtOPkDCFgUWKQ(info, T23_);
}
LA18_: ;
}
goto LA5_;
LA7_: ;
{
result = decodeSymSafePos_9atJjb5xZ4KownKCOle5Dcw(r, d, info);
}
LA5_: ;
}
LA3_: ;
{
NIM_BOOL T27_;
T27_ = (NIM_BOOL)0;
T27_ = !((result == NIM_NIL));
if (!(T27_)) goto LA28_;
T27_ = ((*result).kind == ((tyEnum_TSymKind_cNCW9acsSznmEccl1fgQwkw) 23));
LA28_: ;
if (!T27_) goto LA29_;
rawLoadStub_8lqBRdz0Xc1mefqrmXA9ceg_2(result);
}
LA29_: ;
return result;
}
N_LIB_PRIVATE N_NIMCALL(void, skipNode_9cXbacxofZHikq55hIlLxVA)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r) {
NI par;
NI pos;
par = ((NI) 0);
pos = (NI)((*r).pos + ((NI) 1));
{
while (1) {
switch (((NU8)((*r).s[pos]))) {
case 41:
{
{
if (!(par == ((NI) 0))) goto LA6_;
goto LA1;
}
LA6_: ;
par -= ((NI) 1);
}
break;
case 40:
{
par += ((NI) 1);
}
break;
default:
{
}
break;
}
pos += ((NI) 1);
}
} LA1: ;
(*r).pos = (NI)(pos + ((NI) 1));
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*, decodeNodeLazyBody_WprDv1mMNNCOcW7lB2ZCtw)(tyObject_TRodReader_16TURXdqtpMMssNVfU5WqQ* r, tyObject_TLineInfo_T9c3PM9bs7WZ4LIQfEici9cZw fInfo, tyObject_TSym_AXG7xcvKqaxY6koRX1xkCw* belongsTo) {
tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw* result;
{ result = (tyObject_TNode_bROa11lyF5vxEN9aYNbHmhw*)0;
result = NIM_NIL;
{
NI T9_;
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(40))) goto LA3_;
(*r).pos += ((NI) 1);
{
if (!((NU8)((*r).s[(*r).pos]) == (NU8)(41))) goto LA7_;
(*r).pos += ((NI) 1);
goto BeforeRet_;
}
LA7_: ;
T9_ = (NI)0;
T9_ = decodeVInt_P9b8WkVDF9cqEDrYeG3xWGwQ((*r).s, (&(*r).pos));