array ToStringClosure_nextFree908 integer ToStringClosure_firstFree139 integer ToStringClosure_maxIndex147 array LinkedList_nextFree145 integer LinkedList_firstFree111 integer LinkedList_maxIndex107 integer ToStringClosure_firstFree139 = 0 integer ToStringClosure_maxIndex147 = 0 integer LinkedList_firstFree111 = 0 integer LinkedList_maxIndex107 = 0 function initGlobals178() { } function main155() { initGlobals178(); init_test184(); } function config140() { } function init_test184() { LinkedList_foo115(new_LinkedList809(), "a"); } function LinkedList_foo115(integer this115, string separator127) returns string { LinkedList_foo_1965(this_115, alloc_ToStringClosure_foo_test142(), separator_127); LinkedList_foo2172(this_115, alloc_ToStringClosure_foo2_test211(), separator_127); return separator_127; } function LinkedList_foo_1965(integer this191, integer cls173, string separator145) { } function LinkedList_foo2172(integer this179, integer cls122, string separator158) { } function LinkedList_init110(integer this511) { } function new_LinkedList809() returns integer { local integer this134 this_134 = alloc_LinkedList179(); construct_LinkedList191(this_134); return this_134; } function construct_LinkedList191(integer this504) { LinkedList_init110(this_504); } function alloc_ToStringClosure_foo_test142() returns integer { local integer this310 if (ToStringClosure_firstFree_139 == 0) { if (ToStringClosure_maxIndex_147 < 32768) { ToStringClosure_maxIndex_147 = (ToStringClosure_maxIndex_147 + 1); this_310 = ToStringClosure_maxIndex_147; } else { error194("Out of memory: Could not create ToStringClosure_foo_test."); this_310 = 0; }; } else { ToStringClosure_firstFree_139 = (ToStringClosure_firstFree_139 - 1); this_310 = ToStringClosure_nextFree_908[ToStringClosure_firstFree_139]; }; return this_310; } function error194(string msg192) { $debugPrint129((msg_192 + (" " + #getStackTrace()))); } function alloc_ToStringClosure_foo2_test211() returns integer { local integer this207 if (ToStringClosure_firstFree_139 == 0) { if (ToStringClosure_maxIndex_147 < 32768) { ToStringClosure_maxIndex_147 = (ToStringClosure_maxIndex_147 + 1); this_207 = ToStringClosure_maxIndex_147; } else { error194("Out of memory: Could not create ToStringClosure_foo2_test."); this_207 = 0; }; } else { ToStringClosure_firstFree_139 = (ToStringClosure_firstFree_139 - 1); this_207 = ToStringClosure_nextFree_908[ToStringClosure_firstFree_139]; }; return this_207; } function alloc_LinkedList179() returns integer { local integer this106 if (LinkedList_firstFree_111 == 0) { if (LinkedList_maxIndex_107 < 32768) { LinkedList_maxIndex_107 = (LinkedList_maxIndex_107 + 1); this_106 = LinkedList_maxIndex_107; } else { error194("Out of memory: Could not create LinkedList."); this_106 = 0; }; } else { LinkedList_firstFree_111 = (LinkedList_firstFree_111 - 1); this_106 = LinkedList_nextFree_145[LinkedList_firstFree_111]; }; return this_106; }