V8 Project
v8::internal::TestWithZone Class Reference

#include <test-utils.h>

+ Inheritance diagram for v8::internal::TestWithZone:
+ Collaboration diagram for v8::internal::TestWithZone:

Public Member Functions

 TestWithZone ()
 
virtual ~TestWithZone ()
 
Zonezone ()
 
- Public Member Functions inherited from v8::internal::TestWithIsolate
 TestWithIsolate ()
 
virtual ~TestWithIsolate ()
 
Factory * factory () const
 
Isolateisolate () const
 
- Public Member Functions inherited from v8::TestWithIsolate
 TestWithIsolate ()
 
Isolateisolate () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (TestWithZone)
 

Private Attributes

Zone zone_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::TestWithIsolate
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 

Detailed Description

Definition at line 70 of file test-utils.h.

Constructor & Destructor Documentation

◆ TestWithZone()

v8::internal::TestWithZone::TestWithZone ( )
inline

Definition at line 72 of file test-utils.h.

72 : zone_(isolate()) {}
Isolate * isolate() const
Definition: test-utils.h:61

◆ ~TestWithZone()

v8::internal::TestWithZone::~TestWithZone ( )
virtual

Definition at line 55 of file test-utils.cc.

55 {}

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::TestWithZone::DISALLOW_COPY_AND_ASSIGN ( TestWithZone  )
private

◆ zone()

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

Definition at line 75 of file test-utils.h.

75 { return &zone_; }

References zone_.

Referenced by v8::internal::compiler::InstructionSelectorTest::FINAL::MakeMachineSignature(), v8::internal::compiler::ChangeLoweringTest::Reduce(), v8::internal::compiler::JSBuiltinReducerTest::Reduce(), v8::internal::compiler::MachineOperatorReducerTest::Reduce(), and v8::internal::compiler::SimplifiedOperatorReducerTest::Reduce().

+ Here is the caller graph for this function:

Member Data Documentation

◆ zone_

Zone v8::internal::TestWithZone::zone_
private

Definition at line 78 of file test-utils.h.

Referenced by zone().


The documentation for this class was generated from the following files: