V8 Project
v8::internal::ZoneScope Struct Reference

#include <zone.h>

+ Collaboration diagram for v8::internal::ZoneScope:

Public Member Functions

 ZoneScope (Zone *zone)
 
 ~ZoneScope ()
 
Zonezone ()
 

Private Attributes

Zonezone_
 

Detailed Description

Definition at line 149 of file zone.h.

Constructor & Destructor Documentation

◆ ZoneScope()

v8::internal::ZoneScope::ZoneScope ( Zone zone)
inlineexplicit

Definition at line 151 of file zone.h.

151 : zone_(zone) { }

◆ ~ZoneScope()

v8::internal::ZoneScope::~ZoneScope ( )
inline

Definition at line 152 of file zone.h.

152 { zone_->DeleteAll(); }
void DeleteAll()
Definition: zone.cc:106

References v8::internal::Zone::DeleteAll(), and zone_.

+ Here is the call graph for this function:

Member Function Documentation

◆ zone()

Zone* v8::internal::ZoneScope::zone ( )
inline

Definition at line 154 of file zone.h.

154 { return zone_; }

References zone_.

Referenced by v8::internal::RUNTIME_FUNCTION(), v8::internal::StringReplaceGlobalAtomRegExpWithString(), and v8::internal::StringReplaceGlobalRegExpWithString().

+ Here is the caller graph for this function:

Member Data Documentation

◆ zone_

Zone* v8::internal::ZoneScope::zone_
private

Definition at line 157 of file zone.h.

Referenced by zone(), and ~ZoneScope().


The documentation for this struct was generated from the following file: