summaryrefslogtreecommitdiff
path: root/src/env.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/env.cc')
-rw-r--r--src/env.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/env.cc b/src/env.cc
index afdebc304f..d8c4dce205 100644
--- a/src/env.cc
+++ b/src/env.cc
@@ -622,9 +622,7 @@ void Environment::RunAndClearNativeImmediates() {
};
while (drain_list()) {}
-#ifdef DEBUG
- CHECK_GE(immediate_info()->count(), count);
-#endif
+ DCHECK_GE(immediate_info()->count(), count);
immediate_info()->count_dec(count);
immediate_info()->ref_count_dec(ref_count);
}