| Index: src/mips64/full-codegen-mips64.cc
|
| diff --git a/src/mips64/full-codegen-mips64.cc b/src/mips64/full-codegen-mips64.cc
|
| index eb143f8deecb4a8ca9940a65f8a157ce0df14f02..e4a81adc74471efd896032b8214bf759232166c5 100644
|
| --- a/src/mips64/full-codegen-mips64.cc
|
| +++ b/src/mips64/full-codegen-mips64.cc
|
| @@ -158,7 +158,7 @@ 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(!info->function()->is_generator() || locals_count == 0);
|
| + DCHECK(!IsGeneratorFunction(info->function()->kind()) || locals_count == 0);
|
| if (locals_count > 0) {
|
| if (locals_count >= 128) {
|
| Label ok;
|
|
|