Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index 28d405873a6e1b6640302bdcbf6659e9b078aeae..ea9fc9c8d51d4367e616c9f6e5e7f3e784abf2fe 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -1306,8 +1306,8 @@ Variable* Scope::LookupRecursive(VariableProxy* proxy, |
return nullptr; |
} |
} else { |
- DCHECK(is_function_scope() || is_script_scope() || is_eval_scope()); |
DCHECK(!is_with_scope()); |
+ DCHECK(is_function_scope() || is_script_scope() || is_eval_scope()); |
} |
if (calls_sloppy_eval() && is_declaration_scope() && !is_script_scope()) { |