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
v8 Namespace Reference

Namespaces

 internal
 

Data Structures

class  Debug
 
class  Task
 
class  Platform
 
class  CpuProfileNode
 
class  CpuProfile
 
class  CpuProfiler
 
class  HeapGraphEdge
 
class  HeapGraphNode
 
class  OutputStream
 
class  HeapSnapshot
 
class  ActivityControl
 
class  HeapProfiler
 
class  RetainedObjectInfo
 
struct  HeapStatsUpdate
 
class  Testing
 
class  StdMapTraits
 
class  StrongMapTraits
 
class  DefaultPersistentValueMapTraits
 
class  PersistentValueMap
 
class  StdPersistentValueMap
 
class  Handle
 
class  Local
 
class  Eternal
 
class  NonCopyablePersistentTraits
 
class  PersistentBase
 
class  Persistent
 
class  UniquePersistent
 
class  WeakCallbackObject
 
class  FunctionCallbackInfo
 
class  PropertyCallbackInfo
 
class  ReturnValue
 
class  UniqueId
 
class  WeakCallbackData
 
struct  CopyablePersistentTraits
 
class  HandleScope
 
class  EscapableHandleScope
 
struct  Maybe
 
class  Data
 
class  ScriptData
 
class  ScriptOrigin
 
class  UnboundScript
 
class  Script
 
class  ScriptCompiler
 
class  Message
 
class  StackTrace
 
class  StackFrame
 
class  JSON
 
class  Value
 
class  Primitive
 
class  Boolean
 
class  String
 
class  Symbol
 
class  Private
 
class  Number
 
class  Integer
 
class  Int32
 
class  Uint32
 
class  Object
 
class  Array
 
class  Function
 
class  Promise
 
class  ArrayBuffer
 
class  ArrayBufferView
 
class  TypedArray
 
class  Uint8Array
 
class  Uint8ClampedArray
 
class  Int8Array
 
class  Uint16Array
 
class  Int16Array
 
class  Uint32Array
 
class  Int32Array
 
class  Float32Array
 
class  Float64Array
 
class  DataView
 
class  Date
 
class  NumberObject
 
class  BooleanObject
 
class  StringObject
 
class  SymbolObject
 
class  RegExp
 
class  External
 
class  Template
 
class  FunctionTemplate
 
class  ObjectTemplate
 
class  Signature
 
class  AccessorSignature
 
class  DeclaredAccessorDescriptor
 
class  ObjectOperationDescriptor
 
class  RawOperationDescriptor
 
class  TypeSwitch
 
class  ExternalAsciiStringResourceImpl
 
class  Extension
 
class  ResourceConstraints
 
class  Exception
 
class  HeapStatistics
 
class  Isolate
 
class  StartupData
 
class  StartupDataDecompressor
 
struct  JitCodeEvent
 
class  ExternalResourceVisitor
 
class  PersistentHandleVisitor
 
class  V8
 
class  TryCatch
 
class  ExtensionConfiguration
 
class  Context
 
class  Unlocker
 
class  Locker
 
class  AlignOfHelper
 
struct  OneByteMask
 
struct  OneByteMask< 4 >
 
struct  OneByteMask< 8 >
 
class  ContainsOnlyOneByteHelper
 
class  Utf8LengthHelper
 
class  Utf8WriterVisitor
 
class  VisitorAdapter
 
class  Consts
 
class  NeanderObject
 
class  NeanderArray
 
class  ApiFunction
 
class  RegisteredExtension
 
class  Utils
 
class  RemoteDebugger
 
class  ReceiverThread
 
class  KeyboardThread
 
class  RemoteDebuggerEvent
 
class  ZombieProtector
 
class  OpenFDCloser
 
class  ExecArgs
 
class  ReadLineEditor
 
class  PerIsolateData
 
class  DumbLineEditor
 
struct  CounterAndKey
 
struct  DataAndPersistent
 
class  ShellThread
 
class  ShellArrayBufferAllocator
 
class  MockArrayBufferAllocator
 
class  Counter
 
class  CounterCollection
 
class  CounterMap
 
class  LineEditor
 
class  SourceGroup
 
class  BinaryResource
 
class  ShellOptions
 
class  Shell
 

Typedefs

typedef uint32_t SnapshotObjectId
 
