Skip to content

Commit

Permalink
fix stub is and align flags for s390
Browse files Browse the repository at this point in the history
  • Loading branch information
adinn committed Nov 21, 2024
1 parent b068082 commit bfdfe01
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/hotspot/cpu/s390/stubGenerator_s390.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ class StubGenerator: public StubCodeGenerator {
}

address generate_lookup_secondary_supers_table_stub(u1 super_klass_index) {
StubGenStubId stub_id = (StubGenStubId)(StubGenStubId::partial_subtype_check_id + super_klass_index);
StubGenStubId stub_id = (StubGenStubId)(StubGenStubId::lookup_secondary_supers_table_id + super_klass_index);
StubCodeMark mark(this, stub_id);

const Register
Expand Down Expand Up @@ -1276,31 +1276,31 @@ class StubGenerator: public StubCodeGenerator {
element_size = 1;
break;
case arrayof_jbyte_disjoint_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
break;
case jshort_disjoint_arraycopy_id:
aligned = false;
element_size = 1;
break;
case arrayof_jshort_disjoint_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
break;
case jint_disjoint_arraycopy_id:
aligned = false;
element_size = 1;
break;
case arrayof_jint_disjoint_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
break;
case jlong_disjoint_arraycopy_id:
aligned = false;
element_size = 1;
break;
case arrayof_jlong_disjoint_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
break;
default:
Expand Down Expand Up @@ -1370,7 +1370,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::jbyte_disjoint_arraycopy();
break;
case arrayof_jbyte_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
nooverlap_target = StubRoutines::arrayof_jbyte_disjoint_arraycopy();
break;
Expand All @@ -1380,7 +1380,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::jshort_disjoint_arraycopy();
break;
case arrayof_jshort_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
nooverlap_target = StubRoutines::arrayof_jshort_disjoint_arraycopy();
break;
Expand All @@ -1390,7 +1390,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::jint_disjoint_arraycopy();
break;
case arrayof_jint_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
nooverlap_target = StubRoutines::arrayof_jint_disjoint_arraycopy();
break;
Expand All @@ -1400,7 +1400,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::jlong_disjoint_arraycopy();
break;
case arrayof_jlong_arraycopy_id:
aligned = false;
aligned = true;
element_size = 1;
nooverlap_target = StubRoutines::arrayof_jlong_disjoint_arraycopy();
break;
Expand All @@ -1424,7 +1424,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::oop_disjoint_arraycopy(dest_uninitialized);
break;
case arrayof_oop_arraycopy_id:
aligned = false;
aligned = true;
dest_uninitialized = false;
nooverlap_target = StubRoutines::arrayof_oop_disjoint_arraycopy(dest_uninitialized);
break;
Expand All @@ -1434,7 +1434,7 @@ class StubGenerator: public StubCodeGenerator {
nooverlap_target = StubRoutines::oop_disjoint_arraycopy(dest_uninitialized);
break;
case arrayof_oop_arraycopy_uninit_id:
aligned = false;
aligned = true;
dest_uninitialized = false;
nooverlap_target = StubRoutines::arrayof_oop_disjoint_arraycopy(dest_uninitialized);
break;
Expand Down

0 comments on commit bfdfe01

Please sign in to comment.