V8 Project
runtime.cc File Reference
#include <stdlib.h>
#include <limits>
#include "src/v8.h"
#include "src/accessors.h"
#include "src/allocation-site-scopes.h"
#include "src/api.h"
#include "src/arguments.h"
#include "src/bailout-reason.h"
#include "src/base/cpu.h"
#include "src/base/platform/platform.h"
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/compilation-cache.h"
#include "src/compiler.h"
#include "src/conversions.h"
#include "src/cpu-profiler.h"
#include "src/date.h"
#include "src/dateparser-inl.h"
#include "src/debug.h"
#include "src/deoptimizer.h"
#include "src/execution.h"
#include "src/full-codegen.h"
#include "src/global-handles.h"
#include "src/isolate-inl.h"
#include "src/liveedit.h"
#include "src/misc-intrinsics.h"
#include "src/parser.h"
#include "src/prototype.h"
#include "src/runtime/runtime.h"
#include "src/runtime/runtime-utils.h"
#include "src/runtime-profiler.h"
#include "src/scopeinfo.h"
#include "src/smart-pointers.h"
#include "src/utils.h"
#include "src/v8threads.h"
#include "src/vm-state-inl.h"
+ Include dependency graph for runtime.cc:

Go to the source code of this file.

Classes

class  v8::internal::ArrayConcatVisitor
 A simple visitor visits every element of Array's. More...
 
class  v8::internal::FrameInspector
 
class  v8::internal::ScopeIterator
 

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 

Macros

#define F(name, number_of_args, result_size)
 
#define P(name, number_of_args, result_size)
 
#define I(name, number_of_args, result_size)
 
#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size)
 
#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size)
 
#define TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, size)
 
#define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, s)
 
#define U(name)
 
#define F(name, number_of_args, result_size)
 
#define I(name, number_of_args, result_size)
 
#define IO(name, number_of_args, result_size)
 

Enumerations

enum  v8::internal::PropertyDescriptorIndices {
  v8::internal::IS_ACCESSOR_INDEX , v8::internal::VALUE_INDEX , v8::internal::GETTER_INDEX , v8::internal::SETTER_INDEX ,
  v8::internal::WRITABLE_INDEX , v8::internal::ENUMERABLE_INDEX , v8::internal::CONFIGURABLE_INDEX , v8::internal::DESCRIPTOR_SIZE
}
 

Functions

static Handle< Map > v8::internal::ComputeObjectLiteralMap (Handle< Context > context, Handle< FixedArray > constant_properties, bool *is_result_from_cache)
 
static MUST_USE_RESULT MaybeHandle< Object > v8::internal::CreateLiteralBoilerplate (Isolate *isolate, Handle< FixedArray > literals, Handle< FixedArray > constant_properties)
 
static MUST_USE_RESULT MaybeHandle< Object > v8::internal::CreateObjectLiteralBoilerplate (Isolate *isolate, Handle< FixedArray > literals, Handle< FixedArray > constant_properties, bool should_have_fast_elements, bool has_function_literal)
 
static MUST_USE_RESULT MaybeHandle< Object > v8::internal::TransitionElements (Handle< Object > object, ElementsKind to_kind, Isolate *isolate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateObjectLiteral)
 
static MUST_USE_RESULT MaybeHandle< AllocationSite > v8::internal::GetLiteralAllocationSite (Isolate *isolate, Handle< FixedArray > literals, int literals_index, Handle< FixedArray > elements)
 
static MaybeHandle< JSObject > v8::internal::CreateArrayLiteralImpl (Isolate *isolate, Handle< FixedArray > literals, int literals_index, Handle< FixedArray > elements, int flags)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateArrayLiteral)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateArrayLiteralStubBailout)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateSymbol)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreatePrivateSymbol)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreatePrivateOwnSymbol)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateGlobalPrivateOwnSymbol)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewSymbolWrapper)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SymbolDescription)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SymbolRegistry)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SymbolIsPrivate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateJSProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateJSFunctionProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsJSProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsJSFunctionProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetHandler)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetCallTrap)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetConstructTrap)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Fix)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetPrototype)
 
