Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 7b62443ca1ecd0a59a450abef8371450bbd07683..8d4c31088301473a64abf8e3af7028345c64772a 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -948,7 +948,7 @@ void AstGraphBuilder::VisitClassLiteralContents(ClassLiteral* expr) { |
// Assign to class variable. |
if (expr->scope() != NULL) { |
- DCHECK_NOT_NULL(expr->class_variable_proxy()); |
+ DCHECK(expr->class_variable_proxy()); |
Variable* var = expr->class_variable_proxy()->var(); |
BuildVariableAssignment(var, literal, Token::INIT_CONST, BailoutId::None()); |
} |