typedef uintptr_t PersistentContainerValue
 
typedef void(* AccessorGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info)
 
typedef void(* AccessorSetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info)
 
typedef void(* FunctionCallback )(const FunctionCallbackInfo< Value > &info)
 
typedef void(* NamedPropertyGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info)
 
typedef void(* NamedPropertySetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< Value > &info)
 
typedef void(* NamedPropertyQueryCallback )(Local< String > property, const PropertyCallbackInfo< Integer > &info)
 
typedef void(* NamedPropertyDeleterCallback )(Local< String > property, const PropertyCallbackInfo< Boolean > &info)
 
typedef void(* NamedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info)
 
typedef void(* IndexedPropertyGetterCallback )(uint32_t index, const PropertyCallbackInfo< Value > &info)
 
typedef void(* IndexedPropertySetterCallback )(uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info)
 
typedef void(* IndexedPropertyQueryCallback )(uint32_t index, const PropertyCallbackInfo< Integer > &info)
 
typedef void(* IndexedPropertyDeleterCallback )(uint32_t index, const PropertyCallbackInfo< Boolean > &info)
 
typedef void(* IndexedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info)
 
typedef bool(* NamedSecurityCallback )(Local< Object > host, Local< Value > key, AccessType type, Local< Value > data)
 
typedef bool(* IndexedSecurityCallback )(Local< Object > host, uint32_t index, AccessType type, Local< Value > data)
 
typedef void(* FatalErrorCallback )(const char *location, const char *message)
 
typedef void(* MessageCallback )(Handle< Message > message, Handle< Value > error)
 
typedef void(* LogEventCallback )(const char *name, int event)
 
typedef int *(* CounterLookupCallback )(const char *name)
 
typedef void *(* CreateHistogramCallback )(const char *name, int min, int max, size_t buckets)
 
typedef void(* AddHistogramSampleCallback )(void *histogram, int sample)
 
typedef void(* MemoryAllocationCallback )(ObjectSpace space, AllocationAction action, int size)
 
typedef void(* CallCompletedCallback )()
 
typedef void(* FailedAccessCheckCallback )(Local< Object > target, AccessType type, Local< Value > data)
 
typedef bool(* AllowCodeGenerationFromStringsCallback )(Local< Context > context)
 
typedef void(* GCPrologueCallback )(GCType type, GCCallbackFlags flags)
 
typedef void(* GCEpilogueCallback )(GCType type, GCCallbackFlags flags)
 
typedef void(* InterruptCallback )(Isolate *isolate, void *data)
 
typedef bool(* EntropySource )(unsigned char *buffer, size_t length)
 
typedef uintptr_t(* ReturnAddressLocationResolver )(uintptr_t return_addr_location)
 
typedef void(* FunctionEntryHook )(uintptr_t function, uintptr_t return_addr_location)
 
typedef void(* JitCodeEventHandler )(const JitCodeEvent *event)
 

Enumerations

enum  DebugEvent {
  Break = 1, Exception = 2, NewFunction = 3, BeforeCompile = 4,
  AfterCompile = 5, ScriptCollected = 6, BreakForCommand = 7
}
 
enum  PropertyAttribute { None = 0, ReadOnly = 1 << 0, DontEnum = 1 << 1, DontDelete = 1 << 2 }
 
enum  ExternalArrayType {
  kExternalInt8Array = 1, kExternalUint8Array, kExternalInt16Array, kExternalUint16Array,
  kExternalInt32Array, kExternalUint32Array, kExternalFloat32Array, kExternalFloat64Array,
  kExternalUint8ClampedArray, kExternalByteArray = kExternalInt8Array, kExternalUnsignedByteArray = kExternalUint8Array, kExternalShortArray = kExternalInt16Array,
  kExternalUnsignedShortArray = kExternalUint16Array, kExternalIntArray = kExternalInt32Array, kExternalUnsignedIntArray = kExternalUint32Array, kExternalFloatArray = kExternalFloat32Array,
  kExternalDoubleArray = kExternalFloat64Array, kExternalPixelArray = kExternalUint8ClampedArray
}
 
enum  AccessControl { DEFAULT = 0, ALL_CAN_READ = 1, ALL_CAN_WRITE = 1 << 1, PROHIBITS_OVERWRITING = 1 << 2 }
 