static Handle< Object > v8::internal::GetPrototypeSkipHiddenPrototypes (Isolate *isolate, Handle< Object > receiver)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_InternalSetPrototype)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetPrototype)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsInPrototypeChain)
 
static MUST_USE_RESULT MaybeHandle< Object > v8::internal::GetOwnProperty (Isolate *isolate, Handle< JSObject > obj, Handle< Name > name)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetOwnProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PreventExtensions)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ToMethod)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_HomeObjectSymbol)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LoadFromSuper)
 
static Object * v8::internal::StoreToSuper (Isolate *isolate, Handle< JSObject > home_object, Handle< Object > receiver, Handle< Name > name, Handle< Object > value, StrictMode strict_mode)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StoreToSuper_Strict)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StoreToSuper_Sloppy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsExtensible)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateApiFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsTemplate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetTemplateField)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DisableAccessChecks)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_EnableAccessChecks)
 
static Object * v8::internal::ThrowRedeclarationError (Isolate *isolate, Handle< String > name)
 
static Object * v8::internal::DeclareGlobals (Isolate *isolate, Handle< GlobalObject > global, Handle< String > name, Handle< Object > value, PropertyAttributes attr, bool is_var, bool is_const, bool is_function)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DeclareGlobals)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_InitializeVarGlobal)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_InitializeConstGlobal)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DeclareLookupSlot)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_InitializeLegacyConstLookupSlot)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_OptimizeObjectForAddingMultipleProperties)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FinishArrayPrototypeSetup)
 
static void v8::internal::InstallBuiltin (Isolate *isolate, Handle< JSObject > holder, const char *name, Builtins::Name builtin_name)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SpecialArrayFunctions)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsSloppyModeFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetDefaultReceiver)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetName)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionSetName)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionNameShouldPrintAsAnonymous)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionMarkNameShouldPrintAsAnonymous)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionIsGenerator)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionIsArrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionIsConciseMethod)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionRemovePrototype)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetSourceCode)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetScriptSourcePosition)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetPositionForOffset)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionSetInstanceClassName)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionSetLength)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionSetPrototype)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionIsAPIFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionIsBuiltin)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetCode)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CreateJSGeneratorObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SuspendJSGeneratorObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ResumeJSGeneratorObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowGeneratorStateError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ObjectFreeze)
 
static Handle< Object > v8::internal::GetCharAt (Handle< String > string, uint32_t index)
 
static MUST_USE_RESULT MaybeHandle< Name > v8::internal::ToName (Isolate *isolate, Handle< Object > key)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_KeyedGetProperty)
 
static bool v8::internal::IsValidAccessor (Handle< Object > obj)
 
static Handle< Object > v8::internal::InstantiateAccessorComponent (Isolate *isolate, Handle< Object > component)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DefineApiAccessorProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DefineAccessorPropertyUnchecked)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DefineDataPropertyUnchecked)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetDataProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetHiddenProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AddNamedProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AddPropertyForTemplate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AddElement)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TransitionElementsKind)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetNativeFlag)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetInlineBuiltinFlag)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StoreArrayLiteralElement)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugCallbackSupportsStepping)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPrepareStepInIfStepping)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPushPromise)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPopPromise)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPromiseEvent)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPromiseRejectEvent)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugAsyncTaskEvent)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DeleteProperty)
 
static Object * v8::internal::HasOwnPropertyImplementation (Isolate *isolate, Handle< JSObject > object, Handle< Name > key)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_HasOwnProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_HasProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_HasElement)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsPropertyEnumerable)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetPropertyNames)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetPropertyNamesFast)
 
