Chromium Code Reviews| Index: src/heap/store-buffer.h |
| diff --git a/src/heap/store-buffer.h b/src/heap/store-buffer.h |
| index 9c6eac90b5897bb02fe84bb6e360880c4c42860d..1e41ef453ea6ba38e72dd618d86dc67fe138be2b 100644 |
| --- a/src/heap/store-buffer.h |
| +++ b/src/heap/store-buffer.h |
| @@ -18,8 +18,8 @@ namespace internal { |
| // code. On buffer overflow the slots are moved to the remembered set. |
| class StoreBuffer { |
| public: |
| - static const int kStoreBufferOverflowBit = 1 << (14 + kPointerSizeLog2); |
| - static const int kStoreBufferSize = kStoreBufferOverflowBit; |
| + static const int kStoreBufferSize = 1 << (14 + kPointerSizeLog2); |
| + static const int kStoreBufferMask = kStoreBufferSize - 1; |
| static const int kStoreBufferLength = kStoreBufferSize / sizeof(Address); |
|
Michael Lippautz
2016/03/31 15:44:52
nit: kStoreBufferLength is unused. Let's remove it
ulan
2016/03/31 16:23:14
Done
|
| static void StoreBufferOverflow(Isolate* isolate); |