| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 10196039edceee7066de0b506913221678150e98..261494b60d26634f5f079db5a03698b05b69db69 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -153,8 +153,6 @@ void FullCodeGenerator::Generate() {
|
|
|
| { Comment cmnt(masm_, "[ Allocate locals");
|
| int locals_count = info->scope()->num_stack_slots();
|
| - // Generators allocate locals, if any, in context slots.
|
| - DCHECK(!IsGeneratorFunction(info->literal()->kind()) || locals_count == 0);
|
| OperandStackDepthIncrement(locals_count);
|
| if (locals_count > 0) {
|
| if (locals_count >= 128) {
|
|
|