Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 58e5e978abf2dd7b73363378ccef7d1d4e9780f6..01f2fafefa6429e66ca7644893a368c9bdde0dc6 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1575,11 +1575,7 @@ void FullCodeGenerator::VisitClassLiteral(ClassLiteral* lit) { |
__ Push(isolate()->factory()->the_hole_value()); |
} |
- if (lit->constructor() != NULL) { |
- VisitForStackValue(lit->constructor()); |
- } else { |
- __ Push(isolate()->factory()->undefined_value()); |
- } |
+ VisitForStackValue(lit->constructor()); |
__ Push(script()); |
__ Push(Smi::FromInt(lit->start_position())); |