array ToStringClosure_nextFree117 integer ToStringClosure_firstFree675 integer ToStringClosure_maxIndex344 array LinkedList_nextFree186 integer LinkedList_firstFree202 integer LinkedList_maxIndex145 integer ToStringClosure_firstFree675 = 0 integer ToStringClosure_maxIndex344 = 0 integer LinkedList_firstFree202 = 0 integer LinkedList_maxIndex145 = 0 function initGlobals135() { ToStringClosure_firstFree_675 = 0; ToStringClosure_maxIndex_344 = 0; LinkedList_firstFree_202 = 0; LinkedList_maxIndex_145 = 0; } function main135() { initGlobals135(); init_test207(); } function config156() { } function init_test207() { local integer x155 x_155 = new_LinkedList286(); LinkedList_foo107(x_155, "a"); } function LinkedList_foo107(integer this645, string separator131) returns string { local integer clVar202 local integer clVar176 local integer temp468 local integer temp702 temp_468 = this_645; clVar_202 = alloc_ToStringClosure_foo_test434(); LinkedList_foo_1336(temp_468, clVar_202, separator_131); temp_702 = this_645; clVar_176 = alloc_ToStringClosure_foo2_test427(); LinkedList_foo2139(temp_702, clVar_176, separator_131); return separator_131; } function LinkedList_foo_1336(integer this108, integer cls181, string separator171) { } function LinkedList_foo2139(integer this198, integer cls943, string separator158) { } function LinkedList_init210(integer this134) { } function new_LinkedList286() returns integer { local integer this172 this_172 = alloc_LinkedList164(); construct_LinkedList245(this_172); return this_172; } function construct_LinkedList245(integer this130) { LinkedList_init210(this_130); } function alloc_ToStringClosure_foo_test434() returns integer { local integer this449 if (ToStringClosure_firstFree_675 == 0) { if (ToStringClosure_maxIndex_344 < 32768) { ToStringClosure_maxIndex_344 = (ToStringClosure_maxIndex_344 + 1); this_449 = ToStringClosure_maxIndex_344; } else { error174("Out of memory: Could not create ToStringClosure_foo_test."); this_449 = 0; }; } else { ToStringClosure_firstFree_675 = (ToStringClosure_firstFree_675 - 1); this_449 = ToStringClosure_nextFree_117[ToStringClosure_firstFree_675]; }; return this_449; } function error174(string msg928) { $debugPrint132((msg_928 + (" " + #getStackTrace()))); } function alloc_ToStringClosure_foo2_test427() returns integer { local integer this144 if (ToStringClosure_firstFree_675 == 0) { if (ToStringClosure_maxIndex_344 < 32768) { ToStringClosure_maxIndex_344 = (ToStringClosure_maxIndex_344 + 1); this_144 = ToStringClosure_maxIndex_344; } else { error174("Out of memory: Could not create ToStringClosure_foo2_test."); this_144 = 0; }; } else { ToStringClosure_firstFree_675 = (ToStringClosure_firstFree_675 - 1); this_144 = ToStringClosure_nextFree_117[ToStringClosure_firstFree_675]; }; return this_144; } function alloc_LinkedList164() returns integer { local integer this153 if (LinkedList_firstFree_202 == 0) { if (LinkedList_maxIndex_145 < 32768) { LinkedList_maxIndex_145 = (LinkedList_maxIndex_145 + 1); this_153 = LinkedList_maxIndex_145; } else { error174("Out of memory: Could not create LinkedList."); this_153 = 0; }; } else { LinkedList_firstFree_202 = (LinkedList_firstFree_202 - 1); this_153 = LinkedList_nextFree_186[LinkedList_firstFree_202]; }; return this_153; }