Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index c67cc64a13da1c20492309002ebf9165327f472f..d959a5d34d6e188a9da6ba448b779d622b1e11b1 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -1559,7 +1559,10 @@ |
const RegList saves_fp = descriptor->CalleeSavedFPRegisters(); |
if (saves_fp != 0) { |
- frame->AlignFrame(); |
+ frame->AlignSavedCalleeRegisterSlots(); |
+ } |
+ |
+ if (saves_fp != 0) { |
// Save callee-saved FP registers. |
STATIC_ASSERT(DwVfpRegister::kMaxNumRegisters == 32); |
uint32_t last = base::bits::CountLeadingZeros32(saves_fp) - 1; |