enum  AccessType {
  ACCESS_GET, ACCESS_SET, ACCESS_HAS, ACCESS_DELETE,
  ACCESS_KEYS
}
 
enum  DeclaredAccessorDescriptorDataType {
  kDescriptorBoolType, kDescriptorInt8Type, kDescriptorUint8Type, kDescriptorInt16Type,
  kDescriptorUint16Type, kDescriptorInt32Type, kDescriptorUint32Type, kDescriptorFloatType,
  kDescriptorDoubleType
}
 
enum  ObjectSpace {
  kObjectSpaceNewSpace = 1 << 0, kObjectSpaceOldPointerSpace = 1 << 1, kObjectSpaceOldDataSpace = 1 << 2, kObjectSpaceCodeSpace = 1 << 3,
  kObjectSpaceMapSpace = 1 << 4, kObjectSpaceLoSpace = 1 << 5, kObjectSpaceAll
}
 
enum  AllocationAction { kAllocationActionAllocate = 1 << 0, kAllocationActionFree = 1 << 1, kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree }
 
enum  GCType { kGCTypeScavenge = 1 << 0, kGCTypeMarkSweepCompact = 1 << 1, kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact }
 
enum  GCCallbackFlags { kNoGCCallbackFlags = 0, kGCCallbackFlagCompacted = 1 << 0, kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, kGCCallbackFlagForced = 1 << 2 }
 
enum  JitCodeEventOptions { kJitCodeEventDefault = 0, kJitCodeEventEnumExisting = 1 }
 
enum  CompressedStartupDataItems {
  kSnapshot = 0, kSnapshotContext, kLibraries, kExperimentalLibraries,
  kCompressedStartupDataCount
}
 

Functions

void V8_EXPORT RegisterExtension (Extension *extension)
 
V8_INLINE Handle< PrimitiveUndefined (Isolate *isolate)
 
V8_INLINE Handle< PrimitiveNull (Isolate *isolate)
 
V8_INLINE Handle< BooleanTrue (Isolate *isolate)
 
V8_INLINE Handle< BooleanFalse (Isolate *isolate)
 
bool V8_EXPORT SetResourceConstraints (Isolate *isolate, ResourceConstraints *constraints)
 
 REGEXP_FLAG_ASSERT_EQ (kNone, NONE)
 
 REGEXP_FLAG_ASSERT_EQ (kGlobal, GLOBAL)
 
 REGEXP_FLAG_ASSERT_EQ (kIgnoreCase, IGNORE_CASE)
 
 REGEXP_FLAG_ASSERT_EQ (kMultiline, MULTILINE)
 
template<typename ElementType , ExternalArrayType array_type, i::ElementsKind elements_kind>
i::Handle< i::JSTypedArrayNewTypedArray (i::Isolate *isolate, Handle< ArrayBuffer > array_buffer, size_t byte_offset, size_t length)
 
template<typename T >
T ToCData (v8::internal::Object *obj)
 
template<typename T >
v8::internal::Handle
< v8::internal::Object
FromCData (v8::internal::Isolate *isolate, T obj)
 
template<class T >
TToApi (v8::internal::Handle< v8::internal::Object > obj)
 
template<class T >
v8::Local< TToApiHandle (v8::internal::Handle< v8::internal::Object > obj)
 
void HandleDebugEvent (const Debug::EventDetails &event_details)
 
void RunRemoteDebugger (Isolate *isolate, int port)
 
bool operator< (const CounterAndKey &lhs, const CounterAndKey &rhs)
 

Variables

const int MB = 1024 * 1024
 

Detailed Description

Debugger support for the V8 JavaScript engine.

Profiler support for the V8 JavaScript engine.

Testing support for the V8 JavaScript engine.

Support for Persistent containers.

C++11 embedders can use STL containers with UniquePersistent values, but pre-C++11 does not support the required move semantic and hence may want these container classes.

The v8 JavaScript engine.

Typedef Documentation

typedef void(* AccessorGetterCallback)(Local< String > property, const PropertyCallbackInfo< Value > &info)

Accessor[Getter|Setter] are used as callback functions when setting|getting a particular property. See Object and ObjectTemplate's method SetAccessor.

Definition at line 2141 of file v8.h.

