Skip to content

Commit

Permalink
Bizarely -> Bizarrely
Browse files Browse the repository at this point in the history
  • Loading branch information
sendaoYan committed Jul 6, 2024
1 parent 6b21194 commit 4972398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) asrw(cnt1, cnt1, 1);
if (!str2_isL) asrw(cnt2, cnt2, 1);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) {
sraiw(cnt1, cnt1, 1);
Expand Down

0 comments on commit 4972398

Please sign in to comment.