From dd7624d2b9e599d57762d12031b10b89defc9807 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Fri, 14 Mar 2014 17:43:00 -0700 Subject: Allow mixing of thread offsets between 32 and 64bit architectures. Begin a more full implementation x86-64 REX prefixes. Doesn't implement 64bit thread offset support for the JNI compiler. Change-Id: If9af2f08a1833c21ddb4b4077f9b03add1a05147 --- runtime/entrypoints/jni/jni_entrypoints.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'runtime/entrypoints/jni') diff --git a/runtime/entrypoints/jni/jni_entrypoints.h b/runtime/entrypoints/jni/jni_entrypoints.h index 0a53447..6fb0560 100644 --- a/runtime/entrypoints/jni/jni_entrypoints.h +++ b/runtime/entrypoints/jni/jni_entrypoints.h @@ -20,9 +20,8 @@ #include "base/macros.h" #include "offsets.h" -#define JNI_ENTRYPOINT_OFFSET(x) \ - ThreadOffset(static_cast(OFFSETOF_MEMBER(Thread, jni_entrypoints_)) + \ - static_cast(OFFSETOF_MEMBER(JniEntryPoints, x))) +#define JNI_ENTRYPOINT_OFFSET(ptr_size, x) \ + Thread::JniEntryPointOffset(OFFSETOF_MEMBER(JniEntryPoints, x)) namespace art { -- cgit v1.1