typedef void(* AccessorSetterCallback)(Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info)

Definition at line 2146 of file v8.h.

typedef void(* AddHistogramSampleCallback)(void *histogram, int sample)

Definition at line 4016 of file v8.h.

typedef bool(* AllowCodeGenerationFromStringsCallback)(Local< Context > context)

Callback to check if code generation from strings is allowed. See Context::AllowCodeGenerationFromStrings.

Definition at line 4056 of file v8.h.

typedef void(* CallCompletedCallback)()

Definition at line 4043 of file v8.h.

typedef int*(* CounterLookupCallback)(const char *name)

Definition at line 4009 of file v8.h.

typedef void*(* CreateHistogramCallback)(const char *name, int min, int max, size_t buckets)

Definition at line 4011 of file v8.h.

typedef bool(* EntropySource)(unsigned char *buffer, size_t length)

EntropySource is used as a callback function when v8 needs a source of entropy.

Definition at line 4478 of file v8.h.

typedef void(* FailedAccessCheckCallback)(Local< Object > target, AccessType type, Local< Value > data)

Definition at line 4046 of file v8.h.

typedef void(* FatalErrorCallback)(const char *location, const char *message)

Definition at line 3984 of file v8.h.

typedef void(* FunctionCallback)(const FunctionCallbackInfo< Value > &info)

Definition at line 2603 of file v8.h.

typedef void(* FunctionEntryHook)(uintptr_t function, uintptr_t return_addr_location)

FunctionEntryHook is the type of the profile entry hook called at entry to any generated function when function-level profiling is enabled.

Parameters
functionthe address of the function that's being entered.
return_addr_locationpoints to a location on stack where the machine return address resides. This can be used to identify the caller of function, and/or modified to divert execution when function exits.
Note
the entry hook must not cause garbage collection.

Definition at line 4509 of file v8.h.

typedef void(* GCEpilogueCallback)(GCType type, GCCallbackFlags flags)

Definition at line 4081 of file v8.h.

typedef void(* GCPrologueCallback)(GCType type, GCCallbackFlags flags)

Definition at line 4080 of file v8.h.

typedef void(* IndexedPropertyDeleterCallback)(uint32_t index, const PropertyCallbackInfo< Boolean > &info)

Returns a non-empty handle if the deleter intercepts the request. The return value is true if the property could be deleted and false otherwise.

Definition at line 3379 of file v8.h.

typedef void(* IndexedPropertyEnumeratorCallback)(const PropertyCallbackInfo< Array > &info)

Returns an array containing the indices of the properties the indexed property getter intercepts.

Definition at line 3388 of file v8.h.

typedef void(* IndexedPropertyGetterCallback)(uint32_t index, const PropertyCallbackInfo< Value > &info)

Returns the value of the property if the getter intercepts the request. Otherwise, returns an empty handle.

Definition at line 3350 of file v8.h.

typedef void(* IndexedPropertyQueryCallback)(uint32_t index, const PropertyCallbackInfo< Integer > &info)

Returns a non-empty handle if the interceptor intercepts the request. The result is an integer encoding property attributes.

Definition at line 3369 of file v8.h.

typedef void(* IndexedPropertySetterCallback)(uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info)

Returns the value if the setter intercepts the request. Otherwise, returns an empty handle.

Definition at line 3359 of file v8.h.

typedef bool(* IndexedSecurityCallback)(Local< Object > host, uint32_t index, AccessType type, Local< Value > data)

Returns true if cross-context access should be allowed to the indexed property with the given index on the host object.

Definition at line 3418 of file v8.h.

typedef void(* InterruptCallback)(Isolate *isolate, void *data)

Definition at line 4083 of file v8.h.

typedef void(* JitCodeEventHandler)(const JitCodeEvent *event)

Callback function passed to SetJitCodeEventHandler.

Parameters
eventcode add, move or removal event.

Definition at line 4595 of file v8.h.

typedef void(* LogEventCallback)(const char *name, int event)

Definition at line 3991 of file v8.h.

typedef void(* MemoryAllocationCallback)(ObjectSpace space, AllocationAction action, int size)

Definition at line 4038 of file v8.h.

typedef void(* MessageCallback)(Handle< Message > message, Handle< Value > error)

