< prev index next >

src/hotspot/cpu/arm/c1_MacroAssembler_arm.cpp

Print this page
@@ -155,14 +155,13 @@
    initialize_object(obj, obj_end, klass, len, tmp2, tmp3, instanceOopDesc::header_size() * HeapWordSize, object_size_in_bytes, /* is_tlab_allocated */ UseTLAB);
  }
  
  void C1_MacroAssembler::allocate_array(Register obj, Register len,
                                         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) {
    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 Register obj_size = Rtemp; // Rtemp should be free at c1 LIR level
  
    cmp_32(len, max_array_allocation_length);
    b(slow_case, hs);
< prev index next >