commit | 279cfba1f6086c25d6737471bc4f66ae79f4e681 | [log] [tgz] |
---|---|---|
author | Alexey Frunze <Alexey.Frunze@imgtec.com> | Sat Jul 22 00:24:43 2017 -0700 |
committer | Alexey Frunze <Alexey.Frunze@imgtec.com> | Mon Jul 24 09:43:09 2017 -0700 |
tree | e9ee9c1fb1180c89734ad57b3ee601a5545d9c9e | |
parent | 62432ae776aa618082865b40b111dbff75aedeb6 [diff] [blame] |
MIPS: Follow-up to hash-based DexCache methods array This is a MIPS-specific follow-up to https://android-review.googlesource.com/#/c/431679/. Test: booted MIPS32R2 in QEMU Test: booted MIPS64 (with 2nd arch MIPS32R6) in QEMU Change-Id: Ib16cf6613ae3b6537e7fbae1aff9a3316c9fd540
diff --git a/tools/cpp-define-generator/constant_globals.def b/tools/cpp-define-generator/constant_globals.def index a3ccc72..dbaf33c 100644 --- a/tools/cpp-define-generator/constant_globals.def +++ b/tools/cpp-define-generator/constant_globals.def
@@ -17,9 +17,12 @@ // Export global values. #if defined(DEFINE_INCLUDE_DEPENDENCIES) +#include <atomic> // std::memory_order_relaxed #include "globals.h" // art::kObjectAlignment #endif +DEFINE_EXPR(STD_MEMORY_ORDER_RELAXED, int32_t, std::memory_order_relaxed) + #define DEFINE_OBJECT_EXPR(macro_name, type, constant_field_name) \ DEFINE_EXPR(OBJECT_ ## macro_name, type, constant_field_name)