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
Execution Class Reference

#include <execution.h>

Inheritance diagram for Execution:
Collaboration diagram for Execution:

Static Public Member Functions

static Handle< ObjectCall (Isolate *isolate, Handle< Object > callable, Handle< Object > receiver, int argc, Handle< Object > argv[], bool *pending_exception, bool convert_receiver=false)
 
static Handle< ObjectNew (Handle< JSFunction > func, int argc, Handle< Object > argv[], bool *pending_exception)
 
static Handle< ObjectTryCall (Handle< JSFunction > func, Handle< Object > receiver, int argc, Handle< Object > argv[], bool *caught_exception)
 
static Handle< ObjectToNumber (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToInteger (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToInt32 (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToUint32 (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToString (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToDetailString (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectToObject (Isolate *isolate, Handle< Object > obj, bool *exc)
 
static Handle< ObjectNewDate (Isolate *isolate, double time, bool *exc)
 
static Handle< JSRegExpNewJSRegExp (Handle< String > pattern, Handle< String > flags, bool *exc)
 
static Handle< ObjectCharAt (Handle< String > str, uint32_t index)
 
static Handle< ObjectGetFunctionFor ()
 
static Handle< JSFunctionInstantiateFunction (Handle< FunctionTemplateInfo > data, bool *exc)
 
static Handle< JSObjectInstantiateObject (Handle< ObjectTemplateInfo > data, bool *exc)
 
static void ConfigureInstance (Isolate *isolate, Handle< Object > instance, Handle< Object > data, bool *exc)
 
static Handle< StringGetStackTraceLine (Handle< Object > recv, Handle< JSFunction > fun, Handle< Object > pos, Handle< Object > is_global)
 
static MUST_USE_RESULT
MaybeObject * 
HandleStackGuardInterrupt (Isolate *isolate)
 
static Handle< ObjectGetFunctionDelegate (Isolate *isolate, Handle< Object > object)
 
static Handle< ObjectTryGetFunctionDelegate (Isolate *isolate, Handle< Object > object, bool *has_pending_exception)
 
static Handle< ObjectGetConstructorDelegate (Isolate *isolate, Handle< Object > object)
 
static Handle< ObjectTryGetConstructorDelegate (Isolate *isolate, Handle< Object > object, bool *has_pending_exception)
 
static void RunMicrotasks (Isolate *isolate)
 
static void EnqueueMicrotask (Isolate *isolate, Handle< Object > microtask)
 

Detailed Description

Definition at line 55 of file execution.h.

Member Function Documentation

void ConfigureInstance ( Isolate isolate,
Handle< Object instance,
Handle< Object data,
bool *  exc 
)
static

Definition at line 866 of file execution.cc.

References ARRAY_SIZE, Execution::Call(), and Isolate::js_builtins_object().

Referenced by Factory::ConfigureInstance().

void EnqueueMicrotask ( Isolate isolate,
Handle< Object microtask 
)
static

Definition at line 371 of file execution.cc.

References ASSERT, Execution::Call(), and Isolate::factory().

Referenced by V8::EnqueueMicrotask().

Handle< Object > GetConstructorDelegate ( Isolate isolate,
Handle< Object object 
)
static
static Handle<Object> GetFunctionFor ( )
static
Handle< String > GetStackTraceLine ( Handle< Object recv,
Handle< JSFunction fun,
Handle< Object pos,
Handle< Object is_global 
)
static
Handle< Object > New ( Handle< JSFunction func,
int  argc,
Handle< Object argv[],
bool *  pending_exception 
)
static
Handle< Object > NewDate ( Isolate isolate,
double  time,
bool *  exc 
)
static

Definition at line 756 of file execution.cc.

References Isolate::factory(), Factory::NewNumber(), and RETURN_NATIVE_CALL.

Referenced by Date::New().

Handle< JSRegExp > NewJSRegExp ( Handle< String pattern,
Handle< String flags,
bool *  exc 
)
static

Definition at line 765 of file execution.cc.

References Handle< T >::cast(), and RegExpImpl::CreateRegExpLiteral().

Referenced by RegExp::New().

void RunMicrotasks ( Isolate isolate)
static
Handle< Object > ToDetailString ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static

Definition at line 725 of file execution.cc.

References RETURN_NATIVE_CALL.

Referenced by Isolate::DoThrow(), and Value::ToDetailString().

Handle< Object > ToInt32 ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static

Definition at line 750 of file execution.cc.

References RETURN_NATIVE_CALL.

Referenced by Value::Int32Value(), and Value::ToInt32().

Handle< Object > ToInteger ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static

Definition at line 738 of file execution.cc.

References RETURN_NATIVE_CALL.

Referenced by Value::IntegerValue(), and Value::ToInteger().

Handle< Object > ToNumber ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static
Handle< Object > ToObject ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static

Definition at line 731 of file execution.cc.

References RETURN_NATIVE_CALL.

Referenced by Execution::Call(), and Value::ToObject().

Handle< Object > ToUint32 ( Isolate isolate,
Handle< Object obj,
bool *  exc 
)
static

Definition at line 744 of file execution.cc.

References RETURN_NATIVE_CALL.

Referenced by Value::ToUint32(), and Value::Uint32Value().

Handle< Object > TryGetConstructorDelegate ( Isolate isolate,
Handle< Object object,
bool *  has_pending_exception 
)
static

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