| 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 #ifndef V8_STORE_BUFFER_H_ | 5 #ifndef V8_STORE_BUFFER_H_ |
| 6 #define V8_STORE_BUFFER_H_ | 6 #define V8_STORE_BUFFER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/base/logging.h" | 9 #include "src/base/logging.h" |
| 10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 } | 220 } |
| 221 | 221 |
| 222 ~DontMoveStoreBufferEntriesScope() { | 222 ~DontMoveStoreBufferEntriesScope() { |
| 223 store_buffer_->may_move_store_buffer_entries_ = stored_state_; | 223 store_buffer_->may_move_store_buffer_entries_ = stored_state_; |
| 224 } | 224 } |
| 225 | 225 |
| 226 private: | 226 private: |
| 227 StoreBuffer* store_buffer_; | 227 StoreBuffer* store_buffer_; |
| 228 bool stored_state_; | 228 bool stored_state_; |
| 229 }; | 229 }; |
| 230 } | 230 } // namespace internal |
| 231 } // namespace v8::internal | 231 } // namespace v8 |
| 232 | 232 |
| 233 #endif // V8_STORE_BUFFER_H_ | 233 #endif // V8_STORE_BUFFER_H_ |
| OLD | NEW |