summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-10-19 14:06:15 -0700
committer Andreas Gampe <agampe@google.com> 2018-10-23 15:19:55 -0700
commit98ea9d9d82ab078ca10fa7f8e02eddda94cf1d98 (patch)
treea848b7e41ff227a2d3d4d6795ec11089f39cb6ca /runtime/interpreter/interpreter_common.cc
parent02338775e33b553be51d44ff60bb1ef8e527bd94 (diff)
ART: Refactor for bugprone-argument-comment
Handles runtime. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ibc0d5086809d647f0ce4df5452eb84442d27ecf0
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r--runtime/interpreter/interpreter_common.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index cb91953458..2cee8137b2 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -714,12 +714,12 @@ bool DoMethodHandleInvokeExact(Thread* self,
if (inst->Opcode() == Instruction::INVOKE_POLYMORPHIC) {
static const bool kIsRange = false;
return DoMethodHandleInvokeCommon<kIsRange>(
- self, shadow_frame, true /* is_exact */, inst, inst_data, result);
+ self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result);
} else {
DCHECK_EQ(inst->Opcode(), Instruction::INVOKE_POLYMORPHIC_RANGE);
static const bool kIsRange = true;
return DoMethodHandleInvokeCommon<kIsRange>(
- self, shadow_frame, true /* is_exact */, inst, inst_data, result);
+ self, shadow_frame, /* invoke_exact= */ true, inst, inst_data, result);
}
}
@@ -731,12 +731,12 @@ bool DoMethodHandleInvoke(Thread* self,
if (inst->Opcode() == Instruction::INVOKE_POLYMORPHIC) {
static const bool kIsRange = false;
return DoMethodHandleInvokeCommon<kIsRange>(
- self, shadow_frame, false /* is_exact */, inst, inst_data, result);
+ self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result);
} else {
DCHECK_EQ(inst->Opcode(), Instruction::INVOKE_POLYMORPHIC_RANGE);
static const bool kIsRange = true;
return DoMethodHandleInvokeCommon<kIsRange>(
- self, shadow_frame, false /* is_exact */, inst, inst_data, result);
+ self, shadow_frame, /* invoke_exact= */ false, inst, inst_data, result);
}
}