| Index: src/compiler/mips/code-generator-mips.cc
|
| diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc
|
| index c83f82407c5ea7ed227e3c3c75a167e396d35a46..9ec3705d2e74c47861cc26ca9ae910f9a601237e 100644
|
| --- a/src/compiler/mips/code-generator-mips.cc
|
| +++ b/src/compiler/mips/code-generator-mips.cc
|
| @@ -1822,7 +1822,10 @@
|
|
|
| const RegList saves_fpu = descriptor->CalleeSavedFPRegisters();
|
| if (saves_fpu != 0) {
|
| - frame->AlignFrame();
|
| + frame->AlignSavedCalleeRegisterSlots();
|
| + }
|
| +
|
| + if (saves_fpu != 0) {
|
| int count = base::bits::CountPopulation32(saves_fpu);
|
| DCHECK(kNumCalleeSavedFPU == count);
|
| frame->AllocateSavedCalleeRegisterSlots(count *
|
|
|