V8 Project
anonymous_namespace{run-all-unittests.cc}::FINAL Class Reference
+ Inheritance diagram for anonymous_namespace{run-all-unittests.cc}::FINAL:
+ Collaboration diagram for anonymous_namespace{run-all-unittests.cc}::FINAL:

Public Member Functions

 DefaultPlatformEnvironment ()
 
 ~DefaultPlatformEnvironment ()
 
virtual void SetUp () OVERRIDE
 
virtual void TearDown () OVERRIDE
 

Private Attributes

v8::Platformplatform_
 

Detailed Description

Definition at line 12 of file run-all-unittests.cc.

Constructor & Destructor Documentation

◆ ~DefaultPlatformEnvironment()

anonymous_namespace{run-all-unittests.cc}::FINAL::~DefaultPlatformEnvironment ( )
inline

Definition at line 15 of file run-all-unittests.cc.

15 {}

Member Function Documentation

◆ DefaultPlatformEnvironment()

anonymous_namespace{run-all-unittests.cc}::FINAL::DefaultPlatformEnvironment ( )
inline

Definition at line 14 of file run-all-unittests.cc.

14 : platform_(NULL) {}
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

◆ SetUp()

virtual void anonymous_namespace{run-all-unittests.cc}::FINAL::SetUp ( )
inlinevirtual

Definition at line 17 of file run-all-unittests.cc.

17  {
18  EXPECT_EQ(NULL, platform_);
20  ASSERT_TRUE(platform_ != NULL);
22  ASSERT_TRUE(v8::V8::Initialize());
23  }
static void InitializePlatform(Platform *platform)
Sets the v8::Platform to use.
Definition: api.cc:5048
static bool Initialize()
Initializes V8.
Definition: api.cc:5058
v8::Platform * CreateDefaultPlatform(int thread_pool_size)
Returns a new instance of the default v8::Platform implementation.

References v8::platform::CreateDefaultPlatform(), v8::V8::Initialize(), v8::V8::InitializePlatform(), and NULL.

+ Here is the call graph for this function:

◆ TearDown()

virtual void anonymous_namespace{run-all-unittests.cc}::FINAL::TearDown ( )
inlinevirtual

Definition at line 25 of file run-all-unittests.cc.

25  {
26  ASSERT_TRUE(platform_ != NULL);
29  delete platform_;
30  platform_ = NULL;
31  }
static void ShutdownPlatform()
Clears all references to the v8::Platform.
Definition: api.cc:5053
static bool Dispose()
Releases any resources used by v8 and stops any utility threads that may be running.
Definition: api.cc:5084

References v8::V8::Dispose(), NULL, and v8::V8::ShutdownPlatform().

+ Here is the call graph for this function:

Member Data Documentation

◆ platform_

v8::Platform* anonymous_namespace{run-all-unittests.cc}::FINAL::platform_
private

Definition at line 34 of file run-all-unittests.cc.


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