| Index: src/heap/spaces.h
|
| diff --git a/src/heap/spaces.h b/src/heap/spaces.h
|
| index 95a24f008b6ce5b86feeecb9470d2d7271e45758..e7c261066c198dbdf431492f8fe60b182fb2e69d 100644
|
| --- a/src/heap/spaces.h
|
| +++ b/src/heap/spaces.h
|
| @@ -534,7 +534,7 @@ class MemoryChunk {
|
|
|
| void SetFlag(Flag flag) { flags_ |= flag; }
|
| void ClearFlag(Flag flag) { flags_ &= ~Flags(flag); }
|
| - bool IsFlagSet(Flag flag) { return flags_ & flag; }
|
| + bool IsFlagSet(Flag flag) { return (flags_ & flag) != 0; }
|
|
|
| // Set or clear multiple flags at a time. The flags in the mask are set to
|
| // the value in "flags", the rest retain the current value in |flags_|.
|
|
|