Skip to content

Commit 4221e55

Browse files
committed
Use 4 as alignment
1 parent eef7a35 commit 4221e55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ static void gen_continuation_enter(MacroAssembler* masm,
10981098
__ bnez(c_rarg2, call_thaw);
10991099

11001100
// Make sure the call is patchable
1101-
__ align(BytesPerWord);
1101+
__ align(4);
11021102

11031103
address mark = __ pc();
11041104
__ trampoline_call(resolve);
@@ -1126,7 +1126,7 @@ static void gen_continuation_enter(MacroAssembler* masm,
11261126
__ bnez(c_rarg2, call_thaw);
11271127

11281128
// Make sure the call is patchable
1129-
__ align(BytesPerWord);
1129+
__ align(4);
11301130

11311131
address mark = __ pc();
11321132
__ trampoline_call(resolve);

0 commit comments

Comments
 (0)