OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <algorithm> | 5 #include <algorithm> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/counters.h" | 9 #include "src/counters.h" |
10 #include "src/heap/store-buffer-inl.h" | 10 #include "src/heap/store-buffer-inl.h" |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 hash_set_1_[hash1] = int_addr; | 572 hash_set_1_[hash1] = int_addr; |
573 hash_set_2_[hash2] = 0; | 573 hash_set_2_[hash2] = 0; |
574 } | 574 } |
575 old_buffer_is_sorted_ = false; | 575 old_buffer_is_sorted_ = false; |
576 old_buffer_is_filtered_ = false; | 576 old_buffer_is_filtered_ = false; |
577 *old_top_++ = reinterpret_cast<Address>(int_addr << kPointerSizeLog2); | 577 *old_top_++ = reinterpret_cast<Address>(int_addr << kPointerSizeLog2); |
578 DCHECK(old_top_ <= old_limit_); | 578 DCHECK(old_top_ <= old_limit_); |
579 } | 579 } |
580 heap_->isolate()->counters()->store_buffer_compactions()->Increment(); | 580 heap_->isolate()->counters()->store_buffer_compactions()->Increment(); |
581 } | 581 } |
582 } | 582 } // namespace internal |
583 } // namespace v8::internal | 583 } // namespace v8 |
OLD | NEW |