Skip to content

Commit c81c8e8

Browse files
rnkovacslewurm
authored andcommitted
8248671: AArch64: Remove unused variables
Remove unused variables in the AArch64 backend. Detected by compiling with MSVC, which warns about them. Co-authored-by: Bernhard Urban-Forster <[email protected]> Backport-of: dff37f8
1 parent ba097ca commit c81c8e8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,6 @@ void LIR_Assembler::emit_arraycopy(LIR_OpArrayCopy* op) {
23142314
assert(default_type != NULL && default_type->is_array_klass() && default_type->is_loaded(), "must be true at this point");
23152315

23162316
int elem_size = type2aelembytes(basic_type);
2317-
int shift_amount;
23182317
int scale = exact_log2(elem_size);
23192318

23202319
Address src_length_addr = Address(src, arrayOopDesc::length_offset_in_bytes());

src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,6 @@ class StubGenerator: public StubCodeGenerator {
683683
int unit = wordSize * direction;
684684
int bias = (UseSIMDForMemoryOps ? 4:2) * wordSize;
685685

686-
int offset;
687686
const Register t0 = r3, t1 = r4, t2 = r5, t3 = r6,
688687
t4 = r7, t5 = r10, t6 = r11, t7 = r12;
689688
const Register stride = r13;

0 commit comments

Comments
 (0)