Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index f014951ca5c36fc04b690d39fb6c17ed56485b60..89977786227f0e27830191aac4036d37bb4bd3f7 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.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) { |