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 2d0a08bbdfc295255ac17868d0b0f143c765abee..b9c6f6b81b0f09bb4ecf6dda93595cd917841ed3 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -708,11 +708,9 @@ void FullCodeGenerator::VisitVariableDeclaration( |
switch (variable->location()) { |
case VariableLocation::GLOBAL: |
case VariableLocation::UNALLOCATED: |
+ DCHECK(!variable->binding_needs_init()); |
globals_->Add(variable->name(), zone()); |
- globals_->Add(variable->binding_needs_init() |
- ? isolate()->factory()->the_hole_value() |
- : isolate()->factory()->undefined_value(), |
- zone()); |
+ globals_->Add(isolate()->factory()->undefined_value(), zone()); |
break; |
case VariableLocation::PARAMETER: |