Reviewers: mvstanton,
Message:
Committed patchset #1 manually as r18138.
Description:
Remove static asserts that dont compile on windows
TBR=mvstanton
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=18138
Please review this at https://codereview.chromium.org/95493002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+1, -3 lines):
M src/hydrogen-check-elimination.cc
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_)
};
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.