static int v8::internal::OwnPrototypeChainLength (JSObject *obj)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetOwnPropertyNames)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetOwnElementNames)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetInterceptorInfo)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetNamedInterceptorPropertyNames)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetIndexedInterceptorElementNames)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_OwnKeys)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetArgumentsProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ToFastProperties)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ToBool)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Typeof)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Booleanize)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewStringWrapper)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AllocateHeapNumber)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateMakeDay)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateSetValue)
 
static Handle< JSObject > v8::internal::NewSloppyArguments (Isolate *isolate, Handle< JSFunction > callee, Object **parameters, int argument_count)
 
static Handle< JSObject > v8::internal::NewStrictArguments (Isolate *isolate, Handle< JSFunction > callee, Object **parameters, int argument_count)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewArguments)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewSloppyArguments)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewStrictArguments)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewClosureFromStubFailure)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewClosure)
 
static SmartArrayPointer< Handle< Object > > v8::internal::GetCallerArguments (Isolate *isolate, int prefix_argc, int *total_argc)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionBindArguments)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_BoundFunctionGetBindings)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewObjectFromBound)
 
static Object * v8::internal::Runtime_NewObjectHelper (Isolate *isolate, Handle< Object > constructor, Handle< AllocationSite > site)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewObjectWithAllocationSite)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FinalizeInstanceSize)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CheckIsBootstrapping)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetRootNaN)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Call)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Apply)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFunctionDelegate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetConstructorDelegate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewGlobalContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NewFunctionContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PushWithContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PushCatchContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PushBlockContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsJSModule)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PushModuleContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DeclareModules)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DeleteLookupSlot)
 
static Object * v8::internal::ComputeReceiverForNonGlobal (Isolate *isolate, JSObject *holder)
 
static ObjectPair v8::internal::LoadLookupSlotHelper (Arguments args, Isolate *isolate, bool throw_error)
 
 v8::internal::RUNTIME_FUNCTION_RETURN_PAIR (Runtime_LoadLookupSlot)
 
 v8::internal::RUNTIME_FUNCTION_RETURN_PAIR (Runtime_LoadLookupSlotNoReferenceError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StoreLookupSlot)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Throw)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ReThrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PromoteScheduledException)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowReferenceError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowNonMethodError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowUnsupportedSuperError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowNotDateError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_StackGuard)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Interrupt)
 
static int v8::internal::StackSize (Isolate *isolate)
 
static void v8::internal::PrintTransition (Isolate *isolate, Object *result)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TraceEnter)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TraceExit)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateCurrentTime)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateParseString)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateLocalTimezone)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateToUTC)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DateCacheVersion)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GlobalProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsAttachedGlobal)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AllocateInNewSpace)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_AllocateInTargetSpace)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PushIfAbsent)
 
static uint32_t v8::internal::EstimateElementCount (Handle< JSArray > array)
 
template<class ExternalArrayClass , class ElementType >
static void v8::internal::IterateExternalArrayElements (Isolate *isolate, Handle< JSObject > receiver, bool elements_are_ints, bool elements_are_guaranteed_smis, ArrayConcatVisitor *visitor)
 
static int v8::internal::compareUInt32 (const uint32_t *ap, const uint32_t *bp)
 
static void v8::internal::CollectElementIndices (Handle< JSObject > object, uint32_t range, List< uint32_t > *indices)
 
static bool v8::internal::IterateElements (Isolate *isolate, Handle< JSArray > receiver, ArrayConcatVisitor *visitor)
 A helper function that visits elements of a JSArray in numerical order. More...
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ArrayConcat)
 Array::concat implementation. More...
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RemoveArrayHoles)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_MoveArrayContents)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_EstimateNumberOfElements)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetArrayKeys)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LookupAccessor)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugBreak)
 
static Smi * v8::internal::WrapFrameId (StackFrame::Id id)
 
static StackFrame::Id v8::internal::UnwrapFrameId (int wrapped)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetDebugEventListener)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_Break)
 
