| Index: src/compiler/frame.h
|
| diff --git a/src/compiler/frame.h b/src/compiler/frame.h
|
| index aa823b6ba8ad0f885c68ed6dfe91f460a48e11c2..0b066783c362d0da0628aaf00b99bbfad2da715b 100644
|
| --- a/src/compiler/frame.h
|
| +++ b/src/compiler/frame.h
|
| @@ -110,9 +110,9 @@ class Frame : public ZoneObject {
|
|
|
| int AlignSavedCalleeRegisterSlots() {
|
| DCHECK_EQ(0, spilled_callee_register_slot_count_);
|
| - int frame_slot_count_before = frame_slot_count_;
|
| - frame_slot_count_ = RoundUp(frame_slot_count_, 2);
|
| - return frame_slot_count_before - frame_slot_count_;
|
| + int delta = frame_slot_count_ & 1;
|
| + frame_slot_count_ += delta;
|
| + return delta;
|
| }
|
|
|
| void AllocateSavedCalleeRegisterSlots(int count) {
|
|
|