Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 7369e75ea1558c7d5b5d2a692b97d2f263ecd5c7..595c1efd8b7066eed244a60a68440f8ac5c48df2 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -152,13 +152,13 @@ StrictMode FunctionLiteral::strict_mode() const { |
bool FunctionLiteral::uses_super_property() const { |
- DCHECK_NOT_NULL(scope()); |
+ DCHECK(scope()); |
return scope()->uses_super_property() || scope()->inner_uses_super_property(); |
} |
bool FunctionLiteral::uses_super_constructor_call() const { |
- DCHECK_NOT_NULL(scope()); |
+ DCHECK(scope()); |
return scope()->uses_super_constructor_call() || |
scope()->inner_uses_super_constructor_call(); |
} |