Skip to content

Commit 88a5dce

Browse files
Aleksei Voitylovshipilev
authored andcommitted
8330805: ARM32 build is broken after JDK-8139457
Reviewed-by: shade
1 parent 7157eea commit 88a5dce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/hotspot/cpu/arm/c1_MacroAssembler_arm.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -153,10 +153,9 @@ void C1_MacroAssembler::allocate_object(Register obj, Register tmp1, Register tm
153153

154154
void C1_MacroAssembler::allocate_array(Register obj, Register len,
155155
Register tmp1, Register tmp2, Register tmp3,
156-
int header_size, int element_size,
156+
int header_size_in_bytes, int element_size,
157157
Register klass, Label& slow_case) {
158158
assert_different_registers(obj, len, tmp1, tmp2, tmp3, klass, Rtemp);
159-
const int header_size_in_bytes = header_size * BytesPerWord;
160159
const int scale_shift = exact_log2(element_size);
161160
const Register obj_size = Rtemp; // Rtemp should be free at c1 LIR level
162161

0 commit comments

Comments
 (0)