Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: (null) number of ops: 1 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 107 0 E > > RETURN 1 Class Node: Function __construct: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: __construct number of ops: 10 compiled vars: !0 = $key, !1 = $value, !2 = $color line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 10 0 E > RECV !0 1 RECV !1 2 RECV !2 12 3 ASSIGN_OBJ 'key' 4 OP_DATA !0 13 5 ASSIGN_OBJ 'value' 6 OP_DATA !1 14 7 ASSIGN_OBJ 'color' 8 OP_DATA !2 15 9 > RETURN null End of function __construct Function compare: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6 Branch analysis from position: 4 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 6 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11 Branch analysis from position: 9 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 11 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: compare number of ops: 13 compiled vars: !0 = $key line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 17 0 E > RECV !0 19 1 FETCH_OBJ_R ~1 'key' 2 IS_SMALLER ~1, !0 3 > JMPZ ~2, ->6 4 > > RETURN -1 5* JMP ->12 20 6 > FETCH_OBJ_R ~3 'key' 7 IS_SMALLER !0, ~3 8 > JMPZ ~4, ->11 9 > > RETURN 1 10* JMP ->12 21 11 > > RETURN 0 22 12* > RETURN null End of function compare End of class Node. Class RBTree: Function isempty: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: isEmpty number of ops: 4 compiled vars: none line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 34 0 E > FETCH_OBJ_R ~0 'root' 1 IS_EQUAL ~1 ~0, null 2 > RETURN ~1 35 3* > RETURN null End of function isempty Function put: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: put number of ops: 16 compiled vars: !0 = $key, !1 = $value line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 37 0 E > RECV !0 1 RECV !1 39 2 INIT_METHOD_CALL 'insert' 3 CHECK_FUNC_ARG 4 FETCH_OBJ_FUNC_ARG $3 'root' 5 SEND_FUNC_ARG $3 6 CAST 4 ~4 !0 7 SEND_VAL_EX ~4 8 SEND_VAR_EX !1 9 DO_FCALL 0 $5 10 ASSIGN_OBJ 'root' 11 OP_DATA $5 40 12 FETCH_OBJ_W $6 'root' 13 ASSIGN_OBJ $6, 'color' 14 OP_DATA <false> 41 15 > RETURN null End of function put Function get: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13 Branch analysis from position: 10 1 jumps found. (Code = 42) Position 1 = 14 Branch analysis from position: 14 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 13 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: get number of ops: 16 compiled vars: !0 = $key, !1 = $x line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 43 0 E > RECV !0 45 1 INIT_METHOD_CALL 'search' 2 CHECK_FUNC_ARG 3 FETCH_OBJ_FUNC_ARG $2 'root' 4 SEND_FUNC_ARG $2 5 CAST 4 ~3 !0 6 SEND_VAL_EX ~3 7 DO_FCALL 0 $4 8 ASSIGN !1, $4 46 9 > JMPZ !1, ->13 10 > FETCH_OBJ_R ~6 !1, 'value' 11 QM_ASSIGN ~7 ~6 12 > JMP ->14 13 > QM_ASSIGN ~7 null 14 > > RETURN ~7 47 15* > RETURN null End of function get Function isred: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 5 Branch analysis from position: 2 1 jumps found. (Code = 42) Position 1 = 6 Branch analysis from position: 6 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 5 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: isRed number of ops: 8 compiled vars: !0 = $h line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 49 0 E > RECV !0 51 1 > JMPZ !0, ->5 2 > FETCH_OBJ_R ~1 !0, 'color' 3 QM_ASSIGN ~2 ~1 4 > JMP ->6 5 > QM_ASSIGN ~2 <false> 6 > > RETURN ~2 52 7* > RETURN null End of function isred Function insert: Finding entry points Branch analysis from position: 0 2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 11 Branch analysis from position: 5 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 11 2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 27 Branch analysis from position: 17 1 jumps found. (Code = 42) Position 1 = 41 Branch analysis from position: 41 2 jumps found. (Code = 46) Position 1 = 46, Position 2 = 52 Branch analysis from position: 46 2 jumps found. (Code = 43) Position 1 = 53, Position 2 = 57 Branch analysis from position: 53 2 jumps found. (Code = 46) Position 1 = 62, Position 2 = 68 Branch analysis from position: 62 2 jumps found. (Code = 43) Position 1 = 69, Position 2 = 73 Branch analysis from position: 69 2 jumps found. (Code = 46) Position 1 = 78, Position 2 = 83 Branch analysis from position: 78 2 jumps found. (Code = 43) Position 1 = 84, Position 2 = 87 Branch analysis from position: 84 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 87 Branch analysis from position: 83 Branch analysis from position: 73 Branch analysis from position: 68 Branch analysis from position: 57 Branch analysis from position: 52 Branch analysis from position: 27 2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 39 Branch analysis from position: 29 1 jumps found. (Code = 42) Position 1 = 41 Branch analysis from position: 41 Branch analysis from position: 39 2 jumps found. (Code = 46) Position 1 = 46, Position 2 = 52 Branch analysis from position: 46 Branch analysis from position: 52 filename: /in/pmKqN function name: insert number of ops: 89 compiled vars: !0 = $x, !1 = $key, !2 = $value, !3 = $cmp line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 54 0 E > RECV !0 1 RECV !1 2 RECV !2 56 3 BOOL_NOT ~4 !0 4 > JMPZ ~4, ->11 5 > NEW $5 'Node' 6 SEND_VAR_EX !1 7 SEND_VAR_EX !2 8 SEND_VAL_EX <true> 9 DO_FCALL 0 10 > RETURN $5 58 11 > INIT_METHOD_CALL !0, 'compare' 12 SEND_VAR_EX !1 13 DO_FCALL 0 $7 14 ASSIGN !3, $7 59 15 IS_SMALLER 0, !3 16 > JMPZ ~9, ->27 17 > INIT_FCALL_BY_NAME 'insert' 18 CHECK_FUNC_ARG 19 FETCH_OBJ_FUNC_ARG $11 !0, 'right' 20 SEND_FUNC_ARG $11 21 SEND_VAR_EX !1 22 SEND_VAR_EX !2 23 DO_FCALL 0 $12 24 ASSIGN_OBJ !0, 'right' 25 OP_DATA $12 26 > JMP ->41 60 27 > IS_SMALLER !3, 0 28 > JMPZ ~13, ->39 29 > INIT_FCALL_BY_NAME 'insert' 30 CHECK_FUNC_ARG 31 FETCH_OBJ_FUNC_ARG $15 !0, 'left' 32 SEND_FUNC_ARG $15 33 SEND_VAR_EX !1 34 SEND_VAR_EX !2 35 DO_FCALL 0 $16 36 ASSIGN_OBJ !0, 'left' 37 OP_DATA $16 38 > JMP ->41 61 39 > ASSIGN_OBJ !0, 'value' 40 OP_DATA !2 63 41 > INIT_METHOD_CALL 'isRed' 42 FETCH_OBJ_R ~18 !0, 'right' 43 SEND_VAL ~18 44 DO_FCALL 0 $19 45 > JMPZ_EX ~20 $19, ->52 46 > INIT_METHOD_CALL 'isRed' 47 FETCH_OBJ_R ~21 !0, 'left' 48 SEND_VAL ~21 49 DO_FCALL 0 $22 50 BOOL_NOT ~23 $22 51 BOOL ~20 ~23 52 > > JMPZ ~20, ->57 53 > INIT_METHOD_CALL 'rotateLeft' 54 SEND_VAR_EX !0 55 DO_FCALL 0 $24 56 ASSIGN !0, $24 64 57 > INIT_METHOD_CALL 'isRed' 58 FETCH_OBJ_R ~26 !0, 'left' 59 SEND_VAL ~26 60 DO_FCALL 0 $27 61 > JMPZ_EX ~28 $27, ->68 62 > INIT_METHOD_CALL 'isRed' 63 FETCH_OBJ_R ~29 !0, 'left' 64 FETCH_OBJ_R ~30 ~29, 'left' 65 SEND_VAL ~30 66 DO_FCALL 0 $31 67 BOOL ~28 $31 68 > > JMPZ ~28, ->73 69 > INIT_METHOD_CALL 'rotateRight' 70 SEND_VAR_EX !0 71 DO_FCALL 0 $32 72 ASSIGN !0, $32 65 73 > INIT_METHOD_CALL 'isRed' 74 FETCH_OBJ_R ~34 !0, 'left' 75 SEND_VAL ~34 76 DO_FCALL 0 $35 77 > JMPZ_EX ~36 $35, ->83 78 > INIT_METHOD_CALL 'isRed' 79 FETCH_OBJ_R ~37 !0, 'right' 80 SEND_VAL ~37 81 DO_FCALL 0 $38 82 BOOL ~36 $38 83 > > JMPZ ~36, ->87 84 > INIT_METHOD_CALL 'flipColors' 85 SEND_VAR_EX !0 86 DO_FCALL 0 67 87 > > RETURN !0 68 88* > RETURN null End of function insert Function search: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 3 Branch analysis from position: 19 1 jumps found. (Code = 62) Position 1 = -2 Branch analysis from position: 3 2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12 Branch analysis from position: 9 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 Branch analysis from position: 12 2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 17 Branch analysis from position: 14 1 jumps found. (Code = 42) Position 1 = 18 Branch analysis from position: 18 Branch analysis from position: 17 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: search number of ops: 21 compiled vars: !0 = $x, !1 = $key, !2 = $cmp line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 70 0 E > RECV !0 1 RECV !1 72 2 > JMP ->18 73 3 > INIT_METHOD_CALL !0, 'compare' 4 SEND_VAR_EX !1 5 DO_FCALL 0 $3 6 ASSIGN !2, $3 74 7 IS_SMALLER 0, !2 8 > JMPZ ~5, ->12 9 > FETCH_OBJ_R ~6 !0, 'right' 10 ASSIGN !0, ~6 11 > JMP ->18 75 12 > IS_SMALLER !2, 0 13 > JMPZ ~8, ->17 14 > FETCH_OBJ_R ~9 !0, 'left' 15 ASSIGN !0, ~9 16 > JMP ->18 76 17 > > RETURN !0 72 18 > > JMPNZ !0, ->3 78 19 > > RETURN null 79 20* > RETURN null End of function search Function flipcolors: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: flipColors number of ops: 18 compiled vars: !0 = $h line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 81 0 E > RECV !0 83 1 BOOL_NOT ~2 !0 2 FETCH_CONSTANT ~3 'color' 3 CONCAT ~4 ~2, ~3 4 ASSIGN_OBJ !0, 'color' 5 OP_DATA ~4 84 6 FETCH_OBJ_R ~7 !0, 'left' 7 FETCH_OBJ_R ~8 ~7, 'color' 8 BOOL_NOT ~9 ~8 9 FETCH_OBJ_W $5 !0, 'left' 10 ASSIGN_OBJ $5, 'color' 11 OP_DATA ~9 85 12 FETCH_OBJ_R ~12 !0, 'right' 13 FETCH_OBJ_R ~13 ~12, 'color' 14 FETCH_OBJ_W $10 !0, 'right' 15 ASSIGN_OBJ $10, 'color' 16 OP_DATA ~13 86 17 > RETURN null End of function flipcolors Function rotateleft: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: rotateLeft number of ops: 17 compiled vars: !0 = $h, !1 = $x line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 88 0 E > RECV !0 90 1 FETCH_OBJ_R ~2 !0, 'right' 2 ASSIGN !1, ~2 91 3 FETCH_OBJ_R ~5 !1, 'left' 4 ASSIGN_OBJ !0, 'right' 5 OP_DATA ~5 92 6 ASSIGN_OBJ !1, 'left' 7 OP_DATA !0 93 8 FETCH_OBJ_R ~8 !1, 'left' 9 FETCH_OBJ_R ~9 ~8, 'color' 10 ASSIGN_OBJ !1, 'color' 11 OP_DATA ~9 94 12 FETCH_OBJ_W $10 !1, 'left' 13 ASSIGN_OBJ $10, 'color' 14 OP_DATA <true> 95 15 > RETURN !1 96 16* > RETURN null End of function rotateleft Function rotateright: Finding entry points Branch analysis from position: 0 1 jumps found. (Code = 62) Position 1 = -2 filename: /in/pmKqN function name: rotateRight number of ops: 17 compiled vars: !0 = $h, !1 = $x line #* E I O op fetch ext return operands ------------------------------------------------------------------------------------- 98 0 E > RECV !0 100 1 FETCH_OBJ_R ~2 !0, 'left' 2 ASSIGN !1, ~2 101 3 FETCH_OBJ_R ~5 !1, 'right' 4 ASSIGN_OBJ !0, 'left' 5 OP_DATA ~5 102 6 ASSIGN_OBJ !1, 'right' 7 OP_DATA !0 103 8 FETCH_OBJ_R ~8 !1, 'right' 9 FETCH_OBJ_R ~9 ~8, 'color' 10 ASSIGN_OBJ !1, 'color' 11 OP_DATA ~9 104 12 FETCH_OBJ_W $10 !1, 'right' 13 ASSIGN_OBJ $10, 'color' 14 OP_DATA <true> 105 15 > RETURN !1 106 16* > RETURN null End of function rotateright End of class RBTree.
Generated using Vulcan Logic Dumper, using php 8.0.0