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

Unified Diff: src/ic/ic.h

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
Index: src/ic/ic.h
diff --git a/src/ic/ic.h b/src/ic/ic.h
index 6fdae8967ec815917248731c7cdf8b409341b02b..daca7da3aa7882e4e5e7812d4469fe053d937d17 100644
--- a/src/ic/ic.h
+++ b/src/ic/ic.h
@@ -88,7 +88,7 @@ class IC {
static void Clear(Isolate* isolate, Address address,
ConstantPoolArray* constant_pool);
-#ifdef DEBUG
+#if DCHECK_IS_ON
bool IsLoadStub() const {
return target()->is_load_stub() || target()->is_keyed_load_stub();
}

Powered by Google App Engine
This is Rietveld 408576698