Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 9370ef332807f1f98fe24c748d7046d663bd7e47..34c26845716802475952d6ba8eb82993ba423f7d 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -144,8 +144,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) { |