Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8257709: C1: Double assignment in InstructionPrinter::print_stack
Reviewed-by: shade, chagedorn
  • Loading branch information
Sergey Platonov authored and shipilev committed Jan 12, 2021
1 parent 400dc76 commit 563b268c8f23a1f9f5e70065419d4e8661d1d0b4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -240,7 +240,7 @@ void InstructionPrinter::print_stack(ValueStack* stack) {
output()->cr();
fill_to(start_position, ' ');
output()->print("locks [");
for (int i = i = 0; i < stack->locks_size(); i++) {
for (int i = 0; i < stack->locks_size(); i++) {
Value t = stack->lock_at(i);
if (i > 0) output()->print(", ");
output()->print("%d:", i);

0 comments on commit 563b268

Please sign in to comment.