summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc4
1 files changed, 2 insertions, 2 deletions
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.