diff options
| author | 2018-05-21 12:12:28 +0000 | |
|---|---|---|
| committer | 2018-05-21 12:12:28 +0000 | |
| commit | 518fcc50fa47532889f597aa8c9da85f3966c947 (patch) | |
| tree | c84f950ba22d1b9a7d0383628dc9fc249dcfecf3 | |
| parent | f6049755305a29bd3ef6dd40d70c2ab3da0670e6 (diff) | |
| parent | b674a1435c552e26dbd81aa77c22f4db454f0006 (diff) | |
Merge "Revert^2 "Move kVRegSize to globals.h to reduce include dependencies.""
| -rw-r--r-- | libartbase/base/globals.h | 3 | ||||
| -rw-r--r-- | runtime/stack_map.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libartbase/base/globals.h b/libartbase/base/globals.h index 69d1a64a3b..39e0c509cd 100644 --- a/libartbase/base/globals.h +++ b/libartbase/base/globals.h @@ -38,6 +38,9 @@ static constexpr size_t kStackAlignment = 16; // compile-time constant so the compiler can generate better code. static constexpr int kPageSize = 4096; +// Size of Dex virtual registers. +static constexpr size_t kVRegSize = 4; + // Returns whether the given memory offset can be used for generating // an implicit null check. static inline bool CanDoImplicitNullCheckOn(uintptr_t offset) { diff --git a/runtime/stack_map.h b/runtime/stack_map.h index 7d3d56a1d2..fb1867488e 100644 --- a/runtime/stack_map.h +++ b/runtime/stack_map.h @@ -37,9 +37,6 @@ class VariableIndentationOutputStream; // (signed) values. static constexpr ssize_t kFrameSlotSize = 4; -// Size of Dex virtual registers. -static constexpr size_t kVRegSize = 4; - class ArtMethod; class CodeInfo; class StackMapEncoding; |