diff options
| author | 2014-11-05 23:46:43 -0800 | |
|---|---|---|
| committer | 2014-11-13 16:17:46 -0800 | |
| commit | d582fa4ea62083a7598dded5b82dc2198b3daac7 (patch) | |
| tree | c76704c266ef4687eab425612ddf3fd24f93fe8d /compiler/utils/stack_checks.h | |
| parent | f20076ff813b8012096ff31af236d59db3c0f4e1 (diff) | |
Instruction set features for ARM64, MIPS and X86.
Also, refactor how feature strings are handled so they are additive or
subtractive.
Make MIPS have features for FPU 32-bit and MIPS v2. Use in the quick compiler
rather than #ifdefs that wouldn't have worked in cross-compilation.
Add SIMD features for x86/x86-64 proposed in:
https://android-review.googlesource.com/#/c/112370/
Bug: 18056890
Change-Id: Ic88ff84a714926bd277beb74a430c5c7d5ed7666
Diffstat (limited to 'compiler/utils/stack_checks.h')
| -rw-r--r-- | compiler/utils/stack_checks.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/utils/stack_checks.h b/compiler/utils/stack_checks.h index e762f7d266..c348f2c8ee 100644 --- a/compiler/utils/stack_checks.h +++ b/compiler/utils/stack_checks.h @@ -17,7 +17,7 @@ #ifndef ART_COMPILER_UTILS_STACK_CHECKS_H_ #define ART_COMPILER_UTILS_STACK_CHECKS_H_ -#include "instruction_set.h" +#include "arch/instruction_set.h" namespace art { @@ -34,8 +34,7 @@ static constexpr size_t kSmallFrameSize = 1 * KB; // stack overflow check on method entry. // // A frame is considered large when it's above kLargeFrameSize. -static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa) { - UNUSED(isa); +static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { return size >= kLargeFrameSize; } |