line |
true |
false |
branch |
44
|
45042 |
3041 |
for (int32_t basic_type_id = compiler->basic_types_base_id; basic_type_id < compiler->basic_types->length; basic_type_id++) { |
47
|
284473 |
45042 |
for (int32_t method_index = 0; method_index < methods->length; method_index++) { |
55
|
0 |
284473 |
assert(method->op_name); |
56
|
0 |
284473 |
assert(method->return_type); |
57
|
0 |
284473 |
assert(method->current_basic_type->class_file); |
61
|
486727 |
284473 |
for (int32_t args_index = 0; args_index < method->args_length; args_index++) { |
73
|
402509 |
84218 |
if (arg_type_dimension == 0) { |
74
|
2826 |
399683 |
if (arg_type_is_ref) { |
75
|
2826 |
0 |
switch (arg_basic_type_category) { |
95
|
31 |
1164 |
if (arg->op_optional_arg_default) { |
109
|
30 |
134 |
if (arg->op_optional_arg_default) { |
123
|
54451 |
123044 |
if (arg->op_optional_arg_default) { |
137
|
32 |
9371 |
if (arg->op_optional_arg_default) { |
151
|
26 |
5866 |
if (arg->op_optional_arg_default) { |
165
|
26 |
6896 |
if (arg->op_optional_arg_default) { |
217
|
0 |
140 |
assert(args_width < 0xFFFF); |
227
|
1942 |
196530 |
if (arg->op_optional_arg_default) { |
244
|
84188 |
30 |
else if (arg_type_dimension == 1) { |
245
|
84188 |
0 |
switch (arg_basic_type_category) { |
253
|
2155 |
82033 |
if (arg->op_optional_arg_default) { |
269
|
30 |
0 |
else if (arg_type_dimension == 2) { |
270
|
2 |
28 |
if (arg->op_optional_arg_default) { |
293
|
64471 |
220002 |
if (method->is_native) { |
336
|
21820761 |
5685 |
while (op_cur) { |
344
|
67619 |
1451782 |
if (block->id == SPVM_BLOCK_C_ID_LOOP_INIT) { |
349
|
67619 |
1384163 |
else if (block->id == SPVM_BLOCK_C_ID_LOOP_STATEMENTS) { |
365
|
1618 |
1382545 |
else if (block->id == SPVM_BLOCK_C_ID_SWITCH) { |
370
|
2152 |
1380393 |
else if (block->id == SPVM_BLOCK_C_ID_EVAL) { |
399
|
9405 |
0 |
if (switch_stack_switch_info->length > 0) { |
407
|
1618 |
0 |
if (switch_stack_switch_info->length > 0) { |
417
|
12228986 |
9591775 |
if (op_cur->first) { |
427
|
430048 |
1089353 |
if (block->id == SPVM_BLOCK_C_ID_IF) { |
445
|
430048 |
659305 |
else if (block->id == SPVM_BLOCK_C_ID_ELSE) { |
447
|
0 |
430048 |
assert(if_block_stack_goto_end_opcode_index->length > 0); |
455
|
67619 |
591686 |
else if (block->id == SPVM_BLOCK_C_ID_LOOP_INIT) { |
461
|
11849 |
67619 |
for (int32_t i = 0; i < unresolved_last_opcode_index_stack_pop_count; i++) { |
469
|
67619 |
524067 |
else if (block->id == SPVM_BLOCK_C_ID_LOOP_STATEMENTS) { |
475
|
21 |
67619 |
for (int32_t i = 0; i < unresolved_next_opcode_index_stack_pop_count; i++) { |
483
|
1618 |
522449 |
else if (block->id == SPVM_BLOCK_C_ID_SWITCH) { |
489
|
7871 |
1618 |
for (int32_t i = 0; i < unresolved_break_opcode_index_stack_pop_count; i++) { |
497
|
2152 |
520297 |
else if (block->id == SPVM_BLOCK_C_ID_EVAL) { |
499
|
2844 |
2152 |
while (unresolved_goto_end_of_eval_on_exception_opcode_index_stack->length > 0) { |
509
|
214317 |
305980 |
else if (block->id == SPVM_BLOCK_C_ID_METHOD) { |
510
|
399619 |
214317 |
while (unresolved_return_opcode_index_stack->length > 0) { |
519
|
896615 |
214317 |
while (unresolved_goto_end_of_method_on_exception_opcode_index_stack->length > 0) { |
531
|
603642 |
915759 |
if (block->need_leave_scope) { |
541
|
752315 |
1519401 |
while (mortal_stack->length > runtime_var_indexs_top) { |
568
|
275560 |
222107 |
if (op_cur->id == SPVM_OP_C_ID_CONDITION) { |
575
|
430048 |
67619 |
if (op_cur->flag & SPVM_OP_C_FLAG_CONDITION_IF) { |
578
|
67619 |
0 |
else if (op_cur->flag & SPVM_OP_C_FLAG_CONDITION_LOOP) { |
579
|
0 |
67619 |
assert(loop_block_stack_goto_opcode_index->length > 0); |
629
|
9405 |
1618 |
for (int32_t i = 0; i < switch_info->case_infos->length; i++) { |
639
|
0 |
1618 |
assert(switch_stack_switch_info->length > 0); |
656
|
9405 |
1618 |
for (int32_t i = 0; i < switch_info->case_infos->length; i++) { |
672
|
1618 |
0 |
if (default_opcode_index == 0) { |
693
|
305659 |
93960 |
if (op_cur->first) { |
696
|
2087 |
303572 |
if (SPVM_TYPE_is_undef_type(compiler, return_type->basic_type->id, return_type->dimension, return_type->flag)) { |
710
|
192590 |
110982 |
if (SPVM_TYPE_is_numeric_type(compiler, method->return_type->basic_type->id, method->return_type->dimension, method->return_type->flag)) { |
746
|
110804 |
178 |
else if (SPVM_TYPE_is_object_type(compiler, method->return_type->basic_type->id, method->return_type->dimension, method->return_type->flag)) { |
750
|
178 |
0 |
else if (SPVM_TYPE_is_mulnum_type(compiler, method->return_type->basic_type->id, method->return_type->dimension, method->return_type->flag)) { |
752
|
0 |
178 |
assert(first_field); |
755
|
0 |
178 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
836
|
2646353 |
3538341 |
if (op_cur->uv.var->is_declaration) { |
841
|
752315 |
1894038 |
if (SPVM_TYPE_is_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
857
|
723504 |
1922849 |
if (!op_cur->uv.var->is_initialized && !op_cur->uv.var->var_decl->is_arg) { |
|
353569 |
369935 |
if (!op_cur->uv.var->is_initialized && !op_cur->uv.var->var_decl->is_arg) { |
859
|
350 |
353219 |
if (SPVM_TYPE_is_mulnum_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
861
|
0 |
350 |
assert(first_field); |
864
|
0 |
350 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
914
|
55998 |
297221 |
else if (SPVM_TYPE_is_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
926
|
297211 |
10 |
else if (SPVM_TYPE_is_numeric_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
987
|
1852 |
3477035 |
if (op_assign_src->id == SPVM_OP_C_ID_SEQUENCE) { |
992
|
3213824 |
265063 |
if (op_assign_dist->id == SPVM_OP_C_ID_VAR) { |
999
|
0 |
35888 |
assert(SPVM_TYPE_is_string_or_byte_array_type(compiler, first_type->basic_type->id, first_type->dimension, first_type->flag)); |
1117
|
605236 |
215963 |
for (int32_t arg_index = 0; arg_index < method_call_method->args_length; arg_index++) { |
1126
|
26036 |
579200 |
if (!op_term_arg) { |
1136
|
2967 |
576233 |
if (SPVM_TYPE_is_undef_type(compiler, term_arg_type->basic_type->id, term_arg_type->dimension, term_arg_type->flag)) { |
1141
|
5856 |
570377 |
if (SPVM_TYPE_is_ref_type(compiler, arg_type->basic_type->id, arg_type->dimension, arg_type->flag)) { |
1151
|
92 |
570285 |
else if (SPVM_TYPE_is_mulnum_type(compiler, arg_type->basic_type->id, arg_type->dimension, arg_type->flag)) { |
1154
|
0 |
92 |
assert(first_field); |
1157
|
0 |
92 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
1202
|
317072 |
253213 |
else if (SPVM_TYPE_is_object_type(compiler, arg_type->basic_type->id, arg_type->dimension, arg_type->flag)) { |
1208
|
182350 |
134722 |
if (arg_index == 0) { |
1214
|
253213 |
0 |
else if (SPVM_TYPE_is_numeric_type(compiler, arg_type->basic_type->id, arg_type->dimension, arg_type->flag)) { |
1253
|
17496 |
235717 |
if (arg_index == 0) { |
1272
|
156636 |
85363 |
if (call_method->is_class_method) { |
1276
|
112 |
85251 |
if (call_method->is_class_method_instance_method_call) { |
1294
|
52256 |
189743 |
if (SPVM_TYPE_is_numeric_type(compiler, call_method_return_type->basic_type->id, call_method_return_type->dimension, call_method_return_type->flag)) { |
1325
|
66938 |
122805 |
else if (SPVM_TYPE_is_void_type(compiler, call_method_return_type->basic_type->id, call_method_return_type->dimension, call_method_return_type->flag)) { |
1328
|
66911 |
27 |
else if (SPVM_TYPE_is_object_type(compiler, call_method_return_type->basic_type->id, call_method_return_type->dimension, call_method_return_type->flag)) { |
1332
|
27 |
0 |
else if (SPVM_TYPE_is_mulnum_type(compiler, call_method_return_type->basic_type->id, call_method_return_type->dimension, call_method_return_type->flag)) { |
1335
|
0 |
27 |
assert(first_field); |
1338
|
0 |
27 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
1341
|
0 |
27 |
assert(call_method_return_width < 0xFFFF); |
1383
|
119194 |
122805 |
if (!SPVM_TYPE_is_void_type(compiler, call_method_return_type->basic_type->id, call_method_return_type->dimension, call_method_return_type->flag)) { |
1491
|
0 |
1315 |
assert(operand3 < 0xFFFF); |
1502
|
43 |
116737 |
if (op_assign_src->flag & SPVM_OP_C_FLAG_FIELD_ACCESS_WEAKEN) { |
1520
|
2 |
116735 |
else if (op_assign_src->flag & SPVM_OP_C_FLAG_FIELD_ACCESS_UNWEAKEN) { |
1538
|
6 |
116729 |
else if (op_assign_src->flag & SPVM_OP_C_FLAG_FIELD_ACCESS_ISWEAK) { |
1569
|
134 |
116595 |
if (SPVM_TYPE_is_mulnum_ref_type(compiler, invocant_type->basic_type->id, invocant_type->dimension, invocant_type->flag)) { |
1621
|
1067 |
115528 |
else if (SPVM_TYPE_is_mulnum_type(compiler, invocant_type->basic_type->id, invocant_type->dimension, invocant_type->flag)) { |
1683
|
61444 |
54084 |
if (SPVM_TYPE_is_object_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)) { |
1748
|
13 |
103591 |
if (SPVM_TYPE_is_mulnum_array_type(compiler, array_type->basic_type->id, array_type->dimension, array_type->flag)) { |
1755
|
0 |
13 |
assert(SPVM_TYPE_is_numeric_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)); |
1800
|
0 |
13 |
assert(operand3 < 0xFFFF); |
1813
|
43637 |
59954 |
if (SPVM_TYPE_is_object_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)) { |
1877
|
5760 |
1631 |
if (SPVM_TYPE_is_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
1929
|
16 |
1871 |
if (SPVM_TYPE_is_mulnum_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
1937
|
0 |
16 |
assert(SPVM_TYPE_is_numeric_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)); |
1939
|
4 |
12 |
if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
1943
|
2 |
10 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
1947
|
2 |
8 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
1951
|
2 |
6 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
1955
|
2 |
4 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
1959
|
4 |
0 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
1973
|
0 |
16 |
assert(operand3 < 0xFFFF); |
1978
|
1871 |
0 |
else if (SPVM_TYPE_is_numeric_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2040
|
54 |
4916 |
if (SPVM_TYPE_is_mulnum_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2043
|
0 |
54 |
assert(first_field); |
2046
|
0 |
54 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
2077
|
4916 |
0 |
else if (SPVM_TYPE_is_numeric_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2136
|
0 |
184120 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2171
|
0 |
69336 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2205
|
0 |
7473 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2239
|
0 |
5318 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2268
|
4202 |
1116 |
switch (type_dist->basic_type->id) { |
2323
|
0 |
2140 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2351
|
0 |
2140 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2352
|
2140 |
0 |
switch (type_dist->basic_type->id) { |
2406
|
0 |
51 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2437
|
0 |
35 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2468
|
0 |
35 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2499
|
0 |
1094 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2533
|
0 |
44 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2566
|
0 |
44 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2599
|
0 |
37 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2628
|
0 |
38 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2684
|
0 |
1068 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
2721
|
727920 |
192275 |
if (SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
2760
|
192275 |
0 |
else if (SPVM_TYPE_is_string_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
2772
|
0 |
192275 |
assert(global_constant_string); |
2777
|
0 |
192275 |
assert(constant_string); |
2779
|
0 |
192275 |
assert(constant_string->index >= 0); |
2800
|
2208 |
147373 |
if (SPVM_TYPE_is_undef_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2802
|
2208 |
0 |
if (SPVM_TYPE_is_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2825
|
9430 |
137943 |
if (SPVM_TYPE_is_byte_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2826
|
0 |
9430 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2829
|
5 |
9425 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2832
|
8882 |
543 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2835
|
4 |
539 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2838
|
4 |
535 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2841
|
4 |
531 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2844
|
8 |
523 |
else if (SPVM_TYPE_is_byte_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2848
|
523 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2857
|
5657 |
132286 |
else if (SPVM_TYPE_is_short_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2858
|
11 |
5646 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2861
|
0 |
5646 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2864
|
5104 |
542 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2867
|
4 |
538 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2870
|
4 |
534 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2873
|
4 |
530 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2876
|
7 |
523 |
else if (SPVM_TYPE_is_short_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2880
|
523 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2889
|
85992 |
46294 |
else if (SPVM_TYPE_is_int_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2890
|
76010 |
9982 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2893
|
6745 |
3237 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2896
|
0 |
3237 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2899
|
523 |
2714 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2902
|
4 |
2710 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2905
|
8 |
2702 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2908
|
2117 |
585 |
else if (SPVM_TYPE_is_int_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2912
|
585 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2921
|
8118 |
38176 |
else if (SPVM_TYPE_is_long_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2922
|
11 |
8107 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2925
|
6 |
8101 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2928
|
5507 |
2594 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2931
|
0 |
2594 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2934
|
4 |
2590 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2937
|
4 |
2586 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2940
|
2063 |
523 |
else if (SPVM_TYPE_is_long_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2944
|
523 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2953
|
2626 |
35550 |
else if (SPVM_TYPE_is_float_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2954
|
28 |
2598 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2957
|
24 |
2574 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2960
|
2025 |
549 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2963
|
7 |
542 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2966
|
0 |
542 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2969
|
12 |
530 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2972
|
7 |
523 |
else if (SPVM_TYPE_is_float_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2976
|
523 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2985
|
6981 |
28569 |
else if (SPVM_TYPE_is_double_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
2986
|
28 |
6953 |
if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2989
|
25 |
6928 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2992
|
5255 |
1673 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2995
|
4 |
1669 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
2998
|
1137 |
532 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3001
|
0 |
532 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3004
|
8 |
524 |
else if (SPVM_TYPE_is_double_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3008
|
524 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3017
|
0 |
28569 |
else if (SPVM_TYPE_is_mulnum_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3022
|
525 |
28044 |
else if (SPVM_TYPE_is_byte_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3023
|
0 |
525 |
if (SPVM_TYPE_is_byte_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3026
|
6 |
519 |
else if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3029
|
519 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3033
|
0 |
519 |
assert(operand3 < 0xFFFF); |
3042
|
10 |
28034 |
else if (SPVM_TYPE_is_short_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3043
|
0 |
10 |
if (SPVM_TYPE_is_short_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3046
|
6 |
4 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3049
|
4 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3053
|
0 |
4 |
assert(operand3 < 0xFFFF); |
3062
|
2660 |
25374 |
else if (SPVM_TYPE_is_int_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3063
|
0 |
2660 |
if (SPVM_TYPE_is_int_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3066
|
18 |
2642 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3069
|
2642 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3073
|
0 |
2642 |
assert(operand3 < 0xFFFF); |
3082
|
2068 |
23306 |
else if (SPVM_TYPE_is_long_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3083
|
0 |
2068 |
if (SPVM_TYPE_is_long_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3086
|
6 |
2062 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3089
|
2062 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3093
|
0 |
2062 |
assert(operand3 < 0xFFFF); |
3102
|
1038 |
22268 |
else if (SPVM_TYPE_is_float_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3103
|
0 |
1038 |
if (SPVM_TYPE_is_float_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3106
|
6 |
1032 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3109
|
1032 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3113
|
0 |
1032 |
assert(operand3 < 0xFFFF); |
3122
|
1044 |
21224 |
else if (SPVM_TYPE_is_double_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3123
|
0 |
1044 |
if (SPVM_TYPE_is_double_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3126
|
6 |
1038 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3129
|
1038 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3133
|
0 |
1038 |
assert(operand3 < 0xFFFF); |
3142
|
13503 |
7721 |
else if (SPVM_TYPE_is_string_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3143
|
5226 |
8277 |
if (SPVM_TYPE_is_string_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3144
|
5225 |
1 |
if (cast_type->flag & SPVM_NATIVE_C_TYPE_FLAG_MUTABLE && !(src_type->flag & SPVM_NATIVE_C_TYPE_FLAG_MUTABLE)) { |
|
5225 |
0 |
if (cast_type->flag & SPVM_NATIVE_C_TYPE_FLAG_MUTABLE && !(src_type->flag & SPVM_NATIVE_C_TYPE_FLAG_MUTABLE)) { |
3152
|
28 |
8249 |
else if (SPVM_TYPE_is_byte_array_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3155
|
4196 |
4053 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3159
|
0 |
4196 |
assert(operand3 < 0xFFFF); |
3163
|
16 |
4037 |
else if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3166
|
10 |
4027 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3169
|
3804 |
223 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3172
|
49 |
174 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3175
|
79 |
95 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3178
|
95 |
0 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3186
|
72 |
7649 |
else if (SPVM_TYPE_is_byte_array_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3187
|
0 |
72 |
if (SPVM_TYPE_is_byte_array_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3190
|
64 |
8 |
else if (SPVM_TYPE_is_string_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3193
|
8 |
0 |
else if (SPVM_TYPE_is_any_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3197
|
0 |
8 |
assert(operand3 < 0xFFFF); |
3206
|
5291 |
2358 |
else if (SPVM_TYPE_is_any_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3207
|
2739 |
2552 |
if (SPVM_TYPE_is_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3210
|
28 |
2524 |
else if (SPVM_TYPE_is_byte_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3213
|
12 |
2512 |
else if (SPVM_TYPE_is_short_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3216
|
1874 |
638 |
else if (SPVM_TYPE_is_int_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3219
|
578 |
60 |
else if (SPVM_TYPE_is_long_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3222
|
16 |
44 |
else if (SPVM_TYPE_is_float_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3225
|
44 |
0 |
else if (SPVM_TYPE_is_double_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3233
|
2358 |
0 |
else if (SPVM_TYPE_is_object_type(compiler, cast_type->basic_type->id, cast_type->dimension, cast_type->flag)) { |
3234
|
2358 |
0 |
if (SPVM_TYPE_is_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
3252
|
0 |
2358 |
assert(need_implicite_conversion == 0); |
3254
|
64 |
2294 |
if (runtime_assignability) { |
3261
|
0 |
2294 |
assert(operand3 < 0xFFFF); |
3276
|
26431 |
120942 |
if (throw_exception) { |
3286
|
8448 |
41899 |
if (op_assign_src->first->id == SPVM_OP_C_ID_TYPE || op_assign_src->first->id == SPVM_OP_C_ID_VAR) { |
|
8448 |
0 |
if (op_assign_src->first->id == SPVM_OP_C_ID_TYPE || op_assign_src->first->id == SPVM_OP_C_ID_VAR) { |
3294
|
29477 |
20870 |
if (type_dimension > 0) { |
3302
|
29420 |
57 |
if (type_dimension == 1) { |
3411
|
181 |
14275 |
if (SPVM_TYPE_is_mulnum_array_type(compiler, basic_type_id, type_dimension, type->flag)) { |
3448
|
57 |
0 |
else if (type_dimension > 1) { |
3461
|
0 |
57 |
assert(operand3 < 0xFFFF); |
3532
|
7 |
134879 |
if (SPVM_TYPE_is_mulnum_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
3535
|
0 |
7 |
assert(first_field); |
3538
|
0 |
7 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
3594
|
21378 |
113501 |
else if (SPVM_TYPE_is_object_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
3607
|
10 |
113491 |
else if (SPVM_TYPE_is_ref_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
3625
|
0 |
113491 |
assert(SPVM_TYPE_is_numeric_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)); |
3679
|
67499 |
5 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF || op_assign_src->last->id == SPVM_OP_C_ID_UNDEF) { |
|
16674 |
50825 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF || op_assign_src->last->id == SPVM_OP_C_ID_UNDEF) { |
3686
|
5 |
16674 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF) { |
3709
|
50041 |
784 |
if (SPVM_TYPE_is_numeric_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
3710
|
0 |
50041 |
if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
3713
|
0 |
50041 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
3716
|
46604 |
3437 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
3721
|
1551 |
1886 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
3726
|
868 |
1018 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
3731
|
1018 |
0 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
3740
|
784 |
0 |
else if (SPVM_TYPE_is_object_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
3745
|
0 |
0 |
else if (SPVM_TYPE_is_ref_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
3762
|
17728 |
4 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF ||op_assign_src->last->id == SPVM_OP_C_ID_UNDEF) { |
|
8230 |
9498 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF ||op_assign_src->last->id == SPVM_OP_C_ID_UNDEF) { |
3769
|
4 |
8230 |
if (op_assign_src->first->id == SPVM_OP_C_ID_UNDEF) { |
3789
|
9460 |
38 |
if (SPVM_TYPE_is_numeric_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
3790
|
0 |
9460 |
if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
3793
|
0 |
9460 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
3796
|
7378 |
2082 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
3801
|
1037 |
1045 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
3806
|
522 |
523 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
3811
|
523 |
0 |
else if (operand_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
3820
|
30 |
8 |
else if (SPVM_TYPE_is_object_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
3825
|
8 |
0 |
else if (SPVM_TYPE_is_ref_type(compiler, operand_type->basic_type->id, operand_type->dimension, operand_type->flag)) { |
4099
|
670573 |
0 |
if (op_assign_src->first->id != SPVM_OP_C_ID_IF) { |
4105
|
598624 |
71949 |
if (SPVM_TYPE_is_numeric_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
4106
|
0 |
598624 |
if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4109
|
0 |
598624 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4112
|
598483 |
141 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4116
|
26 |
115 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4120
|
20 |
95 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4124
|
95 |
0 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4132
|
28 |
71921 |
else if (SPVM_TYPE_is_bool_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
4136
|
71915 |
6 |
else if (SPVM_TYPE_is_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
4140
|
6 |
0 |
else if (SPVM_TYPE_is_ref_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
4166
|
4006 |
3717 |
if (op_assign_src->id == SPVM_OP_C_ID_ISA) { |
4169
|
17 |
3700 |
else if (op_assign_src->id == SPVM_OP_C_ID_ISA_ERROR) { |
4172
|
3685 |
15 |
else if (op_assign_src->id == SPVM_OP_C_ID_IS_TYPE) { |
4175
|
15 |
0 |
else if (op_assign_src->id == SPVM_OP_C_ID_IS_ERROR) { |
4183
|
0 |
7723 |
assert(operand3 < 0xFFFF); |
4275
|
1156 |
7 |
if (op_assign_src->first->id == SPVM_OP_C_ID_VAR || op_assign_src->first->id == SPVM_OP_C_ID_ASSIGN) { |
|
250 |
906 |
if (op_assign_src->first->id == SPVM_OP_C_ID_VAR || op_assign_src->first->id == SPVM_OP_C_ID_ASSIGN) { |
4278
|
0 |
906 |
else if (op_assign_src->last->id == SPVM_OP_C_ID_VAR || op_assign_src->last->id == SPVM_OP_C_ID_ASSIGN) { |
|
0 |
0 |
else if (op_assign_src->last->id == SPVM_OP_C_ID_VAR || op_assign_src->last->id == SPVM_OP_C_ID_ASSIGN) { |
4287
|
65 |
1098 |
if (SPVM_TYPE_is_byte_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4300
|
65 |
1033 |
else if (SPVM_TYPE_is_short_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4313
|
866 |
167 |
else if (SPVM_TYPE_is_int_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4326
|
57 |
110 |
else if (SPVM_TYPE_is_long_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4339
|
51 |
59 |
else if (SPVM_TYPE_is_float_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4352
|
53 |
6 |
else if (SPVM_TYPE_is_double_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4365
|
2 |
4 |
else if (SPVM_TYPE_is_object_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4378
|
2 |
2 |
else if (SPVM_TYPE_is_ref_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4391
|
2 |
0 |
else if (SPVM_TYPE_is_mulnum_type(compiler, type_dist->basic_type->id, type_dist->dimension, type_dist->flag)) { |
4393
|
0 |
2 |
assert(first_field); |
4396
|
0 |
2 |
assert(SPVM_TYPE_is_numeric_type(compiler, field_type->basic_type->id, field_type->dimension, field_type->flag)); |
4460
|
2630 |
262433 |
else if (op_assign_dist->id == SPVM_OP_C_ID_CLASS_VAR_ACCESS) { |
4467
|
112 |
2518 |
if (SPVM_TYPE_is_undef_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4483
|
1946 |
572 |
if (SPVM_TYPE_is_object_type(compiler, type->basic_type->id, type->dimension, type->flag)) { |
4488
|
48 |
524 |
if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4492
|
48 |
476 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4496
|
294 |
182 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4500
|
86 |
96 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4504
|
48 |
48 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4508
|
48 |
0 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4525
|
1660 |
260773 |
else if (op_assign_dist->id == SPVM_OP_C_ID_DEREF) { |
4533
|
0 |
1660 |
assert(SPVM_TYPE_is_numeric_ref_type(compiler, type->basic_type->id, type->dimension, type->flag)); |
4535
|
18 |
1642 |
if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4539
|
18 |
1624 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4543
|
1569 |
55 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4547
|
18 |
37 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4551
|
18 |
19 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4555
|
19 |
0 |
else if (type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4570
|
139243 |
121530 |
else if (op_assign_dist->id == SPVM_OP_C_ID_EXCEPTION_VAR) { |
4574
|
1053 |
138190 |
if (SPVM_TYPE_is_undef_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4592
|
72157 |
49373 |
else if (op_assign_dist->id == SPVM_OP_C_ID_ARRAY_ACCESS) { |
4605
|
18183 |
53974 |
if (SPVM_TYPE_is_any_object_array_type(compiler, array_type->basic_type->id, array_type->dimension, array_type->flag)) { |
4608
|
1542 |
16641 |
if (SPVM_TYPE_is_undef_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4639
|
13 |
53961 |
else if (SPVM_TYPE_is_mulnum_array_type(compiler, array_type->basic_type->id, array_type->dimension, array_type->flag)) { |
4647
|
0 |
13 |
assert(SPVM_TYPE_is_numeric_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)); |
4649
|
2 |
11 |
if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4653
|
2 |
9 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4657
|
2 |
7 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4661
|
2 |
5 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4665
|
2 |
3 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4669
|
3 |
0 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4685
|
0 |
13 |
assert(operand3 < 0xFFFF); |
4696
|
43 |
53918 |
if (SPVM_TYPE_is_undef_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)) { |
4716
|
42699 |
11219 |
if (SPVM_TYPE_is_numeric_type(compiler, element_type->basic_type->id, element_type->dimension, element_type->flag)) { |
4717
|
11271 |
31428 |
if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4721
|
5372 |
26056 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4725
|
9947 |
16109 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4729
|
5360 |
10749 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4733
|
5346 |
5403 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4737
|
5403 |
0 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4747
|
11168 |
51 |
if (array_type_dimension == 1) { |
4748
|
14 |
11154 |
switch (array_basic_type_category) { |
4762
|
28 |
11191 |
if (is_check_type) { |
4784
|
48405 |
968 |
else if (op_assign_dist->id == SPVM_OP_C_ID_FIELD_ACCESS) { |
4796
|
182 |
48223 |
if (SPVM_TYPE_is_mulnum_ref_type(compiler, invocant_type->basic_type->id, invocant_type->dimension, invocant_type->flag)) { |
4847
|
947 |
47276 |
else if (SPVM_TYPE_is_mulnum_type(compiler, invocant_type->basic_type->id, invocant_type->dimension, invocant_type->flag)) { |
4851
|
0 |
947 |
assert(SPVM_TYPE_is_numeric_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)); |
4854
|
158 |
789 |
if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4859
|
154 |
635 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4864
|
154 |
481 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4869
|
154 |
327 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4874
|
148 |
179 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4879
|
179 |
0 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4898
|
1037 |
46239 |
if (SPVM_TYPE_is_undef_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4919
|
34291 |
11948 |
if (SPVM_TYPE_is_numeric_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4920
|
1135 |
33156 |
if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4924
|
1135 |
32021 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
4928
|
28616 |
3405 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
4932
|
1135 |
2270 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
4936
|
1135 |
1135 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
4940
|
1135 |
0 |
else if (src_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
4948
|
11948 |
0 |
else if (SPVM_TYPE_is_object_type(compiler, src_type->basic_type->id, src_type->dimension, src_type->flag)) { |
4971
|
968 |
0 |
else if (op_assign_dist->id == SPVM_OP_C_ID_ARRAY_FIELD_ACCESS) { |
4992
|
154 |
814 |
if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_BYTE) { |
4996
|
154 |
660 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_SHORT) { |
5000
|
172 |
488 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_INT) { |
5004
|
148 |
340 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_LONG) { |
5008
|
160 |
180 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_FLOAT) { |
5012
|
180 |
0 |
else if (element_type->basic_type->id == SPVM_NATIVE_C_BASIC_TYPE_ID_DOUBLE) { |
5030
|
0 |
968 |
assert(operand3 < 0xFFFF); |
5047
|
214317 |
21606444 |
if (op_cur == op_base) { |
5053
|
9377458 |
12228986 |
if (op_cur->moresib) { |
5062
|
214317 |
9377458 |
if (finish) { |
5122
|
2844 |
896615 |
if (in_eval_block) { |
5151
|
0 |
7265893 |
switch (op->id) { |
5179
|
5512804 |
1753089 |
if (op->id == SPVM_OP_C_ID_VAR) { |
5182
|
1735845 |
17244 |
else if (op->id == SPVM_OP_C_ID_ASSIGN) { |
5183
|
1735843 |
2 |
if (op->first->id == SPVM_OP_C_ID_VAR || op->first->id == SPVM_OP_C_ID_ASSIGN) { |
|
6 |
1735837 |
if (op->first->id == SPVM_OP_C_ID_VAR || op->first->id == SPVM_OP_C_ID_ASSIGN) { |
5186
|
0 |
1735837 |
else if (op->last->id == SPVM_OP_C_ID_VAR || op->last->id == SPVM_OP_C_ID_ASSIGN) { |
|
0 |
0 |
else if (op->last->id == SPVM_OP_C_ID_VAR || op->last->id == SPVM_OP_C_ID_ASSIGN) { |
5193
|
8727 |
8517 |
else if (op->id == SPVM_OP_C_ID_SEQUENCE) { |
5196
|
4970 |
3547 |
else if (op->id == SPVM_OP_C_ID_CREATE_REF) { |
5199
|
3547 |
0 |
else if (op->id == SPVM_OP_C_ID_DEREF) { |
5218
|
1753089 |
14 |
if (op->id == SPVM_OP_C_ID_VAR) { |
5221
|
14 |
0 |
else if (op->id == SPVM_OP_C_ID_ASSIGN) { |
5222
|
14 |
0 |
if (op->first->id == SPVM_OP_C_ID_VAR || op->first->id == SPVM_OP_C_ID_ASSIGN) { |
|
0 |
14 |
if (op->first->id == SPVM_OP_C_ID_VAR || op->first->id == SPVM_OP_C_ID_ASSIGN) { |
5225
|
0 |
14 |
else if (op->last->id == SPVM_OP_C_ID_VAR || op->last->id == SPVM_OP_C_ID_ASSIGN) { |
|
0 |
0 |
else if (op->last->id == SPVM_OP_C_ID_VAR || op->last->id == SPVM_OP_C_ID_ASSIGN) { |
5232
|
0 |
0 |
else if (op->id == SPVM_OP_C_ID_SEQUENCE) { |
5235
|
0 |
0 |
else if (op->id == SPVM_OP_C_ID_CREATE_REF) { |
5238
|
0 |
0 |
else if (op->id == SPVM_OP_C_ID_DEREF) { |