diff options
Diffstat (limited to 'runtime/arch/arm/context_arm.cc')
-rw-r--r-- | runtime/arch/arm/context_arm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/arch/arm/context_arm.cc b/runtime/arch/arm/context_arm.cc index 102e126..0e1b25e 100644 --- a/runtime/arch/arm/context_arm.cc +++ b/runtime/arch/arm/context_arm.cc @@ -44,8 +44,8 @@ void ArmContext::FillCalleeSaves(const StackVisitor& fr) { mirror::ArtMethod* method = fr.GetMethod(); uint32_t core_spills = method->GetCoreSpillMask(); uint32_t fp_core_spills = method->GetFpSpillMask(); - size_t spill_count = __builtin_popcount(core_spills); - size_t fp_spill_count = __builtin_popcount(fp_core_spills); + size_t spill_count = POPCOUNT(core_spills); + size_t fp_spill_count = POPCOUNT(fp_core_spills); size_t frame_size = method->GetFrameSizeInBytes(); if (spill_count > 0) { // Lowest number spill is farthest away, walk registers and fill into context |