![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <register-allocator.h>
Public Types | |
| using | value_type = T |
| using | iterator = T* |
| using | const_iterator = const T* |
Public Member Functions | |
| ASSERT_TRIVIALLY_COPYABLE (T) | |
| size_t | size () const |
| bool | empty () const |
| size_t | capacity () const |
| T * | data () const |
| void | clear () |
| T & | operator[] (size_t position) |
| const T & | operator[] (size_t position) const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| T & | front () |
| const T & | front () const |
| T & | back () |
| const T & | back () const |
| void | push_front (Zone *zone, const T &value) |
| void | pop_front () |
| template<GrowthDirection direction = kFrontOrBack> | |
| iterator | insert (Zone *zone, const_iterator position, const T &value) |
| DoubleEndedSplitVector< T > | SplitAt (const_iterator split_begin_const) |
| void | Append (Zone *zone, DoubleEndedSplitVector< T > other) |
Private Member Functions | |
| size_t | space_at_front () const |
| size_t | space_at_back () const |
| template<GrowthDirection direction> | |
| V8_INLINE void | EnsureOneMoreCapacityAt (Zone *zone) |
| template<GrowthDirection direction> | |
| V8_NOINLINE V8_PRESERVE_MOST void | GrowAt (Zone *zone, size_t new_minimum_capacity) |
Private Attributes | |
| T * | storage_begin_ = nullptr |
| T * | data_begin_ = nullptr |
| T * | data_end_ = nullptr |
| T * | storage_end_ = nullptr |
Static Private Attributes | |
| static constexpr size_t | kMinCapacity = 2 |
Definition at line 542 of file register-allocator.h.
| using v8::internal::compiler::DoubleEndedSplitVector< T >::const_iterator = const T* |
Definition at line 546 of file register-allocator.h.
| using v8::internal::compiler::DoubleEndedSplitVector< T >::iterator = T* |
Definition at line 545 of file register-allocator.h.
| using v8::internal::compiler::DoubleEndedSplitVector< T >::value_type = T |
Definition at line 544 of file register-allocator.h.
|
inline |
Definition at line 680 of file register-allocator.h.
| v8::internal::compiler::DoubleEndedSplitVector< T >::ASSERT_TRIVIALLY_COPYABLE | ( | T | ) |
|
inline |
Definition at line 583 of file register-allocator.h.
|
inline |
|
inline |
|
inline |
Definition at line 571 of file register-allocator.h.
|
inline |
|
inline |
Definition at line 559 of file register-allocator.h.
|
inline |
Definition at line 557 of file register-allocator.h.
|
inline |
Definition at line 554 of file register-allocator.h.
|
inline |
|
inline |
Definition at line 573 of file register-allocator.h.
|
inlineprivate |
Definition at line 721 of file register-allocator.h.
|
inline |
Definition at line 575 of file register-allocator.h.
|
inline |
|
inlineprivate |
Definition at line 734 of file register-allocator.h.
|
inline |
Definition at line 606 of file register-allocator.h.
|
inline |
|
inline |
|
inline |
Definition at line 597 of file register-allocator.h.
|
inline |
Definition at line 592 of file register-allocator.h.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
Definition at line 650 of file register-allocator.h.
|
private |
Definition at line 770 of file register-allocator.h.
|
private |
Definition at line 771 of file register-allocator.h.
|
staticconstexprprivate |
Definition at line 715 of file register-allocator.h.
|
private |
Definition at line 769 of file register-allocator.h.
|
private |
Definition at line 772 of file register-allocator.h.