summaryrefslogtreecommitdiff
path: root/runtime/stack.cc
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2020-07-28 15:53:04 +0100
committer Orion Hodson <oth@google.com> 2020-07-28 16:40:36 +0000
commit6aaa49dd4a3467e8d05aee4a1de9753e896ee96b (patch)
tree593e79da914087e991ad0a6d0421962806485e04 /runtime/stack.cc
parent72e27b0b29fd1bdea6747f62c5bd865d26a0bdcd (diff)
Inclusive language fixes
Based on: https://source.android.com/setup/contribute/respectful-code #inclusivefixit Bug: 161336379 Bug: 161896447 Test: art/test.py --host --64 Change-Id: I02c96aa477c4be6af8384222f1f111cc7ae1eeac
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r--runtime/stack.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc
index 1fca012a7f..526386d0f1 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -713,7 +713,7 @@ static void AssertPcIsWithinQuickCode(ArtMethod* method, uintptr_t pc)
<< " code_size=" << code_size;
}
-void StackVisitor::SanityCheckFrame() const {
+void StackVisitor::ValidateFrame() const {
if (kIsDebugBuild) {
ArtMethod* method = GetMethod();
ObjPtr<mirror::Class> declaring_class = method->GetDeclaringClass();
@@ -886,7 +886,7 @@ void StackVisitor::WalkStack(bool include_transitions) {
cur_oat_quick_method_header_ = method->GetOatQuickMethodHeader(cur_quick_frame_pc_);
}
header_retrieved = false; // Force header retrieval in next iteration.
- SanityCheckFrame();
+ ValidateFrame();
if ((walk_kind_ == StackWalkKind::kIncludeInlinedFrames)
&& (cur_oat_quick_method_header_ != nullptr)
@@ -980,7 +980,7 @@ void StackVisitor::WalkStack(bool include_transitions) {
cur_oat_quick_method_header_ = nullptr;
} else if (cur_shadow_frame_ != nullptr) {
do {
- SanityCheckFrame();
+ ValidateFrame();
bool should_continue = VisitFrame();
if (UNLIKELY(!should_continue)) {
return;