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
api.h File Reference
#include "v8.h"
#include "../include/v8-testing.h"
#include "apiutils.h"
#include "contexts.h"
#include "factory.h"
#include "isolate.h"
#include "list-inl.h"
Include dependency graph for api.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Consts
 
class  NeanderObject
 
class  NeanderArray
 
class  ApiFunction
 
class  RegisteredExtension
 
class  Utils
 
class  StringTracker
 
class  DeferredHandles
 
class  HandleScopeImplementer
 
class  Testing
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define OPEN_HANDLE_LIST(V)
 
#define DECLARE_OPEN_HANDLE(From, To)
 
#define MAKE_TO_LOCAL(Name, From, To)
 
#define MAKE_OPEN_HANDLE(From, To)
 

Functions

template<typename T >
T ToCData (v8::internal::Object *obj)
 
template<typename T >
v8::internal::Handle
< v8::internal::Object
FromCData (T obj)
 
template<class T >
TToApi (v8::internal::Handle< v8::internal::Object > obj)
 

Variables

const int kHandleBlockSize = v8::internal::KB - 2
 

Macro Definition Documentation

#define DECLARE_OPEN_HANDLE (   From,
  To 
)
Value:
OpenHandle(const From* that, bool allow_empty_handle = false);

Definition at line 229 of file api.h.

#define MAKE_OPEN_HANDLE (   From,
  To 
)
Value:
const v8::From* that, bool allow_empty_handle) { \
EXTRA_CHECK(allow_empty_handle || that != NULL); \
reinterpret_cast<v8::internal::To**>(const_cast<v8::From*>(that))); \
}
#define EXTRA_CHECK(condition)
Definition: checks.h:292
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of MIPS FPU instructions if NULL

Definition at line 289 of file api.h.

#define MAKE_TO_LOCAL (   Name,
  From,
  To 
)
Value:
Local<v8::To> Utils::Name(v8::internal::Handle<v8::internal::From> obj) { \
ASSERT(obj.is_null() || !obj->IsTheHole()); \
return Local<To>(reinterpret_cast<To*>(obj.location())); \
}
#define ASSERT(condition)
Definition: checks.h:270
T ** location() const
Definition: handles.h:75
bool is_null() const
Definition: handles.h:87

Definition at line 258 of file api.h.

#define OPEN_HANDLE_LIST (   V)
Value:
V(Template, TemplateInfo) \
V(FunctionTemplate, FunctionTemplateInfo) \
V(ObjectTemplate, ObjectTemplateInfo) \
V(Signature, SignatureInfo) \
V(AccessorSignature, FunctionTemplateInfo) \
V(TypeSwitch, TypeSwitchInfo) \
V(Data, Object) \
V(RegExp, JSRegExp) \
V(Object, JSObject) \
V(Array, JSArray) \
V(String, String) \
V(Script, Object) \
V(Function, JSFunction) \
V(Message, JSObject) \
V(Context, Context) \
V(External, Foreign) \
V(StackTrace, JSArray) \
V(StackFrame, JSObject)
HANDLE HANDLE LPSTACKFRAME64 StackFrame

Definition at line 162 of file api.h.