v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
factory.h File Reference
#include "globals.h"
#include "handles.h"
#include "heap.h"
Include dependency graph for factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Factory
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define ROOT_ACCESSOR(type, name, camel_name)
 
#define SYMBOL_ACCESSOR(name, str)
 

Macro Definition Documentation

#define ROOT_ACCESSOR (   type,
  name,
  camel_name 
)
Value:
inline Handle<type> name() { \
return Handle<type>(BitCast<type**>( \
&isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \
}

Definition at line 415 of file factory.h.

#define SYMBOL_ACCESSOR (   name,
  str 
)
Value:
inline Handle<String> name() { \
return Handle<String>(BitCast<String**>( \
&isolate()->heap()->roots_[Heap::k##name##RootIndex])); \
}

Definition at line 423 of file factory.h.