@@ -2615,15 +2615,15 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2615
2615
address pc_before_fence = __ pc ();
2616
2616
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2617
2617
assert (__ pc () - pc_before_fence == (ptrdiff_t )BytesPerInstWord, " must be single instruction" );
2618
- assert (branch_table[vtos] == 0 , " can't compute twice" );
2618
+ assert (branch_table[vtos] == nullptr , " can't compute twice" );
2619
2619
branch_table[vtos] = __ pc (); // non-volatile_entry point
2620
2620
__ stop (" vtos unexpected" );
2621
2621
#endif
2622
2622
2623
2623
__ align (32 , 28 , 28 ); // Align load.
2624
2624
// __ bind(Ldtos);
2625
2625
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2626
- assert (branch_table[dtos] == 0 , " can't compute twice" );
2626
+ assert (branch_table[dtos] == nullptr , " can't compute twice" );
2627
2627
branch_table[dtos] = __ pc (); // non-volatile_entry point
2628
2628
__ lfdx (F15_ftos, Rclass_or_obj, Roffset);
2629
2629
__ push (dtos);
@@ -2644,7 +2644,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2644
2644
__ align (32 , 28 , 28 ); // Align load.
2645
2645
// __ bind(Lftos);
2646
2646
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2647
- assert (branch_table[ftos] == 0 , " can't compute twice" );
2647
+ assert (branch_table[ftos] == nullptr , " can't compute twice" );
2648
2648
branch_table[ftos] = __ pc (); // non-volatile_entry point
2649
2649
__ lfsx (F15_ftos, Rclass_or_obj, Roffset);
2650
2650
__ push (ftos);
@@ -2665,7 +2665,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2665
2665
__ align (32 , 28 , 28 ); // Align load.
2666
2666
// __ bind(Litos);
2667
2667
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2668
- assert (branch_table[itos] == 0 , " can't compute twice" );
2668
+ assert (branch_table[itos] == nullptr , " can't compute twice" );
2669
2669
branch_table[itos] = __ pc (); // non-volatile_entry point
2670
2670
__ lwax (R17_tos, Rclass_or_obj, Roffset);
2671
2671
__ push (itos);
@@ -2678,7 +2678,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2678
2678
__ align (32 , 28 , 28 ); // Align load.
2679
2679
// __ bind(Lltos);
2680
2680
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2681
- assert (branch_table[ltos] == 0 , " can't compute twice" );
2681
+ assert (branch_table[ltos] == nullptr , " can't compute twice" );
2682
2682
branch_table[ltos] = __ pc (); // non-volatile_entry point
2683
2683
__ ldx (R17_tos, Rclass_or_obj, Roffset);
2684
2684
__ push (ltos);
@@ -2691,7 +2691,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2691
2691
__ align (32 , 28 , 28 ); // Align load.
2692
2692
// __ bind(Lbtos);
2693
2693
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2694
- assert (branch_table[btos] == 0 , " can't compute twice" );
2694
+ assert (branch_table[btos] == nullptr , " can't compute twice" );
2695
2695
branch_table[btos] = __ pc (); // non-volatile_entry point
2696
2696
__ lbzx (R17_tos, Rclass_or_obj, Roffset);
2697
2697
__ extsb (R17_tos, R17_tos);
@@ -2705,7 +2705,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2705
2705
__ align (32 , 28 , 28 ); // Align load.
2706
2706
// __ bind(Lztos); (same code as btos)
2707
2707
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2708
- assert (branch_table[ztos] == 0 , " can't compute twice" );
2708
+ assert (branch_table[ztos] == nullptr , " can't compute twice" );
2709
2709
branch_table[ztos] = __ pc (); // non-volatile_entry point
2710
2710
__ lbzx (R17_tos, Rclass_or_obj, Roffset);
2711
2711
__ push (ztos);
@@ -2719,7 +2719,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2719
2719
__ align (32 , 28 , 28 ); // Align load.
2720
2720
// __ bind(Lctos);
2721
2721
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2722
- assert (branch_table[ctos] == 0 , " can't compute twice" );
2722
+ assert (branch_table[ctos] == nullptr , " can't compute twice" );
2723
2723
branch_table[ctos] = __ pc (); // non-volatile_entry point
2724
2724
__ lhzx (R17_tos, Rclass_or_obj, Roffset);
2725
2725
__ push (ctos);
@@ -2732,7 +2732,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2732
2732
__ align (32 , 28 , 28 ); // Align load.
2733
2733
// __ bind(Lstos);
2734
2734
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2735
- assert (branch_table[stos] == 0 , " can't compute twice" );
2735
+ assert (branch_table[stos] == nullptr , " can't compute twice" );
2736
2736
branch_table[stos] = __ pc (); // non-volatile_entry point
2737
2737
__ lhax (R17_tos, Rclass_or_obj, Roffset);
2738
2738
__ push (stos);
@@ -2745,7 +2745,7 @@ void TemplateTable::getfield_or_static(int byte_no, bool is_static, RewriteContr
2745
2745
__ align (32 , 28 , 28 ); // Align load.
2746
2746
// __ bind(Latos);
2747
2747
__ fence (); // Volatile entry point (one instruction before non-volatile_entry point).
2748
- assert (branch_table[atos] == 0 , " can't compute twice" );
2748
+ assert (branch_table[atos] == nullptr , " can't compute twice" );
2749
2749
branch_table[atos] = __ pc (); // non-volatile_entry point
2750
2750
do_oop_load (_masm, Rclass_or_obj, Roffset, R17_tos, Rscratch, /* nv temp */ Rflags, IN_HEAP);
2751
2751
__ verify_oop (R17_tos);
@@ -2932,15 +2932,15 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
2932
2932
address pc_before_release = __ pc ();
2933
2933
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
2934
2934
assert (__ pc () - pc_before_release == (ptrdiff_t )BytesPerInstWord, " must be single instruction" );
2935
- assert (branch_table[vtos] == 0 , " can't compute twice" );
2935
+ assert (branch_table[vtos] == nullptr , " can't compute twice" );
2936
2936
branch_table[vtos] = __ pc (); // non-volatile_entry point
2937
2937
__ stop (" vtos unexpected" );
2938
2938
#endif
2939
2939
2940
2940
__ align (32 , 28 , 28 ); // Align pop.
2941
2941
// __ bind(Ldtos);
2942
2942
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
2943
- assert (branch_table[dtos] == 0 , " can't compute twice" );
2943
+ assert (branch_table[dtos] == nullptr , " can't compute twice" );
2944
2944
branch_table[dtos] = __ pc (); // non-volatile_entry point
2945
2945
__ pop (dtos);
2946
2946
if (!is_static) {
@@ -2958,7 +2958,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
2958
2958
__ align (32 , 28 , 28 ); // Align pop.
2959
2959
// __ bind(Lftos);
2960
2960
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
2961
- assert (branch_table[ftos] == 0 , " can't compute twice" );
2961
+ assert (branch_table[ftos] == nullptr , " can't compute twice" );
2962
2962
branch_table[ftos] = __ pc (); // non-volatile_entry point
2963
2963
__ pop (ftos);
2964
2964
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -2974,7 +2974,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
2974
2974
__ align (32 , 28 , 28 ); // Align pop.
2975
2975
// __ bind(Litos);
2976
2976
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
2977
- assert (branch_table[itos] == 0 , " can't compute twice" );
2977
+ assert (branch_table[itos] == nullptr , " can't compute twice" );
2978
2978
branch_table[itos] = __ pc (); // non-volatile_entry point
2979
2979
__ pop (itos);
2980
2980
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -2990,7 +2990,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
2990
2990
__ align (32 , 28 , 28 ); // Align pop.
2991
2991
// __ bind(Lltos);
2992
2992
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
2993
- assert (branch_table[ltos] == 0 , " can't compute twice" );
2993
+ assert (branch_table[ltos] == nullptr , " can't compute twice" );
2994
2994
branch_table[ltos] = __ pc (); // non-volatile_entry point
2995
2995
__ pop (ltos);
2996
2996
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -3006,7 +3006,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
3006
3006
__ align (32 , 28 , 28 ); // Align pop.
3007
3007
// __ bind(Lbtos);
3008
3008
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
3009
- assert (branch_table[btos] == 0 , " can't compute twice" );
3009
+ assert (branch_table[btos] == nullptr , " can't compute twice" );
3010
3010
branch_table[btos] = __ pc (); // non-volatile_entry point
3011
3011
__ pop (btos);
3012
3012
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -3022,7 +3022,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
3022
3022
__ align (32 , 28 , 28 ); // Align pop.
3023
3023
// __ bind(Lztos);
3024
3024
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
3025
- assert (branch_table[ztos] == 0 , " can't compute twice" );
3025
+ assert (branch_table[ztos] == nullptr , " can't compute twice" );
3026
3026
branch_table[ztos] = __ pc (); // non-volatile_entry point
3027
3027
__ pop (ztos);
3028
3028
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -3039,7 +3039,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
3039
3039
__ align (32 , 28 , 28 ); // Align pop.
3040
3040
// __ bind(Lctos);
3041
3041
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
3042
- assert (branch_table[ctos] == 0 , " can't compute twice" );
3042
+ assert (branch_table[ctos] == nullptr , " can't compute twice" );
3043
3043
branch_table[ctos] = __ pc (); // non-volatile_entry point
3044
3044
__ pop (ctos);
3045
3045
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1..
@@ -3055,7 +3055,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
3055
3055
__ align (32 , 28 , 28 ); // Align pop.
3056
3056
// __ bind(Lstos);
3057
3057
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
3058
- assert (branch_table[stos] == 0 , " can't compute twice" );
3058
+ assert (branch_table[stos] == nullptr , " can't compute twice" );
3059
3059
branch_table[stos] = __ pc (); // non-volatile_entry point
3060
3060
__ pop (stos);
3061
3061
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // Kills R11_scratch1.
@@ -3071,7 +3071,7 @@ void TemplateTable::putfield_or_static(int byte_no, bool is_static, RewriteContr
3071
3071
__ align (32 , 28 , 28 ); // Align pop.
3072
3072
// __ bind(Latos);
3073
3073
__ release (); // Volatile entry point (one instruction before non-volatile_entry point).
3074
- assert (branch_table[atos] == 0 , " can't compute twice" );
3074
+ assert (branch_table[atos] == nullptr , " can't compute twice" );
3075
3075
branch_table[atos] = __ pc (); // non-volatile_entry point
3076
3076
__ pop (atos);
3077
3077
if (!is_static) { pop_and_check_object (Rclass_or_obj); } // kills R11_scratch1
0 commit comments