| Index: src/ppc/full-codegen-ppc.cc
|
| diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc
|
| index 6f43313026952d4da836a8b210b373f5c1fcd429..6e52eade69d81a1a5a71d8a15cbc925c60d33a1a 100644
|
| --- a/src/ppc/full-codegen-ppc.cc
|
| +++ b/src/ppc/full-codegen-ppc.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;
|
|
|