Index: src/func-name-inferrer.h |
diff --git a/src/func-name-inferrer.h b/src/func-name-inferrer.h |
index 43ef761fea95a038b2106fdd99373c0bfa964e42..8b077f9d8cf6b4c0ebee72d677378d965bd5c951 100644 |
--- a/src/func-name-inferrer.h |
+++ b/src/func-name-inferrer.h |
@@ -61,7 +61,7 @@ class FuncNameInferrer : public ZoneObject { |
// Infers a function name and leaves names collection state. |
void Infer() { |
- ASSERT(IsOpen()); |
+ DCHECK(IsOpen()); |
if (!funcs_to_infer_.is_empty()) { |
InferFunctionsNames(); |
} |
@@ -69,7 +69,7 @@ class FuncNameInferrer : public ZoneObject { |
// Leaves names collection state. |
void Leave() { |
- ASSERT(IsOpen()); |
+ DCHECK(IsOpen()); |
names_stack_.Rewind(entries_stack_.RemoveLast()); |
if (entries_stack_.is_empty()) |
funcs_to_infer_.Clear(); |