Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 531ca051d2340a56471615e905512edc8e283f36..6efc0f1ace5b5deeefa2c3ae47fb77a535d2d225 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -151,8 +151,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) { |