Index: src/parsing/func-name-inferrer.cc |
diff --git a/src/parsing/func-name-inferrer.cc b/src/parsing/func-name-inferrer.cc |
index a86e1c299fe28b2afd59b73a00cf661f8a1dd54e..b1e6890683433e463e1f59bac34f79849dcedc6d 100644 |
--- a/src/parsing/func-name-inferrer.cc |
+++ b/src/parsing/func-name-inferrer.cc |
@@ -46,8 +46,8 @@ void FuncNameInferrer::PushVariableName(const AstRawString* name) { |
void FuncNameInferrer::RemoveAsyncKeywordFromEnd() { |
if (IsOpen()) { |
- DCHECK(names_stack_.length() > 0); |
- DCHECK(names_stack_.last().name->IsOneByteEqualTo("async")); |
+ CHECK(names_stack_.length() > 0); |
+ CHECK(names_stack_.last().name->IsOneByteEqualTo("async")); |
names_stack_.RemoveLast(); |
} |
} |