v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Execution Class Referencefinal

#include <execution.h>

Inheritance diagram for v8::internal::Execution:
Collaboration diagram for v8::internal::Execution:

Public Types

enum class  MessageHandling { kReport , kKeepPending }
 
enum class  Target { kCallable , kRunMicrotasks }
 

Static Public Member Functions

V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectCall (Isolate *isolate, DirectHandle< Object > callable, DirectHandle< Object > receiver, base::Vector< const DirectHandle< Object > > args)
 
V8_EXPORT_PRIVATE static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectCallScript (Isolate *isolate, DirectHandle< JSFunction > callable, DirectHandle< Object > receiver, DirectHandle< Object > host_defined_options)
 
static V8_WARN_UNUSED_RESULT MaybeHandle< ObjectCallBuiltin (Isolate *isolate, DirectHandle< JSFunction > builtin, DirectHandle< Object > receiver, base::Vector< const DirectHandle< Object > > args)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiverNew (Isolate *isolate, DirectHandle< Object > constructor, base::Vector< const DirectHandle< Object > > args)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiverNew (Isolate *isolate, DirectHandle< Object > constructor, DirectHandle< Object > new_target, base::Vector< const DirectHandle< Object > > args)
 
static V8_EXPORT_PRIVATE MaybeDirectHandle< ObjectTryCall (Isolate *isolate, DirectHandle< Object > callable, DirectHandle< Object > receiver, base::Vector< const DirectHandle< Object > > args, MessageHandling message_handling, MaybeDirectHandle< Object > *exception_out)
 
static V8_EXPORT_PRIVATE MaybeDirectHandle< ObjectTryCallScript (Isolate *isolate, DirectHandle< JSFunction > script_function, DirectHandle< Object > receiver, DirectHandle< FixedArray > host_defined_options)
 
static MaybeDirectHandle< ObjectTryRunMicrotasks (Isolate *isolate, MicrotaskQueue *microtask_queue)
 

Detailed Description

Definition at line 16 of file execution.h.

Member Enumeration Documentation

◆ MessageHandling

Enumerator
kReport 
kKeepPending 

Definition at line 19 of file execution.h.

◆ Target

Enumerator
kCallable 
kRunMicrotasks 

Definition at line 20 of file execution.h.

Member Function Documentation

◆ Call()

MaybeHandle< Object > v8::internal::Execution::Call ( Isolate * isolate,
DirectHandle< Object > callable,
DirectHandle< Object > receiver,
base::Vector< const DirectHandle< Object > > args )
static

Definition at line 523 of file execution.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CallBuiltin()

MaybeHandle< Object > v8::internal::Execution::CallBuiltin ( Isolate * isolate,
DirectHandle< JSFunction > builtin,
DirectHandle< Object > receiver,
base::Vector< const DirectHandle< Object > > args )
static

Definition at line 545 of file execution.cc.

Here is the caller graph for this function:

◆ CallScript()

MaybeHandle< Object > v8::internal::Execution::CallScript ( Isolate * isolate,
DirectHandle< JSFunction > callable,
DirectHandle< Object > receiver,
DirectHandle< Object > host_defined_options )
static

Definition at line 535 of file execution.cc.

Here is the caller graph for this function:

◆ New() [1/2]

MaybeDirectHandle< JSReceiver > v8::internal::Execution::New ( Isolate * isolate,
DirectHandle< Object > constructor,
base::Vector< const DirectHandle< Object > > args )
static

Definition at line 556 of file execution.cc.

Here is the caller graph for this function:

◆ New() [2/2]

MaybeDirectHandle< JSReceiver > v8::internal::Execution::New ( Isolate * isolate,
DirectHandle< Object > constructor,
DirectHandle< Object > new_target,
base::Vector< const DirectHandle< Object > > args )
static

Definition at line 563 of file execution.cc.

Here is the call graph for this function:

◆ TryCall()

MaybeDirectHandle< Object > v8::internal::Execution::TryCall ( Isolate * isolate,
DirectHandle< Object > callable,
DirectHandle< Object > receiver,
base::Vector< const DirectHandle< Object > > args,
MessageHandling message_handling,
MaybeDirectHandle< Object > * exception_out )
static

Definition at line 587 of file execution.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TryCallScript()

MaybeDirectHandle< Object > v8::internal::Execution::TryCallScript ( Isolate * isolate,
DirectHandle< JSFunction > script_function,
DirectHandle< Object > receiver,
DirectHandle< FixedArray > host_defined_options )
static

Definition at line 573 of file execution.cc.

Here is the caller graph for this function:

◆ TryRunMicrotasks()

MaybeDirectHandle< Object > v8::internal::Execution::TryRunMicrotasks ( Isolate * isolate,
MicrotaskQueue * microtask_queue )
static

Definition at line 602 of file execution.cc.

Here is the caller graph for this function:

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