static Handle< Object > v8::internal::DebugGetProperty (LookupIterator *it, bool *has_caught=NULL)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugGetPropertyDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugGetProperty)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPropertyTypeFromDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPropertyAttributesFromDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPropertyIndexFromDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugNamedInterceptorPropertyValue)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugIndexedInterceptorElementValue)
 
static bool v8::internal::CheckExecutionState (Isolate *isolate, int break_id)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CheckExecutionState)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFrameCount)
 
static SaveContext * v8::internal::FindSavedContextForFrame (Isolate *isolate, JavaScriptFrame *frame)
 
static int v8::internal::FindIndexedNonNativeFrame (JavaScriptFrameIterator *it, int index)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFrameDetails)
 
static bool v8::internal::ParameterIsShadowedByContextLocal (Handle< ScopeInfo > info, Handle< String > parameter_name)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeStackLocalsWithFrameInspector (Isolate *isolate, Handle< JSObject > target, Handle< JSFunction > function, FrameInspector *frame_inspector)
 
static void v8::internal::UpdateStackLocalsFromMaterializedObject (Isolate *isolate, Handle< JSObject > target, Handle< JSFunction > function, JavaScriptFrame *frame, int inlined_jsframe_index)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeLocalContext (Isolate *isolate, Handle< JSObject > target, Handle< JSFunction > function, JavaScriptFrame *frame)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeLocalScope (Isolate *isolate, JavaScriptFrame *frame, int inlined_jsframe_index)
 
static bool v8::internal::SetContextLocalValue (Isolate *isolate, Handle< ScopeInfo > scope_info, Handle< Context > context, Handle< String > variable_name, Handle< Object > new_value)
 
static bool v8::internal::SetLocalVariableValue (Isolate *isolate, JavaScriptFrame *frame, int inlined_jsframe_index, Handle< String > variable_name, Handle< Object > new_value)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeClosure (Isolate *isolate, Handle< Context > context)
 
static bool v8::internal::SetClosureVariableValue (Isolate *isolate, Handle< Context > context, Handle< String > variable_name, Handle< Object > new_value)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeCatchScope (Isolate *isolate, Handle< Context > context)
 
static bool v8::internal::SetCatchVariableValue (Isolate *isolate, Handle< Context > context, Handle< String > variable_name, Handle< Object > new_value)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeBlockScope (Isolate *isolate, Handle< Context > context)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeModuleScope (Isolate *isolate, Handle< Context > context)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetScopeCount)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetStepInPositions)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeScopeDetails (Isolate *isolate, ScopeIterator *it)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetScopeDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetAllScopesDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFunctionScopeCount)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFunctionScopeDetails)
 
static bool v8::internal::SetScopeVariableValue (ScopeIterator *it, int index, Handle< String > variable_name, Handle< Object > new_value)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetScopeVariableValue)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugPrintScopes)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetThreadCount)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetThreadDetails)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetDisableBreak)
 
static bool v8::internal::IsPositionAlignmentCodeCorrect (int alignment)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetBreakLocations)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetFunctionBreakPoint)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetScriptBreakPoint)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ClearBreakPoint)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ChangeBreakOnException)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsBreakOnException)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_PrepareStep)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ClearStepping)
 
static MUST_USE_RESULT MaybeHandle< JSObject > v8::internal::MaterializeArgumentsObject (Isolate *isolate, Handle< JSObject > target, Handle< JSFunction > function)
 
static MaybeHandle< Object > v8::internal::DebugEvaluate (Isolate *isolate, Handle< Context > context, Handle< Object > context_extension, Handle< Object > receiver, Handle< String > source)
 
static Handle< JSObject > v8::internal::NewJSObjectWithNullProto (Isolate *isolate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugEvaluate)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugEvaluateGlobal)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugGetLoadedScripts)
 
static int v8::internal::DebugReferencedBy (HeapIterator *iterator, JSObject *target, Object *instance_filter, int max_references, FixedArray *instances, int instances_size, JSFunction *arguments_function)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugReferencedBy)
 
