v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cctest.h File Reference
#include "v8.h"
Include dependency graph for cctest.h:

Go to the source code of this file.

Data Structures

class  CcTest
 
class  ApiTestFuzzer
 
class  RegisterThreadedTest
 
class  LocalContext
 
class  HeapObjectsTracker
 

Macros

#define TEST(Name)
 
#define UNINITIALIZED_TEST(Name)
 
#define DEPENDENT_TEST(Name, Dep)
 
#define DISABLED_TEST(Name)
 
#define EXTENSION_LIST(V)
 
#define DEFINE_EXTENSION_ID(Name, Ident)   Name##_ID,
 
#define DEFINE_EXTENSION_FLAG(Name, Ident)   static const CcTestExtensionFlags Name(1 << Name##_ID);
 
#define THREADED_TEST(Name)
 

Typedefs

typedef v8::internal::EnumSet
< CcTestExtensionIds
CcTestExtensionFlags
 

Enumerations

enum  CcTestExtensionIds { kMaxExtensions }
 

Macro Definition Documentation

#define DEFINE_EXTENSION_FLAG (   Name,
  Ident 
)    static const CcTestExtensionFlags Name(1 << Name##_ID);

Definition at line 75 of file cctest.h.

#define DEFINE_EXTENSION_ID (   Name,
  Ident 
)    Name##_ID,

Definition at line 67 of file cctest.h.

#define DEPENDENT_TEST (   Name,
  Dep 
)
Value:
static void Test##Name(); \
CcTest register_test_##Name(Test##Name, __FILE__, #Name, #Dep, true, true); \
static void Test##Name()

Definition at line 48 of file cctest.h.

#define DISABLED_TEST (   Name)
Value:
static void Test##Name(); \
CcTest register_test_##Name(Test##Name, __FILE__, #Name, NULL, false, true); \
static void Test##Name()
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL

Definition at line 55 of file cctest.h.

#define EXTENSION_LIST (   V)
Value:
V(GC_EXTENSION, "v8/gc") \
V(PRINT_EXTENSION, "v8/print") \
V(PROFILER_EXTENSION, "v8/profiler") \
V(TRACE_EXTENSION, "v8/trace")

Definition at line 61 of file cctest.h.

Referenced by CcTest::NewContext().

#define TEST (   Name)
Value:
static void Test##Name(); \
CcTest register_test_##Name(Test##Name, __FILE__, #Name, NULL, true, true); \
static void Test##Name()
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL

Definition at line 34 of file cctest.h.

#define THREADED_TEST (   Name)
Value:
static void Test##Name(); \
RegisterThreadedTest register_##Name(Test##Name, #Name); \
/* */ TEST(Name)
#define TEST(Name)
Definition: cctest.h:34

Definition at line 205 of file cctest.h.

#define UNINITIALIZED_TEST (   Name)
Value:
static void Test##Name(); \
CcTest register_test_##Name(Test##Name, __FILE__, #Name, NULL, true, false); \
static void Test##Name()
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL

Definition at line 41 of file cctest.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
kMaxExtensions 

Definition at line 68 of file cctest.h.