8330805: ARM32 build is broken after JDK-8139457
Reviewed-by: shade
This commit is contained in:
parent
7157eea101
commit
88a5dcead2
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2008, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* 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
|
|||||||
|
|
||||||
void C1_MacroAssembler::allocate_array(Register obj, Register len,
|
void C1_MacroAssembler::allocate_array(Register obj, Register len,
|
||||||
Register tmp1, Register tmp2, Register tmp3,
|
Register tmp1, Register tmp2, Register tmp3,
|
||||||
int header_size, int element_size,
|
int header_size_in_bytes, int element_size,
|
||||||
Register klass, Label& slow_case) {
|
Register klass, Label& slow_case) {
|
||||||
assert_different_registers(obj, len, tmp1, tmp2, tmp3, klass, Rtemp);
|
assert_different_registers(obj, len, tmp1, tmp2, tmp3, klass, Rtemp);
|
||||||
const int header_size_in_bytes = header_size * BytesPerWord;
|
|
||||||
const int scale_shift = exact_log2(element_size);
|
const int scale_shift = exact_log2(element_size);
|
||||||
const Register obj_size = Rtemp; // Rtemp should be free at c1 LIR level
|
const Register obj_size = Rtemp; // Rtemp should be free at c1 LIR level
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user