| Index: src/full-codegen/ia32/full-codegen-ia32.cc
|
| diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| index b279b9e1aaec48e30ac18aa7c407c6e81f2fea26..87840f7488af57253d099e6ad0a6a8f7d0a2ab7b 100644
|
| --- a/src/full-codegen/ia32/full-codegen-ia32.cc
|
| +++ b/src/full-codegen/ia32/full-codegen-ia32.cc
|
| @@ -130,8 +130,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(literal()->kind()) || locals_count == 0);
|
| OperandStackDepthIncrement(locals_count);
|
| if (locals_count == 1) {
|
| __ push(Immediate(isolate()->factory()->undefined_value()));
|
|
|