From 5899d7919d5ad8e0c437e72c4aa04d4024e32431 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 8 Sep 2023 15:01:25 +0200 Subject: Remove some obsolete TODO comments, fix indentation. Test: Rely on TreeHugger. Change-Id: I4e3c0ba13d576ef62121d47ebc4965f6667b624f --- compiler/optimizing/code_generator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/code_generator.cc') diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index 1fea30a359..404a42771f 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -627,8 +627,8 @@ void CodeGenerator::CreateUnresolvedFieldLocationSummary( locations->SetOut(calling_convention.GetReturnLocation(field_type)); } } else { - size_t set_index = is_instance ? 1 : 0; - if (DataType::IsFloatingPointType(field_type)) { + size_t set_index = is_instance ? 1 : 0; + if (DataType::IsFloatingPointType(field_type)) { // The set value comes from a float location while the calling convention // expects it in a regular register location. Allocate a temp for it and // make the transfer at codegen. -- cgit v1.2.3-59-g8ed1b