integer test_bc109 array Comparison_nextFree149 integer Comparison_firstFree190 integer Comparison_maxIndex185 array Comparison_typeId188 integer test_bc109 = new_BoolComp201() integer Comparison_firstFree190 = 0 integer Comparison_maxIndex185 = 0 function initGlobals321() { } function main403() { initGlobals321(); init_test761(); } function config919() { } function init_test761() { test_bc_109 = new_BoolComp201(); if dispatch_Comparison_test_Comparison_leq207(test_bc_109, booleanToIndex308(false), booleanToIndex308(true)) { testSuccess105(); } else { }; } function booleanToIndex308(boolean b181) returns integer { if b_181 { return 1; } else { }; return 0; } IS_NATIVE function testSuccess105() { } function new_BoolComp201() returns integer { local integer this197 if (Comparison_firstFree_190 == 0) { if (Comparison_maxIndex_185 < 32768) { Comparison_maxIndex_185 = (Comparison_maxIndex_185 + 1); this_197 = Comparison_maxIndex_185; Comparison_typeId_188[this_197] = 2; } else { error141("Out of memory: Could not create BoolComp."); this_197 = 0; }; } else { Comparison_firstFree_190 = (Comparison_firstFree_190 - 1); this_197 = Comparison_nextFree_149[Comparison_firstFree_190]; Comparison_typeId_188[this_197] = 2; }; return this_197; } function error141(string msg743) { $debugPrint166((msg_743 + (" " + #getStackTrace()))); } function dispatch_Comparison_test_Comparison_leq207(integer this130, any t224, any u591) returns boolean { local boolean test_Comparison_leq_result211 if (Comparison_typeId_188[this_130] == 0) { if (this_130 == 0) { error141("Nullpointer exception when calling Comparison.leq"); } else { error141("Called Comparison.leq on invalid object."); }; } else { }; if (Comparison_typeId_188[this_130] <= 1) { test_Comparison_leq_result_211 = true; } else { test_Comparison_leq_result_211 = (u_591 != 0); test_Comparison_leq_result_211 = ((t_224 == 0) or test_Comparison_leq_result_211); }; return test_Comparison_leq_result_211; }