| Index: src/compiler/register-allocator.cc
|
| diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc
|
| index 5bf858a86cf6e7551ce7a033603cc7c17990cbe2..2ab6e17508d11f10c7993ece7cd5ac09792c186b 100644
|
| --- a/src/compiler/register-allocator.cc
|
| +++ b/src/compiler/register-allocator.cc
|
| @@ -2434,6 +2434,9 @@ void SpillSlotLocator::LocateSpillSlots() {
|
| DCHECK_NOT_NULL(spills);
|
| for (; spills != nullptr; spills = spills->next) {
|
| code->GetInstructionBlock(spills->gap_index)->mark_needs_frame();
|
| + // TODO(danno): For now, any instruction block that needs a frame forces
|
| + // the entire function to have a frame.
|
| + data()->frame()->MarkNeedsFrame();
|
| }
|
| }
|
| }
|
|
|