summaryrefslogtreecommitdiff
path: root/compiler/jni/jni_compiler_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2023-06-15 13:14:29 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2023-06-21 15:49:42 +0000
commite890d613f8d1793d2023123c2c42cee7a8892940 (patch)
tree83dd437ada9ff5c91a0468b13a42d9b8f3b9957c /compiler/jni/jni_compiler_test.cc
parent68fedbb0f33bb1e89012b63adc48d51470477dc6 (diff)
riscv64: Implement JNI compiler for @FastNative.
Implement all JNI macro assembler functions needed by the JNI compiler to compile stubs for @FastNative methods. Enable JNI compiler tests for @FastNative methods. Test: m test-art-host-gtest Test: run-gtests.sh Bug: 283082089 Change-Id: I34ccc3a89de4833a18e2140b656e251a354fec01
Diffstat (limited to 'compiler/jni/jni_compiler_test.cc')
-rw-r--r--compiler/jni/jni_compiler_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc
index 93dd715286..ec68ff2f4d 100644
--- a/compiler/jni/jni_compiler_test.cc
+++ b/compiler/jni/jni_compiler_test.cc
@@ -465,7 +465,6 @@ LockWord JniCompilerTest::GetLockWord(jobject obj) {
#define JNI_TEST(TestName) \
JNI_TEST_NORMAL_ONLY(TestName) \
TEST_F(JniCompilerTest, TestName ## FastCompiler) { \
- TEST_DISABLED_FOR_RISCV64(); \
ScopedCheckHandleScope top_handle_scope_check; \
SCOPED_TRACE("@FastNative JNI with compiler"); \
gCurrentJni = static_cast<uint32_t>(JniKind::kFast); \
@@ -473,7 +472,6 @@ LockWord JniCompilerTest::GetLockWord(jobject obj) {
} \
\
TEST_F(JniCompilerTest, TestName ## FastGeneric) { \
- TEST_DISABLED_FOR_RISCV64(); \
ScopedCheckHandleScope top_handle_scope_check; \
SCOPED_TRACE("@FastNative JNI with generic"); \
gCurrentJni = static_cast<uint32_t>(JniKind::kFast); \