| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index 69677b0b653772472c25ff5362d6be0b41bb877f..bca1afc3b6bcb320e9ba963a2cfb084c8889ef1c 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -152,8 +152,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) {
|
|
|