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

Unified Diff: src/ic/ic-state.h

Issue 888613002: Initial switch to Chromium-style CHECK_* and DCHECK_* macros. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: CHECK_NULL/NOT_NULL is back. Created 5 years, 11 months 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/ic/ic.cc ('k') | src/ic/x64/stub-cache-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic/ic-state.h
diff --git a/src/ic/ic-state.h b/src/ic/ic-state.h
index 72fc865c68d1ebe221f37829f5e457bf7c12cd84..4d72366b9bb0289ea557a009a7f5d6a098611058 100644
--- a/src/ic/ic-state.h
+++ b/src/ic/ic-state.h
@@ -123,8 +123,7 @@ class BinaryOpICState FINAL BASE_EMBEDDED {
return KindMaybeSmi(left_kind_) || KindMaybeSmi(right_kind_);
}
- static const int FIRST_TOKEN = Token::BIT_OR;
- static const int LAST_TOKEN = Token::MOD;
+ enum { FIRST_TOKEN = Token::BIT_OR, LAST_TOKEN = Token::MOD };
Token::Value op() const { return op_; }
OverwriteMode mode() const { return mode_; }
« no previous file with comments | « src/ic/ic.cc ('k') | src/ic/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698