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

Unified Diff: src/hydrogen-check-elimination.cc

Issue 95493002: Remove static asserts that dont compile on windows (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-check-elimination.cc
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc
index ae0b2da99325f1f45048fae9ce2b41886644eb02..53332215b3b1cec5d31354a7cddff0d72688a6c7 100644
--- a/src/hydrogen-check-elimination.cc
+++ b/src/hydrogen-check-elimination.cc
@@ -399,9 +399,7 @@ class HCheckTable : public ZoneObject {
HCheckTableEntry entries_[kMaxTrackedObjects];
int16_t cursor_; // Must be <= kMaxTrackedObjects
int16_t size_; // Must be <= kMaxTrackedObjects
-
- STATIC_ASSERT((1L << (sizeof(cursor_) * 8)) > kMaxTrackedObjects);
- STATIC_ASSERT((1L << (sizeof(size_) * 8)) > kMaxTrackedObjects);
+ // TODO(titzer): STATIC_ASSERT kMaxTrackedObjects < max(cursor_)
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698