Definition at line 3987 of file v8.h.

typedef void(* NamedPropertyDeleterCallback)(Local< String > property, const PropertyCallbackInfo< Boolean > &info)

Returns a non-empty handle if the deleter intercepts the request. The return value is true if the property could be deleted and false otherwise.

Definition at line 3333 of file v8.h.

typedef void(* NamedPropertyEnumeratorCallback)(const PropertyCallbackInfo< Array > &info)

Returns an array containing the names of the properties the named property getter intercepts.

Definition at line 3342 of file v8.h.

typedef void(* NamedPropertyGetterCallback)(Local< String > property, const PropertyCallbackInfo< Value > &info)

NamedProperty[Getter|Setter] are used as interceptors on object. See ObjectTemplate::SetNamedPropertyHandler.

Definition at line 3303 of file v8.h.

typedef void(* NamedPropertyQueryCallback)(Local< String > property, const PropertyCallbackInfo< Integer > &info)

Returns a non-empty handle if the interceptor intercepts the request. The result is an integer encoding property attributes (like v8::None, v8::DontEnum, etc.)

Definition at line 3323 of file v8.h.

typedef void(* NamedPropertySetterCallback)(Local< String > property, Local< Value > value, const PropertyCallbackInfo< Value > &info)

Returns the value if the setter intercepts the request. Otherwise, returns an empty handle.

Definition at line 3312 of file v8.h.

typedef bool(* NamedSecurityCallback)(Local< Object > host, Local< Value > key, AccessType type, Local< Value > data)

Returns true if cross-context access should be allowed to the named property with the given key on the host object.

Definition at line 3408 of file v8.h.

typedef uintptr_t PersistentContainerValue

Definition at line 43 of file v8-util.h.

typedef uintptr_t(* ReturnAddressLocationResolver)(uintptr_t return_addr_location)

ReturnAddressLocationResolver is used as a callback function when v8 is resolving the location of a return address on the stack. Profilers that change the return address on the stack can use this to resolve the stack location to whereever the profiler stashed the original return address.

Parameters
return_addr_locationpoints to a location on stack where a machine return address resides.
Returns
either return_addr_location, or else a pointer to the profiler's copy of the original return address.
Note
the resolver function must not cause garbage collection.

Definition at line 4494 of file v8.h.

typedef uint32_t SnapshotObjectId

Definition at line 39 of file v8-profiler.h.

Enumeration Type Documentation

Access control specifications.

Some accessors should be accessible across contexts. These accessors have an explicit access control parameter which specifies the kind of cross-context access that should be allowed.

Additionally, for security, accessors can prohibit overwriting by accessors defined in JavaScript. For objects that have such accessors either locally or in their prototype chain it is not possible to overwrite the accessor by using defineGetter or defineSetter from JavaScript code.

Enumerator
DEFAULT 
ALL_CAN_READ 
ALL_CAN_WRITE 
PROHIBITS_OVERWRITING 

Definition at line 2165 of file v8.h.

enum AccessType

Access type specification.

Enumerator
ACCESS_GET 
ACCESS_SET 
ACCESS_HAS 
ACCESS_DELETE 
ACCESS_KEYS 

Definition at line 3395 of file v8.h.

Enumerator
kAllocationActionAllocate 
kAllocationActionFree 
kAllocationActionAll 

Definition at line 4032 of file v8.h.

Enumerator
kSnapshot 
kSnapshotContext 
kLibraries 
kExperimentalLibraries 
kCompressedStartupDataCount 

Definition at line 315 of file api.cc.

enum DebugEvent
Enumerator
Break 
Exception 
NewFunction 
BeforeCompile 
AfterCompile 
ScriptCollected 
BreakForCommand 

Definition at line 39 of file v8-debug.h.

Enumerator
kDescriptorBoolType 
kDescriptorInt8Type 
kDescriptorUint8Type 
kDescriptorInt16Type 
kDescriptorUint16Type 
kDescriptorInt32Type 
kDescriptorUint32Type 
kDescriptorFloatType 
kDescriptorDoubleType 

Definition at line 3805 of file v8.h.

