diff options
| author | Andreas Gampe <agampe@google.com> | 2018-12-26 15:12:03 -0800 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2018-12-27 12:56:39 -0800 |
| commit | 3db70689e3e1c92344d436a8ea4265046bdef449 (patch) | |
| tree | 3db08743e968062ed5bdc143233cdb3c4564696b /compiler/optimizing/register_allocator_linear_scan.cc | |
| parent | 1650dafad62578a1766bd617d78458a4cf1e2a9a (diff) | |
| download | art-3db70689e3e1c92344d436a8ea4265046bdef449.tar.gz art-3db70689e3e1c92344d436a8ea4265046bdef449.tar.bz2 art-3db70689e3e1c92344d436a8ea4265046bdef449.zip | |
ART: Refactor for bugprone-argument-comment
Handles compiler.
Bug: 116054210
Test: WITH_TIDY=1 mmma art
Change-Id: I5cdfe73c31ac39144838a2736146b71de037425e
Diffstat (limited to 'compiler/optimizing/register_allocator_linear_scan.cc')
| -rw-r--r-- | compiler/optimizing/register_allocator_linear_scan.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/register_allocator_linear_scan.cc b/compiler/optimizing/register_allocator_linear_scan.cc index 1e00003701..0d6c5a3eff 100644 --- a/compiler/optimizing/register_allocator_linear_scan.cc +++ b/compiler/optimizing/register_allocator_linear_scan.cc @@ -252,7 +252,7 @@ void RegisterAllocatorLinearScan::ProcessInstruction(HInstruction* instruction) temp_intervals_.push_back(interval); interval->AddTempUse(instruction, i); if (codegen_->NeedsTwoRegisters(DataType::Type::kFloat64)) { - interval->AddHighInterval(/* is_temp */ true); + interval->AddHighInterval(/* is_temp= */ true); LiveInterval* high = interval->GetHighInterval(); temp_intervals_.push_back(high); unhandled_fp_intervals_.push_back(high); @@ -284,7 +284,7 @@ void RegisterAllocatorLinearScan::ProcessInstruction(HInstruction* instruction) } if (locations->WillCall()) { - BlockRegisters(position, position + 1, /* caller_save_only */ true); + BlockRegisters(position, position + 1, /* caller_save_only= */ true); } for (size_t i = 0; i < locations->GetInputCount(); ++i) { |
