Revision: 19250
Author: [email protected]
Date: Tue Feb 11 07:05:47 2014 UTC
Log: Fix Windows build.
[email protected]
Review URL: https://codereview.chromium.org/152813006
http://code.google.com/p/v8/source/detail?r=19250
Modified:
/branches/bleeding_edge/src/hydrogen-gvn.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-gvn.h Tue Feb 11 06:53:14 2014 UTC
+++ /branches/bleeding_edge/src/hydrogen-gvn.h Tue Feb 11 07:05:47 2014 UTC
@@ -44,7 +44,9 @@
public:
static const int kNumberOfSpecials = 64 - kNumberOfFlags;
- SideEffects() : bits_(0) {}
+ SideEffects() : bits_(0) {
+ ASSERT(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT);
+ }
explicit SideEffects(GVNFlagSet flags) : bits_(flags.ToIntegral()) {}
bool IsEmpty() const { return bits_ == 0; }
bool ContainsFlag(GVNFlag flag) const {
@@ -74,7 +76,6 @@
}
uint64_t bits_;
- STATIC_ASSERT(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) *
CHAR_BIT);
};
--
--
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.