8248666: AArch64: Use THREAD_LOCAL instead of __thread

__thread is gcc-ism, instead rely on compiler independent macro.

Reviewed-by: dholmes
This commit is contained in:
Bernhard Urban-Forster 2020-07-22 15:03:50 +02:00 committed by Bernhard Urban
parent 1b1c1cd7b9
commit 2f8653fbf0

View File

@ -658,10 +658,10 @@ intptr_t* frame::real_fp() const {
p[frame::name##_offset], #name); \
}
static __thread uintptr_t nextfp;
static __thread uintptr_t nextpc;
static __thread uintptr_t nextsp;
static __thread RegisterMap *reg_map;
static THREAD_LOCAL uintptr_t nextfp;
static THREAD_LOCAL uintptr_t nextpc;
static THREAD_LOCAL uintptr_t nextsp;
static THREAD_LOCAL RegisterMap *reg_map;
static void printbc(Method *m, intptr_t bcx) {
const char *name;