Fix Windows build.
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/152813006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19250 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a5ef6e5eec
commit
3c012436d7
@ -44,7 +44,9 @@ class SideEffects V8_FINAL {
|
||||
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 @@ class SideEffects V8_FINAL {
|
||||
}
|
||||
|
||||
uint64_t bits_;
|
||||
STATIC_ASSERT(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user