Enumerator
kExternalInt8Array 
kExternalUint8Array 
kExternalInt16Array 
kExternalUint16Array 
kExternalInt32Array 
kExternalUint32Array 
kExternalFloat32Array 
kExternalFloat64Array 
kExternalUint8ClampedArray 
kExternalByteArray 
kExternalUnsignedByteArray 
kExternalShortArray 
kExternalUnsignedShortArray 
kExternalIntArray 
kExternalUnsignedIntArray 
kExternalFloatArray 
kExternalDoubleArray 
kExternalPixelArray 

Definition at line 2113 of file v8.h.

Enumerator
kNoGCCallbackFlags 
kGCCallbackFlagCompacted 
kGCCallbackFlagConstructRetainedObjectInfos 
kGCCallbackFlagForced 

Definition at line 4073 of file v8.h.

enum GCType

Applications can register callback functions which will be called before and after a garbage collection. Allocations are not allowed in the callback functions, you therefore cannot manipulate objects (set or delete properties for example) since it is possible such operations will result in the allocation of objects.

Enumerator
kGCTypeScavenge 
kGCTypeMarkSweepCompact 
kGCTypeAll 

Definition at line 4067 of file v8.h.

Option flags passed to the SetJitCodeEventHandler function.

Enumerator
kJitCodeEventDefault 
kJitCodeEventEnumExisting 

Definition at line 4583 of file v8.h.

Enumerator
kObjectSpaceNewSpace 
kObjectSpaceOldPointerSpace 
kObjectSpaceOldDataSpace 
kObjectSpaceCodeSpace 
kObjectSpaceMapSpace 
kObjectSpaceLoSpace 
kObjectSpaceAll 

Definition at line 4019 of file v8.h.

Enumerator
None 
ReadOnly 
DontEnum 
DontDelete 

Definition at line 2106 of file v8.h.

Function Documentation

Handle< Boolean > False ( Isolate *  isolate)

Definition at line 6568 of file v8.h.

References I, and S.

Referenced by Boolean::New(), TEST(), and THREADED_TEST().

v8::internal::Handle<v8::internal::Object> v8::FromCData ( v8::internal::Isolate isolate,
T  obj 
)
inline

Definition at line 127 of file api.h.

References Isolate::factory(), Factory::NewForeign(), STATIC_ASSERT, and T.

Referenced by Accessors::MakeModuleExport().

void v8::HandleDebugEvent ( const Debug::EventDetails &  event_details)
i::Handle<i::JSTypedArray> v8::NewTypedArray ( i::Isolate isolate,
Handle< ArrayBuffer >  array_buffer,
size_t  byte_offset,
size_t  length 
)
Handle< Primitive > Null ( Isolate *  isolate)
bool v8::operator< ( const CounterAndKey &  lhs,
const CounterAndKey &  rhs 
)
inline

Definition at line 1013 of file d8.cc.

References CounterAndKey::key.

v8::REGEXP_FLAG_ASSERT_EQ ( kNone  ,
NONE   
)
v8::REGEXP_FLAG_ASSERT_EQ ( kGlobal  ,
GLOBAL   
)
v8::REGEXP_FLAG_ASSERT_EQ ( kIgnoreCase  ,
IGNORE_CASE   
)
v8::REGEXP_FLAG_ASSERT_EQ ( kMultiline  ,
MULTILINE   
)
void RegisterExtension ( Extension *  extension)
void v8::RunRemoteDebugger ( Isolate *  isolate,
int  port 
)

Referenced by Shell::Main().

T* v8::ToApi ( v8::internal::Handle< v8::internal::Object obj)
inline

Definition at line 329 of file api.h.

References T.

v8::Local<T> v8::ToApiHandle ( v8::internal::Handle< v8::internal::Object obj)
inline

Definition at line 334 of file api.h.

References obj.

T v8::ToCData ( v8::internal::Object obj)
inline

Definition at line 118 of file api.h.

References Foreign::cast(), Foreign::foreign_address(), STATIC_ASSERT, and T.

Handle< Boolean > True ( Isolate *  isolate)

Definition at line 6559 of file v8.h.

References I, and S.

Referenced by ScriptCompiler::CompileUnbound(), Boolean::New(), TEST(), and THREADED_TEST().

Variable Documentation

const int MB = 1024 * 1024

Definition at line 174 of file d8.cc.

Referenced by ResourceConstraints::ConfigureDefaults(), and TEST().