@@ -991,7 +991,7 @@ static std::size_t get_bytecode_type_width(const typet &ty)
991
991
return ty.get_size_t (ID_width);
992
992
}
993
993
994
- codet java_bytecode_convert_methodt::convert_instructions (
994
+ code_blockt java_bytecode_convert_methodt::convert_instructions (
995
995
const methodt &method,
996
996
const java_class_typet::java_lambda_method_handlest &lambda_method_handles)
997
997
{
@@ -1913,7 +1913,7 @@ codet java_bytecode_convert_methodt::convert_instructions(
1913
1913
for (auto &block : root_block.statements ())
1914
1914
code.add (block);
1915
1915
1916
- return std::move ( code) ;
1916
+ return code;
1917
1917
}
1918
1918
1919
1919
codet java_bytecode_convert_methodt::convert_pop (
@@ -1932,7 +1932,7 @@ codet java_bytecode_convert_methodt::convert_pop(
1932
1932
return c;
1933
1933
}
1934
1934
1935
- codet java_bytecode_convert_methodt::convert_switch (
1935
+ code_switcht java_bytecode_convert_methodt::convert_switch (
1936
1936
java_bytecode_convert_methodt::address_mapt &address_map,
1937
1937
const exprt::operandst &op,
1938
1938
const java_bytecode_parse_treet::instructiont::argst &args,
@@ -1983,7 +1983,7 @@ codet java_bytecode_convert_methodt::convert_switch(
1983
1983
}
1984
1984
1985
1985
code_switch.body () = code_block;
1986
- return std::move ( code_switch) ;
1986
+ return code_switch;
1987
1987
}
1988
1988
1989
1989
codet java_bytecode_convert_methodt::convert_monitorenterexit (
@@ -2538,7 +2538,7 @@ void java_bytecode_convert_methodt::convert_new(
2538
2538
results[0 ] = tmp;
2539
2539
}
2540
2540
2541
- codet java_bytecode_convert_methodt::convert_putstatic (
2541
+ code_blockt java_bytecode_convert_methodt::convert_putstatic (
2542
2542
const source_locationt &location,
2543
2543
const exprt &arg0,
2544
2544
const exprt::operandst &op,
@@ -2567,10 +2567,10 @@ codet java_bytecode_convert_methodt::convert_putstatic(
2567
2567
bytecode_write_typet::STATIC_FIELD,
2568
2568
symbol_expr.get_identifier ());
2569
2569
block.add (code_assignt (symbol_expr, op[0 ]));
2570
- return std::move ( block) ;
2570
+ return block;
2571
2571
}
2572
2572
2573
- codet java_bytecode_convert_methodt::convert_putfield (
2573
+ code_blockt java_bytecode_convert_methodt::convert_putfield (
2574
2574
const exprt &arg0,
2575
2575
const exprt::operandst &op)
2576
2576
{
@@ -2582,7 +2582,7 @@ codet java_bytecode_convert_methodt::convert_putfield(
2582
2582
bytecode_write_typet::FIELD,
2583
2583
arg0.get (ID_component_name));
2584
2584
block.add (code_assignt (to_member (op[0 ], arg0), op[1 ]));
2585
- return std::move ( block) ;
2585
+ return block;
2586
2586
}
2587
2587
2588
2588
void java_bytecode_convert_methodt::convert_getstatic (
@@ -2699,7 +2699,7 @@ exprt::operandst &java_bytecode_convert_methodt::convert_ushr(
2699
2699
return results;
2700
2700
}
2701
2701
2702
- codet java_bytecode_convert_methodt::convert_iinc (
2702
+ code_blockt java_bytecode_convert_methodt::convert_iinc (
2703
2703
const exprt &arg0,
2704
2704
const exprt &arg1,
2705
2705
const source_locationt &location,
@@ -2723,10 +2723,10 @@ codet java_bytecode_convert_methodt::convert_iinc(
2723
2723
plus_exprt (variable (arg0, ' i' , address, CAST_AS_NEEDED), arg1_int_type));
2724
2724
block.add (code_assign);
2725
2725
2726
- return std::move ( block) ;
2726
+ return block;
2727
2727
}
2728
2728
2729
- codet java_bytecode_convert_methodt::convert_ifnull (
2729
+ code_ifthenelset java_bytecode_convert_methodt::convert_ifnull (
2730
2730
const java_bytecode_convert_methodt::address_mapt &address_map,
2731
2731
const exprt::operandst &op,
2732
2732
const mp_integer &number,
@@ -2741,10 +2741,10 @@ codet java_bytecode_convert_methodt::convert_ifnull(
2741
2741
code_branch.then_case ().add_source_location () =
2742
2742
address_map.at (label_number).source ->source_location ;
2743
2743
code_branch.add_source_location () = location;
2744
- return std::move ( code_branch) ;
2744
+ return code_branch;
2745
2745
}
2746
2746
2747
- codet java_bytecode_convert_methodt::convert_ifnonull (
2747
+ code_ifthenelset java_bytecode_convert_methodt::convert_ifnonull (
2748
2748
const java_bytecode_convert_methodt::address_mapt &address_map,
2749
2749
const exprt::operandst &op,
2750
2750
const mp_integer &number,
@@ -2759,10 +2759,10 @@ codet java_bytecode_convert_methodt::convert_ifnonull(
2759
2759
code_branch.then_case ().add_source_location () =
2760
2760
address_map.at (label_number).source ->source_location ;
2761
2761
code_branch.add_source_location () = location;
2762
- return std::move ( code_branch) ;
2762
+ return code_branch;
2763
2763
}
2764
2764
2765
- codet java_bytecode_convert_methodt::convert_if (
2765
+ code_ifthenelset java_bytecode_convert_methodt::convert_if (
2766
2766
const java_bytecode_convert_methodt::address_mapt &address_map,
2767
2767
const exprt::operandst &op,
2768
2768
const irep_idt &id,
@@ -2781,10 +2781,10 @@ codet java_bytecode_convert_methodt::convert_if(
2781
2781
code_branch.then_case ().add_source_location ().set_function (method_id);
2782
2782
code_branch.add_source_location () = location;
2783
2783
code_branch.add_source_location ().set_function (method_id);
2784
- return std::move ( code_branch) ;
2784
+ return code_branch;
2785
2785
}
2786
2786
2787
- codet java_bytecode_convert_methodt::convert_if_cmp (
2787
+ code_ifthenelset java_bytecode_convert_methodt::convert_if_cmp (
2788
2788
const java_bytecode_convert_methodt::address_mapt &address_map,
2789
2789
const irep_idt &statement,
2790
2790
const exprt::operandst &op,
@@ -2810,7 +2810,7 @@ codet java_bytecode_convert_methodt::convert_if_cmp(
2810
2810
address_map.at (label_number).source ->source_location ;
2811
2811
code_branch.add_source_location () = location;
2812
2812
2813
- return std::move ( code_branch) ;
2813
+ return code_branch;
2814
2814
}
2815
2815
2816
2816
code_blockt java_bytecode_convert_methodt::convert_ret (
@@ -2865,7 +2865,7 @@ exprt java_bytecode_convert_methodt::convert_aload(
2865
2865
return java_bytecode_promotion (element);
2866
2866
}
2867
2867
2868
- codet java_bytecode_convert_methodt::convert_store (
2868
+ code_blockt java_bytecode_convert_methodt::convert_store (
2869
2869
const irep_idt &statement,
2870
2870
const exprt &arg0,
2871
2871
const exprt::operandst &op,
@@ -2890,10 +2890,10 @@ codet java_bytecode_convert_methodt::convert_store(
2890
2890
code_assignt assign (var, toassign);
2891
2891
assign.add_source_location () = location;
2892
2892
block.add (assign);
2893
- return std::move ( block) ;
2893
+ return block;
2894
2894
}
2895
2895
2896
- codet java_bytecode_convert_methodt::convert_astore (
2896
+ code_blockt java_bytecode_convert_methodt::convert_astore (
2897
2897
const irep_idt &statement,
2898
2898
const exprt::operandst &op,
2899
2899
const source_locationt &location)
@@ -2922,7 +2922,7 @@ codet java_bytecode_convert_methodt::convert_astore(
2922
2922
code_assignt array_put (element, op[2 ]);
2923
2923
array_put.add_source_location () = location;
2924
2924
block.add (array_put);
2925
- return std::move ( block) ;
2925
+ return block;
2926
2926
}
2927
2927
2928
2928
optionalt<exprt> java_bytecode_convert_methodt::convert_invoke_dynamic (
0 commit comments