summaryrefslogtreecommitdiff
path: root/compiler/jni/quick/jni_compiler.cc
diff options
context:
space:
mode:
author Ian Pedowitz <ijpedowitz@google.com> 2020-07-22 14:33:00 -0700
committer Ian Pedowitz <ijpedowitz@google.com> 2020-07-24 00:41:56 +0000
commit2d53643ca0e05e7c67894aa75eba899acbb9f287 (patch)
tree39299475c04303312f527bc00355bd9fd7a3fad8 /compiler/jni/quick/jni_compiler.cc
parentcefebc86af30522bf79d2a89a2bcf96f7f970ecb (diff)
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Bug: 161850439 Bug: 161336379 Test: m -j checkbuild cts docs tests Change-Id: I32d869c274a5d9a3dac63221e25874fe685d38c4
Diffstat (limited to 'compiler/jni/quick/jni_compiler.cc')
-rw-r--r--compiler/jni/quick/jni_compiler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/jni/quick/jni_compiler.cc b/compiler/jni/quick/jni_compiler.cc
index 913a3baa27..e7dd6cf6be 100644
--- a/compiler/jni/quick/jni_compiler.cc
+++ b/compiler/jni/quick/jni_compiler.cc
@@ -573,8 +573,8 @@ static JniCompiledMethod ArtJniCompileMethodInternal(const CompilerOptions& comp
// -- For example VMOV {r0, r1} -> D0; VMOV r0 -> S0.
__ Move(mr_return_reg, jni_return_reg, main_jni_conv->SizeOfReturnValue());
} else if (jni_return_reg.IsNoRegister() && mr_return_reg.IsNoRegister()) {
- // Sanity check: If the return value is passed on the stack for some reason,
- // then make sure the size matches.
+ // Check that if the return value is passed on the stack for some reason,
+ // that the size matches.
CHECK_EQ(main_jni_conv->SizeOfReturnValue(), mr_conv->SizeOfReturnValue());
}
}