![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <zone.h>
Public Member Functions | |
| Zone (Isolate *isolate) | |
| ~Zone () | |
| void * | New (int size) |
| template<typename T > | |
| T * | NewArray (int length) |
| void | DeleteAll () |
| void | DeleteKeptSegment () |
| bool | excess_allocation () |
| void | adjust_segment_bytes_allocated (int delta) |
| unsigned | allocation_size () |
| Isolate * | isolate () |
Friends | |
| class | Isolate |
| ~Zone | ( | ) |
Definition at line 80 of file zone.cc.
References ASSERT, Zone::DeleteAll(), and Zone::DeleteKeptSegment().
|
inline |
Definition at line 104 of file zone-inl.h.
References Isolate::counters().
| void DeleteAll | ( | ) |
Definition at line 88 of file zone.cc.
References ASAN_UNPOISON_MEMORY_REGION, Segment::capacity(), Segment::clear_next(), Segment::end(), Segment::next(), v8::internal::NULL, v8::internal::RoundUp(), v8::internal::size, and Segment::start().
Referenced by Zone::~Zone(), and ZoneScope::~ZoneScope().
| void DeleteKeptSegment | ( | ) |
Definition at line 140 of file zone.cc.
References ASAN_UNPOISON_MEMORY_REGION, ASSERT, Segment::next(), v8::internal::NULL, Segment::size(), and v8::internal::size.
Referenced by Zone::~Zone().
|
inline |
Definition at line 99 of file zone-inl.h.
|
inline |
Definition at line 90 of file zone.h.
Referenced by DeferredFeedbackSlotProcessor::add_slot_node(), CharacterRange::AddCaseEquivalents(), RegExpCompiler::Assemble(), RegExpEngine::Compile(), ScopeInfo::Create(), BoyerMooreLookahead::EmitSkipInstructions(), Analysis::EnsureAnalyzed(), TextNode::GetQuickCheckDetails(), TypeFeedbackOracle::isolate(), V8_FINAL< kOperandKind, kNumCachedOperands >::New(), AstNode::ReserveIdRange(), and ParserTraits::SetUpFunctionState().
|
inline |
Definition at line 51 of file zone-inl.h.
References ASSERT, v8::internal::IsAddressAligned(), v8::internal::kPointerSize, v8::internal::RoundUp(), and v8::internal::size.
Referenced by zone_allocator< T >::allocate(), DynamicScopePart::DynamicScopePart(), Zone::NewArray(), and HOptimizedGraphBuilder::operator new().
|
inline |
Definition at line 93 of file zone-inl.h.
References CHECK, Zone::New(), and T.
Referenced by V8_FINAL< kOperandKind, kNumCachedOperands >::Copy(), and HPositionInfo::ensure_storage_for_operand_positions().