static int v8::internal::DebugConstructedBy (HeapIterator *iterator, JSFunction *constructor, int max_references, FixedArray *instances, int instances_size)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugConstructedBy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugGetPrototype)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugSetScriptSource)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugDisassembleFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_DebugDisassembleConstructor)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_FunctionGetInferredName)
 
static int v8::internal::FindSharedFunctionInfosForScript (HeapIterator *iterator, Script *script, FixedArray *buffer)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditFindSharedFunctionInfosForScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditGatherCompileInfo)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditReplaceScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditFunctionSourceUpdated)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditReplaceFunctionCode)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditFunctionSetScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditReplaceRefToNestedFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditPatchFunctionPositions)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditCheckAndDropActivations)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditCompareStrings)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LiveEditRestartFrame)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFunctionCodePositionFromSource)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ExecuteInDebugContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CollectGarbage)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetHeapUsage)
 
static Handle< Object > v8::internal::Runtime_GetScriptFromScriptName (Handle< String > script_name)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_CollectStackTrace)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetV8Version)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GeneratorGetFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GeneratorGetContext)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GeneratorGetReceiver)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GeneratorGetContinuation)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GeneratorGetSourcePosition)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_LoadMutableDouble)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TryMigrateInstance)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetFromCache)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_MessageGetStartPosition)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_MessageGetScript)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IS_VAR)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsJSGlobalProxy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsObserved)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_SetIsObserved)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_EnqueueMicrotask)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_RunMicrotasks)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetObservationState)
 
static bool v8::internal::ContextsHaveSameOrigin (Handle< Context > context1, Handle< Context > context2)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ObserverObjectAndRecordHaveSameOrigin)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ObjectWasCreatedInCurrentOrigin)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetObjectContextObjectObserve)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetObjectContextObjectGetNotifier)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_GetObjectContextNotifierPerformChange)
 
static Object * v8::internal::ArrayConstructorCommon (Isolate *isolate, Handle< JSFunction > constructor, Handle< AllocationSite > site, Arguments *caller_args)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ArrayConstructor)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_InternalArrayConstructor)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_NormalizeElements)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_MaxSmi)
 
 v8::internal::RUNTIME_FUNCTION_RETURN_PAIR (Runtime_ForInInit)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ForInCacheArrayLength)
 
 v8::internal::RUNTIME_FUNCTION_RETURN_PAIR (Runtime_ForInNext)
 
 v8::internal::U (IsStringWrapperSafeForDefaultValueOf) U(DebugBreakInOptimizedCode) RUNTIME_FUNCTION(RuntimeReference_IsSmi)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsNonNegativeSmi)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsArray)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsRegExp)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsConstructCall)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_CallFunction)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_ArgumentsLength)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_Arguments)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_ValueOf)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_SetValueOf)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_DateField)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_ObjectEquals)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsObject)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsFunction)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsUndetectableObject)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_IsSpecObject)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_HasCachedArrayIndex)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_GetCachedArrayIndex)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_FastOneByteArrayJoin)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_GeneratorNext)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_GeneratorThrow)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_ClassOf)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_GetFromCache)
 
 v8::internal::RUNTIME_FUNCTION (RuntimeReference_DebugIsActive)
 

Variables

static const int v8::internal::kFrameDetailsFrameIdIndex = 0
 
static const int v8::internal::kFrameDetailsReceiverIndex = 1
 
static const int v8::internal::kFrameDetailsFunctionIndex = 2
 
static const int v8::internal::kFrameDetailsArgumentCountIndex = 3
 
static const int v8::internal::kFrameDetailsLocalCountIndex = 4
 
static const int v8::internal::kFrameDetailsSourcePositionIndex = 5
 
static const int v8::internal::kFrameDetailsConstructCallIndex = 6
 
static const int v8::internal::kFrameDetailsAtReturnIndex = 7
 
static const int v8::internal::kFrameDetailsFlagsIndex = 8
 
