1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3
4 #include "nimbase.h"
5 #include <string.h>
6 #undef LANGUAGE_C
7 #undef MIPSEB
8 #undef MIPSEL
9 #undef PPC
10 #undef R3000
11 #undef R4000
12 #undef i386
13 #undef linux
14 #undef mips
15 #undef near
16 #undef far
17 #undef powerpc
18 #undef unix
19 #define nimfr_(x, y)
20 #define nimln_(x, y)
21 typedef struct tyObject_Profiler__X5SfC6PDEhDFna4qLF0vtg tyObject_Profiler__X5SfC6PDEhDFna4qLF0vtg;
22 typedef struct tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw;
23 typedef struct tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ;
24 typedef struct tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q;
25 typedef struct tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w;
26 typedef struct RootObj RootObj;
27 typedef struct TNimType TNimType;
28 typedef struct TNimNode TNimNode;
29 typedef struct tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q;
30 typedef struct tySequence__YdLNCDKYeipzJx3I8Xw82Q tySequence__YdLNCDKYeipzJx3I8Xw82Q;
31 typedef struct tySequence__PJMRIt5QxCm6bRaVyQ5CGA tySequence__PJMRIt5QxCm6bRaVyQ5CGA;
32 typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
33 typedef struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A;
34 typedef struct tyObject_PProccolonObjectType___VFEBuxrDHC6kHPzc1TWaRQ tyObject_PProccolonObjectType___VFEBuxrDHC6kHPzc1TWaRQ;
35 typedef struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ;
36 typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
37 typedef struct tySequence__YWbgnI9b9a4j9aDYnupShIg3A tySequence__YWbgnI9b9a4j9aDYnupShIg3A;
38 typedef struct NimStringDesc NimStringDesc;
39 typedef struct TGenericSeq TGenericSeq;
40 typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
41 typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
42 typedef struct tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ;
43 typedef struct tySequence__Q9atPKk5Xsv6h4rje4WzNLQ tySequence__Q9atPKk5Xsv6h4rje4WzNLQ;
44 typedef struct tyObject_Table__Ea0e9azliYta9cYyn0d49ah0w tyObject_Table__Ea0e9azliYta9cYyn0d49ah0w;
45 typedef struct tySequence__E8pi9b5QNahsURYzXMjh3qw tySequence__E8pi9b5QNahsURYzXMjh3qw;
46 typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
47 typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
48 typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
49 typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
50 typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
51 typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
52 typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
53 typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
54 typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
55 typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
56 typedef struct tyTuple__47w2DboNEPf69aPgubZdd7Q tyTuple__47w2DboNEPf69aPgubZdd7Q;
57 typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
58 typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
59 typedef struct tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig;
60 typedef struct tySequence__jlXqfsdfoRhiIfoVNWV0Vw tySequence__jlXqfsdfoRhiIfoVNWV0Vw;
61 typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g;
62 typedef struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w;
63 typedef struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g;
64 typedef struct tyObject_TType__facALICuu8zUj0hjvbTLFg tyObject_TType__facALICuu8zUj0hjvbTLFg;
65 typedef struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA;
66 typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
67 typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
68 typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
69 typedef struct tySequence__TXIV9cpS1nTKZLiCib9cPT4g tySequence__TXIV9cpS1nTKZLiCib9cPT4g;
70 typedef struct tyTuple__ucLo1ofiZatslecSftPI2A tyTuple__ucLo1ofiZatslecSftPI2A;
71 typedef struct tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw;
72 typedef struct tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag;
73 typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw;
74 typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
75 typedef struct Exception Exception;
76 typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
77 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
78 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
79 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
80 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
81 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
82 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
83 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
84 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
85 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
86 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
87 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
88 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
89 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
90 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
91 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
92 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
93 typedef struct tyTuple__C1iPjdrPjiQaUrcFhIp9aGw tyTuple__C1iPjdrPjiQaUrcFhIp9aGw;
94 typedef struct tyObject_VmArgs__0UUl6e5CNNQfMon2xW2bVA tyObject_VmArgs__0UUl6e5CNNQfMon2xW2bVA;
95 typedef struct tyTuple__4707W0MdkBgzyuDClNdLBQ tyTuple__4707W0MdkBgzyuDClNdLBQ;
96 typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
97 typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
98 typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
99 typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
100 typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
101 typedef struct tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA;
102 typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
103 struct tyObject_Profiler__X5SfC6PDEhDFna4qLF0vtg {
104 NF tEnter;
105 tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ* tos;
106 };
107 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
108 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
109 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
110 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
111 struct TNimType {
112 NI size;
113 NI align;
114 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
115 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
116 TNimType* base;
117 TNimNode* node;
118 void* finalizer;
119 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
120 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
121 };
122 struct RootObj {
123 TNimType* m_type;
124 };
125 struct tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w {
126 RootObj Sup;
127 tyObject_IdGeneratorcolonObjectType___9a3T65u6nPPLrld0SrEa57Q* idgen;
128 };
129 typedef NU8 tyEnum_TEvalMode__UbrbHUpo4hYFr1DbYzJgRQ;
130 typedef NU8 tySet_tyEnum_TSandboxFlag__JyPEhkAmDAldmLHNNrLR0A;
131 struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
132 NU16 line;
133 NI16 col;
134 NI32 fileIndex;
135 };
136 struct TGenericSeq {
137 NI len;
138 NI reserved;
139 };
140 struct NimStringDesc {
141 TGenericSeq Sup;
142 NIM_CHAR data[SEQ_DECL_SIZE];
143 };
144 struct tyObject_Table__Ea0e9azliYta9cYyn0d49ah0w {
145 tySequence__E8pi9b5QNahsURYzXMjh3qw* data;
146 NI counter;
147 };
148 struct tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw {
149 tyObject_TPassContext__Hb6rFM0ecvtlLf2kv9aU75w Sup;
150 tySequence__YdLNCDKYeipzJx3I8Xw82Q* code;
151 tySequence__PJMRIt5QxCm6bRaVyQ5CGA* debug;
152 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* globals;
153 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constants;
154 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* types;
155 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* currentExceptionA;
156 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* currentExceptionB;
157 NI exceptionInstr;
158 tyObject_PProccolonObjectType___VFEBuxrDHC6kHPzc1TWaRQ* prc;
159 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
160 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* callsite;
161 tyEnum_TEvalMode__UbrbHUpo4hYFr1DbYzJgRQ mode;
162 tySet_tyEnum_TSandboxFlag__JyPEhkAmDAldmLHNNrLR0A features;
163 NIM_BOOL traceActive;
164 NI loopIterations;
165 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q comesFromHeuristic;
166 tySequence__YWbgnI9b9a4j9aDYnupShIg3A* callbacks;
167 NimStringDesc* errorFlag;
168 tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
169 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
170 tyObject_ModuleGraphcolonObjectType___RZI3hCs0FTPYx8StfC81qQ* graph;
171 NI oldErrorCount;
172 tyObject_Profiler__X5SfC6PDEhDFna4qLF0vtg profiler;
173 NI* templInstCounter;
174 tySequence__Q9atPKk5Xsv6h4rje4WzNLQ* vmstateDiff;
175 tyObject_Table__Ea0e9azliYta9cYyn0d49ah0w procToCodePos;
176 };
177 typedef NU8 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g;
178 typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
179 typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
180 struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
181 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
182 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
183 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
184 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
185 NI intSize;
186 NI floatSize;
187 NI ptrSize;
188 NimStringDesc* tnl;
189 };
190 typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
191 typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
192 typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
193 struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
194 tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
195 NI counter;
196 };
197 struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
198 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
199 NIM_BOOL trackPosAttached;
200 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
201 tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
202 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
203 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
204 tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
205 NI32 systemFileIdx;
206 };
207 typedef NU8 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ;
208 typedef NU8 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA;
209 typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
210 typedef NU8 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ;
211 typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
212 struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
213 tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
214 NI counter;
215 };
216 typedef NU32 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
217 typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
218 typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
219 typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
220 typedef NU8 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug[11];
221 struct tyTuple__47w2DboNEPf69aPgubZdd7Q {
222 NI Field0;
223 NI Field1;
224 NI Field2;
225 };
226 typedef NU8 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug;
227 typedef struct {
228 N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
229 void* ClE_0;
230 } tyProc__YD0MR9bJ2x4beJkZdnjXN9cA;
231 typedef struct {
232 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
233 void* ClE_0;
234 } tyProc__k2HFjxisIgDALbEUFojxaQ;
235 typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
236 typedef struct {
237 N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
238 void* ClE_0;
239 } tyProc__oL9coyIA2VDTGdUcur9aL9bew;
240 struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
241 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
242 tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
243 NI linesCompiled;
244 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
245 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
246 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
247 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* arcToExpand;
248 tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
249 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ filenameOption;
250 NimStringDesc* unitSep;
251 NI evalTemplateCounter;
252 NI evalMacroCounter;
253 NI8 exitcode;
254 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA cmd;
255 NimStringDesc* cmdInput;
256 NIM_BOOL projectIsCmd;
257 NIM_BOOL implicitCmd;
258 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
259 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ exc;
260 NIM_BOOL hintProcessingDots;
261 NI verbosity;
262 NI numberOfProcessors;
263 NF lastCmdTime;
264 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
265 NI spellSuggestMax;
266 tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
267 NimStringDesc* headerFile;
268 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
269 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
270 NimStringDesc* arguments;
271 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
272 NIM_BOOL oldNewlines;
273 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
274 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug modifiedyNotes;
275 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug cmdlineNotes;
276 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug foreignPackageNotes;
277 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug notes;
278 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug warningAsErrors;
279 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug mainPackageNotes;
280 NI mainPackageId;
281 NI errorCounter;
282 NI hintCounter;
283 NI warnCounter;
284 NI errorMax;
285 NI maxLoopIterationsVM;
286 NIM_BOOL isVmTrace;
287 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
288 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
289 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
290 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* nimblePaths;
291 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
292 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
293 NimStringDesc* outFile;
294 NimStringDesc* outDir;
295 NimStringDesc* jsonBuildFile;
296 NimStringDesc* prefixDir;
297 NimStringDesc* libpath;
298 NimStringDesc* nimcacheDir;
299 tyTuple__47w2DboNEPf69aPgubZdd7Q nimStdlibVersion;
300 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
301 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
302 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* cfileSpecificOptions;
303 NimStringDesc* projectName;
304 NimStringDesc* projectPath;
305 NimStringDesc* projectFull;
306 NIM_BOOL projectIsStdin;
307 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug lastMsgWasDot;
308 NI32 projectMainIdx;
309 NI32 projectMainIdx2;
310 NimStringDesc* command;
311 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
312 NimStringDesc* commandLine;
313 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* extraCmds;
314 NIM_BOOL keepComments;
315 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
316 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
317 NimStringDesc* docSeeSrcUrl;
318 NimStringDesc* docRoot;
319 NimStringDesc* docCmd;
320 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* configFiles;
321 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
322 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
323 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
324 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
325 NimStringDesc* linkOptionsCmd;
326 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
327 NimStringDesc* linkOptions;
328 NimStringDesc* compileOptions;
329 NimStringDesc* cCompilerPath;
330 tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
331 tyProc__YD0MR9bJ2x4beJkZdnjXN9cA suggestionResultHook;
332 NI suggestVersion;
333 NI suggestMaxResults;
334 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
335 tyProc__k2HFjxisIgDALbEUFojxaQ writelnHook;
336 tyProc__oL9coyIA2VDTGdUcur9aL9bew structuredErrorHook;
337 NimStringDesc* cppCustomNamespace;
338 NimStringDesc* nimMainPrefix;
339 tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig* vmProfileData;
340 };
341 struct tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig {
342 tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* data;
343 };
344 struct tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ {
345 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* prc;
346 tySequence__jlXqfsdfoRhiIfoVNWV0Vw* slots;
347 tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ* next;
348 NI comesFrom;
349 tySequence__qwqHTkRvwhrRyENtudHQ7g* safePoints;
350 };
351 struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g {
352 NI32 module;
353 NI32 item;
354 };
355 struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w {
356 RootObj Sup;
357 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g itemId;
358 };
359 typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
360 typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
361 typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
362 typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
363 typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
364 typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
365 struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
366 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
367 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
368 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
369 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
370 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
371 };
372 struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ {
373 tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
374 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
375 union{
376 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* gcUnsafetyReason;
377 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
378 } _kind_1;
379 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* guard;
380 NI bitsize;
381 NI alignment;
382 } _kind_2;
383 };
384 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
385 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
386 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name;
387 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
388 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
389 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
390 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
391 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
392 NI position;
393 NI offset;
394 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
395 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
396 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
397 };
398 struct tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q {
399 tySequence__TXIV9cpS1nTKZLiCib9cPT4g* data;
400 NI counter;
401 };
402 struct tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw {
403 NF time;
404 NI count;
405 };
406 struct tyTuple__ucLo1ofiZatslecSftPI2A {
407 NI Field0;
408 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field1;
409 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw Field2;
410 };
411 struct Exception {
412 RootObj Sup;
413 Exception* parent;
414 NCSTRING name;
415 NimStringDesc* message;
416 tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
417 Exception* up;
418 };
419 struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA {
420 Exception Sup;
421 };
422 struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw {
423 tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
424 };
425 struct tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag {
426 tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw Sup;
427 };
428 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
429 struct TNimNode {
430 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
431 NI offset;
432 TNimType* typ;
433 NCSTRING name;
434 NI len;
435 TNimNode** sons;
436 };
437 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
438 NI refcount;
439 TNimType* typ;
440 };
441 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
442 void* bottom;
443 };
444 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
445 NI len;
446 NI cap;
447 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
448 };
449 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
450 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
451 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
452 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
453 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
454 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
455 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
456 };
457 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
458 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
459 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
460 NI key;
461 NI upperBound;
462 NI level;
463 };
464 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
465 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
466 NI Field1;
467 };
468 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
469 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
470 NI len;
471 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
472 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
473 };
474 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
475 NI minLargeObj;
476 NI maxLargeObj;
477 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
478 NU32 flBitmap;
479 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
480 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
481 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
482 NI currMem;
483 NI maxMem;
484 NI freeMem;
485 NI occ;
486 NI lastSize;
487 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
488 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
489 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
490 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
491 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
492 NIM_BOOL locked;
493 NIM_BOOL blockChunkSizeIncrease;
494 NI nextChunkSize;
495 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
496 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
497 };
498 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
499 NI stackScans;
500 NI cycleCollections;
501 NI maxThreshold;
502 NI maxStackSize;
503 NI maxStackCells;
504 NI cycleTableSize;
505 NI64 maxPause;
506 };
507 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
508 NI counter;
509 NI max;
510 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
511 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
512 };
513 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
514 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
515 NI cycleThreshold;
516 NI zctThreshold;
517 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
518 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
519 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
520 NI recGcLock;
521 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
522 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
523 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
524 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
525 NI gcThreadId;
526 };
527 typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
528 typedef struct {
529 N_NIMCALL_PTR(void, ClP_0) (tyObject_VmArgs__0UUl6e5CNNQfMon2xW2bVA* args, void* ClE_0);
530 void* ClE_0;
531 } tyProc__5QC9cKfPJmKuW0XbCTd8ylA;
532 struct tyTuple__C1iPjdrPjiQaUrcFhIp9aGw {
533 NimStringDesc* Field0;
534 tyProc__5QC9cKfPJmKuW0XbCTd8ylA Field1;
535 };
536 struct tyTuple__4707W0MdkBgzyuDClNdLBQ {
537 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* Field0;
538 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* Field1;
539 };
540 struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
541 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
542 NimStringDesc* Field1;
543 };
544 struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
545 NI Field0;
546 NimStringDesc* Field1;
547 NI32 Field2;
548 };
549 struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
550 NimStringDesc* fullPath;
551 NimStringDesc* projPath;
552 NimStringDesc* shortName;
553 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
554 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
555 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
556 NimStringDesc* dirtyFile;
557 NimStringDesc* hash;
558 NIM_BOOL dirty;
559 };
560 struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
561 NI Field0;
562 NimStringDesc* Field1;
563 };
564 typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
565 struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
566 NimStringDesc* nimname;
567 NimStringDesc* cname;
568 NimStringDesc* obj;
569 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
570 NimStringDesc* customArgs;
571 };
572 typedef NU8 tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ;
573 struct tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA {
574 tyEnum_TRegisterKind__BUH8cfx9botv2xAfmC8mnAQ kind;
575 union{
576 NI64 intVal;
577 NF floatVal;
578 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* node;
579 tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA* regAddr;
580 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** nodeAddr;
581 };
582 };
583 struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {
584 NCSTRING procname;
585 NI line;
586 NCSTRING filename;
587 };
588 struct tyObject_VmArgs__0UUl6e5CNNQfMon2xW2bVA {
589 NI ra;
590 NI rb;
591 NI rc;
592 tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA* slots;
593 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* currentException;
594 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q currentLineInfo;
595 };
596 struct tySequence__YdLNCDKYeipzJx3I8Xw82Q {
597 TGenericSeq Sup;
598 NU64 data[SEQ_DECL_SIZE];
599 };
600 struct tySequence__PJMRIt5QxCm6bRaVyQ5CGA {
601 TGenericSeq Sup;
602 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q data[SEQ_DECL_SIZE];
603 };
604 struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A {
605 TGenericSeq Sup;
606 tyObject_TType__facALICuu8zUj0hjvbTLFg* data[SEQ_DECL_SIZE];
607 };
608 struct tySequence__YWbgnI9b9a4j9aDYnupShIg3A {
609 TGenericSeq Sup;
610 tyTuple__C1iPjdrPjiQaUrcFhIp9aGw data[SEQ_DECL_SIZE];
611 };
612 struct tySequence__Q9atPKk5Xsv6h4rje4WzNLQ {
613 TGenericSeq Sup;
614 tyTuple__4707W0MdkBgzyuDClNdLBQ data[SEQ_DECL_SIZE];
615 };
616 struct tySequence__E8pi9b5QNahsURYzXMjh3qw {
617 TGenericSeq Sup;
618 tyTuple__47w2DboNEPf69aPgubZdd7Q data[SEQ_DECL_SIZE];
619 };
620 struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
621 TGenericSeq Sup;
622 tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
623 };
624 struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
625 TGenericSeq Sup;
626 tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
627 };
628 struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
629 TGenericSeq Sup;
630 tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
631 };
632 struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
633 TGenericSeq Sup;
634 tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
635 };
636 struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
637 TGenericSeq Sup;
638 NimStringDesc* data[SEQ_DECL_SIZE];
639 };
640 struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
641 TGenericSeq Sup;
642 tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
643 };
644 struct tySequence__jlXqfsdfoRhiIfoVNWV0Vw {
645 TGenericSeq Sup;
646 tyObject_TFullReg__GJRDbRqzZnSsmt2gZMzKBA data[SEQ_DECL_SIZE];
647 };
648 struct tySequence__qwqHTkRvwhrRyENtudHQ7g {
649 TGenericSeq Sup;
650 NI data[SEQ_DECL_SIZE];
651 };
652 struct tySequence__TXIV9cpS1nTKZLiCib9cPT4g {
653 TGenericSeq Sup;
654 tyTuple__ucLo1ofiZatslecSftPI2A data[SEQ_DECL_SIZE];
655 };
656 struct tySequence__uB9b75OUPRENsBAu4AnoePA {
657 TGenericSeq Sup;
658 tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
659 };
660 N_LIB_PRIVATE N_NIMCALL(NF, cpuTime__pureZtimes_3605)(void);
661 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__vmprofiler_82)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
662 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__vmprofiler_118)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
663 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__vmprofiler_217)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
664 static N_INLINE(NI, rawGet__options_860)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key, NI* hc);
665 N_LIB_PRIVATE N_NIMCALL(NI, hash__lineinfos_229)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q i);
666 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
667 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___options_1100)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q x, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q y);
668 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash);
669 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___vmprofiler_270)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key, tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw val);
670 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___options_788)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key, tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw val);
671 static N_INLINE(void, nimZeroMem)(void* p, NI size);
672 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
673 static N_INLINE(void, pluseq___pureZstrutils_2112)(NF* x, NF y);
674 N_LIB_PRIVATE N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*, X5BX5D___vmprofiler_428)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
675 N_LIB_PRIVATE N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*, X5BX5D___vmprofiler_540)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
676 N_LIB_PRIVATE N_NOINLINE(void, raiseKeyError__vmprofiler_607)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) __attribute__((noreturn));
677 N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
678 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
679 static N_INLINE(void, nimGCunrefNoCycle)(void* p);
680 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
681 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
682 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
683 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
684 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5265)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
685 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr);
686 static N_INLINE(void, asgnRef)(void** dest, void* src);
687 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
688 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
689 N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
690 N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
691 N_LIB_PRIVATE N_NIMCALL(NI, len__vmprofiler_758)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t);
692 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
693 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
694 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
695 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuAlignString)(NimStringDesc* s, NI count, NIM_CHAR padding);
696 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___systemZdollars_3)(NI x);
697 static N_INLINE(NimStringDesc*, toFileLineCol__msgs_619)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
698 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toMsgFilename__msgs_602)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
699 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
700 static N_INLINE(void, addInt__stdZprivateZdigitsutils_189)(NimStringDesc** result, NI x);
701 N_LIB_PRIVATE N_NIMCALL(void, addInt__stdZprivateZdigitsutils_167)(NimStringDesc** result, NI64 x);
702 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
703 N_LIB_PRIVATE N_NIMCALL(void, del__vmprofiler_1033)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
704 N_LIB_PRIVATE N_NIMCALL(void, del__vmprofiler_1131)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key);
705 static N_INLINE(NIM_BOOL, isEmpty__pureZcollectionsZtables_28)(NI hcode);
706 extern TNimType NTIrefkeyerror__8SzoIAgLw9ci2v0yafHj9b6Q_;
707 extern TNimType NTIkeyerror__t7nhKLvXTQS9cS8ByJU9bIag_;
708 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_2, "key not found", 13);
709 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_4, "\012prof: \302\265s #instr location", 34);
710 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__I0wckmaPYx4om2FQ6YfxMA_3 = {((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_4)}
711 ;
712 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_5, " ", 2);
713 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_6, "(", 1);
714 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_7, ", ", 2);
715 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_8, ")", 1);
716 STRING_LITERAL(TM__I0wckmaPYx4om2FQ6YfxMA_9, "\012", 1);
717 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5218;
N_INLINE(NIM_BOOL,isFilled__pureZcollectionsZtables_31)718 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
719 NIM_BOOL result;
720 result = (NIM_BOOL)0;
721 result = !((hcode == ((NI) 0)));
722 return result;
723 }
N_INLINE(NI,nextTry__pureZcollectionsZtables_34)724 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash) {
725 NI result;
726 result = (NI)0;
727 result = (NI)((NI)(h + ((NI) 1)) & maxHash);
728 return result;
729 }
N_INLINE(NI,rawGet__options_860)730 static N_INLINE(NI, rawGet__options_860)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key, NI* hc) {
731 NI result;
732 NI h;
733 NI T10_;
734 { result = (NI)0;
735 (*hc) = hash__lineinfos_229(key);
736 {
737 if (!((*hc) == ((NI) 0))) goto LA3_;
738 (*hc) = ((NI) 314159265);
739 }
740 LA3_: ;
741 {
742 NI T7_;
743 T7_ = (t.data ? t.data->Sup.len : 0);
744 if (!(T7_ == ((NI) 0))) goto LA8_;
745 result = ((NI) -1);
746 goto BeforeRet_;
747 }
748 LA8_: ;
749 T10_ = ((t.data ? t.data->Sup.len : 0)-1);
750 h = (NI)((*hc) & T10_);
751 {
752 while (1) {
753 NIM_BOOL T13_;
754 NI T20_;
755 T13_ = (NIM_BOOL)0;
756 T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
757 if (!T13_) goto LA12;
758 {
759 NIM_BOOL T16_;
760 T16_ = (NIM_BOOL)0;
761 T16_ = (t.data->data[h].Field0 == (*hc));
762 if (!(T16_)) goto LA17_;
763 T16_ = eqeq___options_1100(t.data->data[h].Field1, key);
764 LA17_: ;
765 if (!T16_) goto LA18_;
766 result = h;
767 goto BeforeRet_;
768 }
769 LA18_: ;
770 T20_ = ((t.data ? t.data->Sup.len : 0)-1);
771 h = nextTry__pureZcollectionsZtables_34(h, T20_);
772 } LA12: ;
773 }
774 result = (NI)(((NI) -1) - h);
775 }BeforeRet_: ;
776 return result;
777 }
N_NIMCALL(NIM_BOOL,hasKey__vmprofiler_217)778 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__vmprofiler_217)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
779 NIM_BOOL result;
780 NI hc;
781 NI T1_;
782 result = (NIM_BOOL)0;
783 hc = (NI)0;
784 T1_ = (NI)0;
785 T1_ = rawGet__options_860(t, key, (&hc));
786 result = (((NI) 0) <= T1_);
787 return result;
788 }
N_NIMCALL(NIM_BOOL,hasKey__vmprofiler_118)789 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__vmprofiler_118)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
790 NIM_BOOL result;
791 result = (NIM_BOOL)0;
792 result = hasKey__vmprofiler_217((*t), key);
793 return result;
794 }
N_NIMCALL(NIM_BOOL,contains__vmprofiler_82)795 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__vmprofiler_82)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
796 NIM_BOOL result;
797 { result = (NIM_BOOL)0;
798 result = hasKey__vmprofiler_118(t, key);
799 goto BeforeRet_;
800 }BeforeRet_: ;
801 return result;
802 }
N_NIMCALL(void,X5BX5Deq___vmprofiler_270)803 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___vmprofiler_270)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key, tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw val) {
804 X5BX5Deq___options_788(t, key, val);
805 }
N_INLINE(void,nimSetMem__systemZmemory_7)806 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
807 void* T1_;
808 T1_ = (void*)0;
809 T1_ = memset(a, v, ((size_t) (size)));
810 }
N_INLINE(void,nimZeroMem)811 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
812 nimSetMem__systemZmemory_7(p, ((int) 0), size);
813 }
N_INLINE(void,pluseq___pureZstrutils_2112)814 static N_INLINE(void, pluseq___pureZstrutils_2112)(NF* x, NF y) {
815 (*x) = ((NF)((*x)) + (NF)(y));
816 }
N_INLINE(NI,minuspercent___system_716)817 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
818 NI result;
819 result = (NI)0;
820 result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
821 return result;
822 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)823 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
824 NIM_BOOL result;
825 result = (NIM_BOOL)0;
826 result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
827 return result;
828 }
N_INLINE(void,rtlAddZCT__system_5314)829 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
830 addZCT__system_5265((&gch__system_5218.zct), c);
831 }
N_INLINE(void,decRef__system_5316)832 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
833 (*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
834 {
835 NIM_BOOL T3_;
836 T3_ = (NIM_BOOL)0;
837 T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
838 if (!T3_) goto LA4_;
839 rtlAddZCT__system_5314(c);
840 }
841 LA4_: ;
842 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5271)843 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr) {
844 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
845 NI T1_;
846 result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
847 T1_ = (NI)0;
848 T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
849 result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
850 return result;
851 }
N_INLINE(void,nimGCunrefNoCycle)852 static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
853 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
854 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
855 T1_ = usrToCell__system_5271(p);
856 decRef__system_5316(T1_);
857 }
N_INLINE(NI,pluspercent___system_696)858 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
859 NI result;
860 result = (NI)0;
861 result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
862 return result;
863 }
N_INLINE(void,incRef__system_5309)864 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
865 (*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
866 }
N_INLINE(void,asgnRef)867 static N_INLINE(void, asgnRef)(void** dest, void* src) {
868 {
869 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
870 if (!!((src == NIM_NIL))) goto LA3_;
871 T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
872 T5_ = usrToCell__system_5271(src);
873 incRef__system_5309(T5_);
874 }
875 LA3_: ;
876 {
877 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
878 if (!!(((*dest) == NIM_NIL))) goto LA8_;
879 T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
880 T10_ = usrToCell__system_5271((*dest));
881 decRef__system_5316(T10_);
882 }
883 LA8_: ;
884 (*dest) = src;
885 }
N_NOINLINE(void,raiseKeyError__vmprofiler_607)886 N_LIB_PRIVATE N_NOINLINE(void, raiseKeyError__vmprofiler_607)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
887 tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag* T1_;
888 NimStringDesc* T2_;
889 T1_ = NIM_NIL;
890 T1_ = (tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag*) newObj((&NTIrefkeyerror__8SzoIAgLw9ci2v0yafHj9b6Q_), sizeof(tyObject_KeyError__t7nhKLvXTQS9cS8ByJU9bIag));
891 (*T1_).Sup.Sup.Sup.Sup.m_type = (&NTIkeyerror__t7nhKLvXTQS9cS8ByJU9bIag_);
892 (*T1_).Sup.Sup.Sup.name = "KeyError";
893 T2_ = NIM_NIL;
894 T2_ = (*T1_).Sup.Sup.Sup.message; (*T1_).Sup.Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_2));
895 if (T2_) nimGCunrefNoCycle(T2_);
896 asgnRef((void**) (&(*T1_).Sup.Sup.Sup.parent), ((Exception*) NIM_NIL));
897 raiseExceptionEx((Exception*)T1_, "KeyError", "raiseKeyError", "tables.nim", 236);
898 }
N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw *,X5BX5D___vmprofiler_540)899 N_LIB_PRIVATE N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*, X5BX5D___vmprofiler_540)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
900 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw* result;
901 NI hcX60gensym22_;
902 NI indexX60gensym22_;
903 result = (tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*)0;
904 hcX60gensym22_ = (NI)0;
905 indexX60gensym22_ = rawGet__options_860((*t), key, (&hcX60gensym22_));
906 {
907 if (!(((NI) 0) <= indexX60gensym22_)) goto LA3_;
908 result = (&(*t).data->data[indexX60gensym22_].Field2);
909 }
910 goto LA1_;
911 LA3_: ;
912 {
913 raiseKeyError__vmprofiler_607(key);
914 }
915 LA1_: ;
916 return result;
917 }
N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw *,X5BX5D___vmprofiler_428)918 N_LIB_PRIVATE N_NIMCALL(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*, X5BX5D___vmprofiler_428)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
919 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw* result;
920 result = (tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*)0;
921 result = X5BX5D___vmprofiler_540(t, key);
922 return result;
923 }
N_NOINLINE(void,leaveImpl__vmprofiler_25)924 N_LIB_PRIVATE N_NOINLINE(void, leaveImpl__vmprofiler_25)(tyObject_Profiler__X5SfC6PDEhDFna4qLF0vtg* prof, tyObject_TCtx__S3Av1Ng7MBWGEZZBhfDYCw* c) {
925 NF tLeave;
926 tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ* tos;
927 tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* data;
928 tLeave = cpuTime__pureZtimes_3605();
929 tos = (*prof).tos;
930 data = (*(*(*c).config).vmProfileData).data;
931 {
932 while (1) {
933 if (!!((tos == ((tyObject_TStackFrame__DYXeymOyKb0OnIuD1ihEpQ*) NIM_NIL)))) goto LA2;
934 {
935 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q li;
936 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw* T13_;
937 if (!!(((*tos).prc == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA5_;
938 li = (*(*tos).prc).info;
939 {
940 NIM_BOOL T9_;
941 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw T12_;
942 T9_ = (NIM_BOOL)0;
943 T9_ = contains__vmprofiler_82(data, li);
944 if (!!(T9_)) goto LA10_;
945 nimZeroMem((void*)(&T12_), sizeof(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw));
946 X5BX5Deq___vmprofiler_270(data, li, T12_);
947 }
948 LA10_: ;
949 T13_ = (tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*)0;
950 T13_ = X5BX5D___vmprofiler_428(data, li);
951 pluseq___pureZstrutils_2112((&(*T13_).time), ((NF)(tLeave) - (NF)((*prof).tEnter)));
952 {
953 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw* T18_;
954 if (!(tos == (*prof).tos)) goto LA16_;
955 T18_ = (tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw*)0;
956 T18_ = X5BX5D___vmprofiler_428(data, li);
957 (*T18_).count += ((NI) 1);
958 }
959 LA16_: ;
960 }
961 LA5_: ;
962 tos = (*tos).next;
963 } LA2: ;
964 }
965 }
N_NIMCALL(NI,len__vmprofiler_758)966 N_LIB_PRIVATE N_NIMCALL(NI, len__vmprofiler_758)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t) {
967 NI result;
968 result = (NI)0;
969 result = (*t).counter;
970 return result;
971 }
N_INLINE(void,nimCopyMem)972 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
973 void* T1_;
974 T1_ = (void*)0;
975 T1_ = memcpy(dest, source, ((size_t) (size)));
976 }
N_INLINE(void,copyMem__system_1727)977 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
978 nimCopyMem(dest, source, size);
979 }
N_INLINE(void,appendString)980 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
981 {
982 if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
983 copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
984 (*dest).Sup.len += (*src).Sup.len;
985 }
986 LA3_: ;
987 }
N_INLINE(void,addInt__stdZprivateZdigitsutils_189)988 static N_INLINE(void, addInt__stdZprivateZdigitsutils_189)(NimStringDesc** result, NI x) {
989 addInt__stdZprivateZdigitsutils_167(result, ((NI64) (x)));
990 }
N_INLINE(NimStringDesc *,toFileLineCol__msgs_619)991 static N_INLINE(NimStringDesc*, toFileLineCol__msgs_619)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
992 NimStringDesc* result;
993 NimStringDesc* T1_;
994 result = NIM_NIL;
995 T1_ = NIM_NIL;
996 T1_ = toMsgFilename__msgs_602(conf, info.fileIndex);
997 result = resizeString(result, (T1_ ? T1_->Sup.len : 0) + 0);
998 appendString(result, T1_);
999 {
1000 if (!(((NI) 0) < ((NI) (info.line)))) goto LA4_;
1001 result = resizeString(result, 1);
1002 appendString(result, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_6));
1003 addInt__stdZprivateZdigitsutils_189((&result), ((NI) (info.line)));
1004 {
1005 if (!(((NI) 0) < (NI)(((NI) (info.col)) + ((NI) 1)))) goto LA8_;
1006 result = resizeString(result, 2);
1007 appendString(result, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_7));
1008 addInt__stdZprivateZdigitsutils_189((&result), (NI)(((NI) (info.col)) + ((NI) 1)));
1009 }
1010 LA8_: ;
1011 result = resizeString(result, 1);
1012 appendString(result, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_8));
1013 }
1014 LA4_: ;
1015 return result;
1016 }
N_INLINE(NIM_BOOL,isEmpty__pureZcollectionsZtables_28)1017 static N_INLINE(NIM_BOOL, isEmpty__pureZcollectionsZtables_28)(NI hcode) {
1018 NIM_BOOL result;
1019 result = (NIM_BOOL)0;
1020 result = (hcode == ((NI) 0));
1021 return result;
1022 }
N_NIMCALL(void,del__vmprofiler_1131)1023 N_LIB_PRIVATE N_NIMCALL(void, del__vmprofiler_1131)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
1024 NI hc;
1025 NI i;
1026 NI mskX60gensym36_;
1027 NI T1_;
1028 hc = (NI)0;
1029 i = rawGet__options_860((*t), key, (&hc));
1030 T1_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
1031 mskX60gensym36_ = T1_;
1032 {
1033 if (!(((NI) 0) <= i)) goto LA4_;
1034 (*t).counter -= ((NI) 1);
1035 {
1036 {
1037 while (1) {
1038 NI jX60gensym36_;
1039 NI rX60gensym36_;
1040 jX60gensym36_ = i;
1041 rX60gensym36_ = jX60gensym36_;
1042 (*t).data->data[i].Field0 = ((NI) 0);
1043 nimZeroMem((void*)(&(*t).data->data[i].Field1), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
1044 nimZeroMem((void*)(&(*t).data->data[i].Field2), sizeof(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw));
1045 {
1046 while (1) {
1047 i = (NI)((NI)(i + ((NI) 1)) & mskX60gensym36_);
1048 {
1049 NIM_BOOL T13_;
1050 T13_ = (NIM_BOOL)0;
1051 T13_ = isEmpty__pureZcollectionsZtables_28((*t).data->data[i].Field0);
1052 if (!T13_) goto LA14_;
1053 goto LA6;
1054 }
1055 LA14_: ;
1056 rX60gensym36_ = (NI)((*t).data->data[i].Field0 & mskX60gensym36_);
1057 {
1058 NIM_BOOL T18_;
1059 NIM_BOOL T19_;
1060 NIM_BOOL T20_;
1061 NIM_BOOL T23_;
1062 NIM_BOOL T26_;
1063 T18_ = (NIM_BOOL)0;
1064 T19_ = (NIM_BOOL)0;
1065 T20_ = (NIM_BOOL)0;
1066 T20_ = (rX60gensym36_ <= i);
1067 if (!(T20_)) goto LA21_;
1068 T20_ = (jX60gensym36_ < rX60gensym36_);
1069 LA21_: ;
1070 T19_ = T20_;
1071 if (T19_) goto LA22_;
1072 T23_ = (NIM_BOOL)0;
1073 T23_ = (jX60gensym36_ < rX60gensym36_);
1074 if (!(T23_)) goto LA24_;
1075 T23_ = (i < jX60gensym36_);
1076 LA24_: ;
1077 T19_ = T23_;
1078 LA22_: ;
1079 T18_ = T19_;
1080 if (T18_) goto LA25_;
1081 T26_ = (NIM_BOOL)0;
1082 T26_ = (i < jX60gensym36_);
1083 if (!(T26_)) goto LA27_;
1084 T26_ = (rX60gensym36_ <= i);
1085 LA27_: ;
1086 T18_ = T26_;
1087 LA25_: ;
1088 if (!!(T18_)) goto LA28_;
1089 goto LA9;
1090 }
1091 LA28_: ;
1092 }
1093 } LA9: ;
1094 (*t).data->data[jX60gensym36_] = (*t).data->data[i];
1095 nimZeroMem((void*)(&(*t).data->data[i]), sizeof(tyTuple__ucLo1ofiZatslecSftPI2A));
1096 }
1097 }
1098 } LA6: ;
1099 }
1100 LA4_: ;
1101 }
N_NIMCALL(void,del__vmprofiler_1033)1102 N_LIB_PRIVATE N_NIMCALL(void, del__vmprofiler_1033)(tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* t, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q key) {
1103 del__vmprofiler_1131(t, key);
1104 }
N_NIMCALL(NimStringDesc *,dump__vmprofiler_697)1105 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dump__vmprofiler_697)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig* pd) {
1106 NimStringDesc* result;
1107 tyObject_Table__l6AB9cIrSdEYtCGu5YO9b61Q* data;
1108 result = NIM_NIL;
1109 data = (*pd).data;
1110 echoBinSafe(TM__I0wckmaPYx4om2FQ6YfxMA_3, 1);
1111 {
1112 NI i;
1113 NI i_2;
1114 i = (NI)0;
1115 i_2 = ((NI) 0);
1116 {
1117 while (1) {
1118 NF tMax;
1119 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw infoMax;
1120 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q flMax;
1121 NimStringDesc* T22_;
1122 NimStringDesc* T23_;
1123 NimStringDesc* T24_;
1124 NimStringDesc* T25_;
1125 NimStringDesc* T26_;
1126 NimStringDesc* T27_;
1127 if (!(i_2 < ((NI) 32))) goto LA3;
1128 i = i_2;
1129 tMax = (NF)0;
1130 nimZeroMem((void*)(&infoMax), sizeof(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw));
1131 nimZeroMem((void*)(&flMax), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
1132 {
1133 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q fl;
1134 tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw info;
1135 NI L;
1136 nimZeroMem((void*)(&fl), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
1137 nimZeroMem((void*)(&info), sizeof(tyObject_ProfileInfo__le1imru0p6WwvUctTtOlIw));
1138 L = len__vmprofiler_758(data);
1139 {
1140 NI h;
1141 NI colontmp_;
1142 NI T6_;
1143 NI res;
1144 h = (NI)0;
1145 colontmp_ = (NI)0;
1146 T6_ = (((*data).data ? (*data).data->Sup.len : 0)-1);
1147 colontmp_ = T6_;
1148 res = ((NI) 0);
1149 {
1150 while (1) {
1151 if (!(res <= colontmp_)) goto LA8;
1152 h = res;
1153 {
1154 NIM_BOOL T11_;
1155 T11_ = (NIM_BOOL)0;
1156 T11_ = isFilled__pureZcollectionsZtables_31((*data).data->data[h].Field0);
1157 if (!T11_) goto LA12_;
1158 fl = (*data).data->data[h].Field1;
1159 info = (*data).data->data[h].Field2;
1160 {
1161 if (!(infoMax.time < info.time)) goto LA16_;
1162 infoMax = info;
1163 flMax = fl;
1164 }
1165 LA16_: ;
1166 }
1167 LA12_: ;
1168 res += ((NI) 1);
1169 } LA8: ;
1170 }
1171 }
1172 }
1173 {
1174 if (!(infoMax.count == ((NI) 0))) goto LA20_;
1175 goto LA1;
1176 }
1177 LA20_: ;
1178 T22_ = NIM_NIL;
1179 T23_ = NIM_NIL;
1180 T23_ = dollar___systemZdollars_3(((NI) (((NF)(infoMax.time) * (NF)(1000000.0)))));
1181 T24_ = NIM_NIL;
1182 T24_ = nsuAlignString(T23_, ((NI) 10), 32);
1183 T25_ = NIM_NIL;
1184 T25_ = dollar___systemZdollars_3(infoMax.count);
1185 T26_ = NIM_NIL;
1186 T26_ = nsuAlignString(T25_, ((NI) 10), 32);
1187 T27_ = NIM_NIL;
1188 T27_ = toFileLineCol__msgs_619(conf, flMax);
1189 T22_ = rawNewString((T24_ ? T24_->Sup.len : 0) + (T26_ ? T26_->Sup.len : 0) + (T27_ ? T27_->Sup.len : 0) + 5);
1190 appendString(T22_, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_5));
1191 appendString(T22_, T24_);
1192 appendString(T22_, T26_);
1193 appendString(T22_, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_5));
1194 appendString(T22_, T27_);
1195 appendString(T22_, ((NimStringDesc*) &TM__I0wckmaPYx4om2FQ6YfxMA_9));
1196 result = resizeString(result, (T22_ ? T22_->Sup.len : 0) + 0);
1197 appendString(result, T22_);
1198 del__vmprofiler_1033(data, flMax);
1199 i_2 += ((NI) 1);
1200 } LA3: ;
1201 }
1202 } LA1: ;
1203 return result;
1204 }
1205