diff options
| author | 2018-09-21 15:35:50 +0000 | |
|---|---|---|
| committer | 2018-09-21 15:35:50 +0000 | |
| commit | f8120a1c91e17c63c4545f07210a1e11d21dcc1c (patch) | |
| tree | f654a3aefcfc903de035650e44bce147593ab7fe /compiler/utils/mips/assembler_mips.cc | |
| parent | 7ee67be05356a74bc993b7afa67439cb2f6c6a57 (diff) | |
| parent | c74d9cbd4c7b1b5b1a4c5a6bb34e9426336bbecc (diff) | |
Merge "ART: Modernize counting-down loops"
Diffstat (limited to 'compiler/utils/mips/assembler_mips.cc')
| -rw-r--r-- | compiler/utils/mips/assembler_mips.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/mips/assembler_mips.cc b/compiler/utils/mips/assembler_mips.cc index c0b6f988d4..1ba535f4c3 100644 --- a/compiler/utils/mips/assembler_mips.cc +++ b/compiler/utils/mips/assembler_mips.cc @@ -3610,7 +3610,7 @@ void MipsAssembler::FinalizeLabeledBranch(MipsLabel* label) { label->LinkTo(branch_id); } // Reserve space for the branch. - while (length--) { + for (; length != 0u; --length) { Nop(); } } |