Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: src/string-stream.cc

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/string-stream.h ('k') | src/transitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/string-stream.cc
diff --git a/src/string-stream.cc b/src/string-stream.cc
index 21f66a613061d190ad49dca044ecf122a37cef6a..ed0811eb44f2ced44533865a57c6fe113f92f068 100644
--- a/src/string-stream.cc
+++ b/src/string-stream.cc
@@ -282,7 +282,7 @@ void StringStream::ClearMentionedObjectCache(Isolate* isolate) {
}
-#ifdef DEBUG
+#if DCHECK_IS_ON
bool StringStream::IsMentionedObjectCacheClear(Isolate* isolate) {
return isolate->string_stream_debug_object_cache()->length() == 0;
}
« no previous file with comments | « src/string-stream.h ('k') | src/transitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698