summaryrefslogtreecommitdiff
path: root/compiler/jni/quick/jni_compiler.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-05-04 08:36:04 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-05-04 11:50:40 +0000
commitbe726b5fb9fa19e9731faa6cacd747efbde9d5b9 (patch)
tree29fc5d7fd3acba9a758b8e4fd63bc1af88212314 /compiler/jni/quick/jni_compiler.cc
parent5c909cbb1fe34ec7f0775864650e1c86710023b9 (diff)
Reland "Support FastVerify with speed-profile."
This reverts commit 4297f22d902cf156e14c330147215d5f2fa9bd7f. Bug: 279728780 Reason for revert: Resolve classes in inliner. Change-Id: I4f93ac5d195eb2f473ec50fe7cc70881dcddee6f
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 c60d97467e..763d37926f 100644
--- a/compiler/jni/quick/jni_compiler.cc
+++ b/compiler/jni/quick/jni_compiler.cc
@@ -154,11 +154,11 @@ static JniCompiledMethod ArtJniCompileMethodInternal(const CompilerOptions& comp
// -- Don't allow any objects as parameter or return value
if (UNLIKELY(is_critical_native)) {
CHECK(is_static)
- << "@CriticalNative functions cannot be virtual since that would"
+ << "@CriticalNative functions cannot be virtual since that would "
<< "require passing a reference parameter (this), which is illegal "
<< dex_file.PrettyMethod(method_idx, /* with_signature= */ true);
CHECK(!is_synchronized)
- << "@CriticalNative functions cannot be synchronized since that would"
+ << "@CriticalNative functions cannot be synchronized since that would "
<< "require passing a (class and/or this) reference parameter, which is illegal "
<< dex_file.PrettyMethod(method_idx, /* with_signature= */ true);
for (size_t i = 0; i < strlen(shorty); ++i) {