static const int v8::internal::kFrameDetailsFirstDynamicIndex = 9
 
static const int v8::internal::kScopeDetailsTypeIndex = 0
 
static const int v8::internal::kScopeDetailsObjectIndex = 1
 
static const int v8::internal::kScopeDetailsSize = 2
 
static const int v8::internal::kThreadDetailsCurrentThreadIndex = 0
 
static const int v8::internal::kThreadDetailsThreadIdIndex = 1
 
static const int v8::internal::kThreadDetailsSize = 2
 
static const Runtime::Function v8::internal::kIntrinsicFunctions []
 

Macro Definition Documentation

◆ F [1/2]

#define F (   name,
  number_of_args,
  result_size 
)
Value:
Object* Runtime_##name(int args_length, Object** args_object, \
Isolate* isolate);
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name
kSerializedDataOffset Object
Definition: objects-inl.h:5322

Definition at line 9240 of file runtime.cc.

◆ F [2/2]

#define F (   name,
  number_of_args,
  result_size 
)
Value:
{ \
Runtime::k##name, Runtime::RUNTIME, #name, FUNCTION_ADDR(Runtime_##name), \
number_of_args, result_size \
} \
,
#define FUNCTION_ADDR(f)
Definition: globals.h:195

Definition at line 9240 of file runtime.cc.

◆ FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION

#define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION (   Type,
  type,
  TYPE,
  ctype,
 
)
Value:
RUNTIME_FUNCTION(Runtime_HasFixed##Type##Elements) { \
CONVERT_ARG_CHECKED(JSObject, obj, 0); \
return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \
}
#define RUNTIME_FUNCTION(Name)
Definition: arguments.h:296
TypeImpl< ZoneTypeConfig > Type

Definition at line 8647 of file runtime.cc.

◆ I [1/2]

#define I (   name,
  number_of_args,
  result_size 
)
Value:
Object* RuntimeReference_##name(int args_length, Object** args_object, \
Isolate* isolate);

Definition at line 9248 of file runtime.cc.

◆ I [2/2]

#define I (   name,
  number_of_args,
  result_size 
)
Value:
{ \
Runtime::kInline##name, Runtime::INLINE, "_" #name, \
FUNCTION_ADDR(RuntimeReference_##name), number_of_args, result_size \
} \
,
#define INLINE(declarator)
Definition: macros.h:261

Definition at line 9248 of file runtime.cc.

◆ IO

#define IO (   name,
  number_of_args,
  result_size 
)
Value:
{ \
Runtime::kInlineOptimized##name, Runtime::INLINE_OPTIMIZED, "_" #name, \
FUNCTION_ADDR(Runtime_##name), number_of_args, result_size \
} \
,

Definition at line 9256 of file runtime.cc.

◆ P

#define P (   name,
  number_of_args,
  result_size 
)
Value:
ObjectPair Runtime_##name(int args_length, Object** args_object, \
Isolate* isolate);
uint64_t ObjectPair

Definition at line 53 of file runtime.cc.

◆ TYPED_ARRAY_CASE [1/2]

#define TYPED_ARRAY_CASE (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
case EXTERNAL_##TYPE##_ELEMENTS: \
case TYPE##_ELEMENTS:

◆ TYPED_ARRAY_CASE [2/2]

#define TYPED_ARRAY_CASE (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
case TYPE##_ELEMENTS: \
case EXTERNAL_##TYPE##_ELEMENTS:

◆ TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION

#define TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
RUNTIME_FUNCTION(Runtime_HasExternal##Type##Elements) { \
CONVERT_ARG_CHECKED(JSObject, obj, 0); \
return isolate->heap()->ToBoolean(obj->HasExternal##Type##Elements()); \
}

Definition at line 8636 of file runtime.cc.

◆ U

#define U (   name)
Value:
RUNTIME_FUNCTION(RuntimeReference_##name) { \
UNIMPLEMENTED(); \
return NULL; \
}
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL

Definition at line 9020 of file runtime.cc.