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
diff --git a/runtime/stack.cc b/runtime/stack.cc
index 1fca012..526386d 100644
--- a/runtime/stack.cc
+++ b/runtime/stack.cc
@@ -713,7 +713,7 @@
<< " 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 @@
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 @@
cur_oat_quick_method_header_ = nullptr;
} else if (cur_shadow_frame_ != nullptr) {
do {
- SanityCheckFrame();
+ ValidateFrame();
bool should_continue = VisitFrame();
if (UNLIKELY(!should_continue)) {
return;