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
runtime.cc File Reference
#include <stdlib.h>
#include <limits>
#include "v8.h"
#include "accessors.h"
#include "allocation-site-scopes.h"
#include "api.h"
#include "arguments.h"
#include "bootstrapper.h"
#include "codegen.h"
#include "compilation-cache.h"
#include "compiler.h"
#include "cpu.h"
#include "cpu-profiler.h"
#include "dateparser-inl.h"
#include "debug.h"
#include "deoptimizer.h"
#include "date.h"
#include "execution.h"
#include "full-codegen.h"
#include "global-handles.h"
#include "isolate-inl.h"
#include "jsregexp.h"
#include "jsregexp-inl.h"
#include "json-parser.h"
#include "json-stringifier.h"
#include "liveedit.h"
#include "misc-intrinsics.h"
#include "parser.h"
#include "platform.h"
#include "runtime-profiler.h"
#include "runtime.h"
#include "scopeinfo.h"
#include "smart-pointers.h"
#include "string-search.h"
#include "stub-cache.h"
#include "uri.h"
#include "v8conversions.h"
#include "v8threads.h"
#include "vm-state-inl.h"
Include dependency graph for runtime.cc:

Go to the source code of this file.

Data Structures

class  FixedArrayBuilder
 
class  ReplacementStringBuilder
 
class  CompiledReplacement
 
class  ActivationsFinder
 
class  ArrayConcatVisitor
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define RUNTIME_ASSERT(value)   if (!(value)) return isolate->ThrowIllegalOperation();
 
#define CONVERT_ARG_CHECKED(Type, name, index)
 
#define CONVERT_ARG_HANDLE_CHECKED(Type, name, index)
 
#define CONVERT_BOOLEAN_ARG_CHECKED(name, index)
 
#define CONVERT_SMI_ARG_CHECKED(name, index)
 
#define CONVERT_DOUBLE_ARG_CHECKED(name, index)
 
#define CONVERT_NUMBER_CHECKED(type, name, Type, obj)
 
#define CONVERT_PROPERTY_DETAILS_CHECKED(name, index)
 
#define CONVERT_STRICT_MODE_ARG_CHECKED(name, index)
 
#define ARRAY_ID_CASE(Type, type, TYPE, ctype, size)
 
#define TYPED_ARRAY_GETTER(getter, accessor)
 
#define DATA_VIEW_GETTER(TypeName, Type, Converter)
 
#define DATA_VIEW_SETTER(TypeName, Type)
 
#define RUNTIME_UNARY_MATH(NAME)
 
#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size)
 
#define TYPED_ARRAY_CASE(Type, type, TYPE, ctype, size)
 
#define ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(Name)
 
#define TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, size)
 
#define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION(Type, type, TYPE, ctype, s)
 
#define F(name, number_of_args, result_size)
 
#define FH(name, number_of_args, result_size)
 
#define I(name, number_of_args, result_size)
 
#define IO(name, number_of_args, result_size)
 

Typedefs

typedef BitField< int,
0, kStringBuilderConcatHelperLengthBits > 
StringBuilderSubstringLength
 
typedef BitField< int,
kStringBuilderConcatHelperLengthBits,
kStringBuilderConcatHelperPositionBits > 
StringBuilderSubstringPosition
 
typedef uint64_t ObjectPair
 

Enumerations

enum  TypedArraySetResultCodes { TYPED_ARRAY_SET_TYPED_ARRAY_SAME_TYPE = 0, TYPED_ARRAY_SET_TYPED_ARRAY_OVERLAPPING = 1, TYPED_ARRAY_SET_TYPED_ARRAY_NONOVERLAPPING = 2, TYPED_ARRAY_SET_NON_TYPED_ARRAY = 3 }
 
enum  AccessCheckResult { ACCESS_FORBIDDEN, ACCESS_ALLOWED, ACCESS_ABSENT }
 
enum  PropertyDescriptorIndices {
  IS_ACCESSOR_INDEX, VALUE_INDEX, GETTER_INDEX, SETTER_INDEX,
  WRITABLE_INDEX, ENUMERABLE_INDEX, CONFIGURABLE_INDEX, DESCRIPTOR_SIZE
}
 

Functions

MaybeObject * TransitionElements (Handle< Object > object, ElementsKind to_kind, Isolate *isolate)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CreateObjectLiteral)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CreateArrayLiteral)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CreateArrayLiteralStubBailout)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateSymbol)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreatePrivateSymbol)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateGlobalPrivateSymbol)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewSymbolWrapper)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SymbolDescription)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SymbolRegistry)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SymbolIsPrivate)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateJSProxy)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateJSFunctionProxy)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsJSProxy)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsJSFunctionProxy)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetHandler)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetCallTrap)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetConstructTrap)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Fix)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayBufferInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayBufferGetByteLength)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayBufferSliceImpl)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayBufferIsView)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayBufferNeuter)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TypedArrayInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TypedArrayInitializeFromArrayLike)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TypedArrayGetBuffer)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TypedArraySetFastCases)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TypedArrayMaxSizeInHeap)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DataViewInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DataViewGetBuffer)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DataViewGetByteOffset)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DataViewGetByteLength)
 
template<int n>
void CopyBytes (uint8_t *target, uint8_t *source)
 
template<int n>
void FlipBytes (uint8_t *target, uint8_t *source)
 
template<>
int8_t DataViewConvertValue< int8_t > (double value)
 
template<>
int16_t DataViewConvertValue< int16_t > (double value)
 
template<>
int32_t DataViewConvertValue< int32_t > (double value)
 
template<>
uint8_t DataViewConvertValue< uint8_t > (double value)
 
template<>
uint16_t DataViewConvertValue< uint16_t > (double value)
 
template<>
uint32_t DataViewConvertValue< uint32_t > (double value)
 
template<>
float DataViewConvertValue< float > (double value)
 
template<>
double DataViewConvertValue< double > (double value)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetAdd)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetHas)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetDelete)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetGetSize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapGet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapHas)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapDelete)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapSet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MapGetSize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakCollectionInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakCollectionGet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakCollectionHas)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakCollectionDelete)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakCollectionSet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ClassOf)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetPrototype)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetPrototype)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsInPrototypeChain)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetOwnProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PreventExtensions)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsExtensible)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpCompile)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateApiFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsTemplate)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetTemplateField)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DisableAccessChecks)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_EnableAccessChecks)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetAccessorProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_DeclareGlobals)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_DeclareContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_InitializeVarGlobal)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_InitializeConstGlobal)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_InitializeConstContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_OptimizeObjectForAddingMultipleProperties)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_RegExpExec)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_RegExpConstructResult)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpInitializeObject)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FinishArrayPrototypeSetup)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SpecialArrayFunctions)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsSloppyModeFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetDefaultReceiver)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_MaterializeRegExpLiteral)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionGetName)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionSetName)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionNameShouldPrintAsAnonymous)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionMarkNameShouldPrintAsAnonymous)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionIsGenerator)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionRemovePrototype)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionGetScript)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionGetSourceCode)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionGetScriptSourcePosition)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionGetPositionForOffset)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionSetInstanceClassName)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionSetLength)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionSetPrototype)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionSetReadOnlyPrototype)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionIsAPIFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionIsBuiltin)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetCode)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetExpectedNumberOfProperties)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CreateJSGeneratorObject)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_SuspendJSGeneratorObject)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ResumeJSGeneratorObject)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ThrowGeneratorStateError)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ObjectFreeze)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_StringCharCodeAt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CharFromCode)
 
void FindAsciiStringIndices (Vector< const uint8_t > subject, char pattern, ZoneList< int > *indices, unsigned int limit, Zone *zone)
 
void FindTwoByteStringIndices (const Vector< const uc16 > subject, uc16 pattern, ZoneList< int > *indices, unsigned int limit, Zone *zone)
 
template<typename SubjectChar , typename PatternChar >
void FindStringIndices (Isolate *isolate, Vector< const SubjectChar > subject, Vector< const PatternChar > pattern, ZoneList< int > *indices, unsigned int limit, Zone *zone)
 
void FindStringIndicesDispatch (Isolate *isolate, String *subject, String *pattern, ZoneList< int > *indices, unsigned int limit, Zone *zone)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringReplaceGlobalRegExpWithString)
 
Handle< String > StringReplaceOneCharWithString (Isolate *isolate, Handle< String > subject, Handle< String > search, Handle< String > replace, bool *found, int recursion_limit)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringReplaceOneCharWithString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringIndexOf)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringLastIndexOf)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringLocaleCompare)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_SubString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringMatch)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpExecMultiple)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToRadixString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToFixed)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToExponential)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToPrecision)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsValidSmi)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_KeyedGetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DefineOrRedefineAccessorProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DefineOrRedefineDataProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetDataProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetHiddenProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TransitionElementsKind)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetNativeFlag)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetInlineBuiltinFlag)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StoreArrayLiteralElement)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DebugCallbackSupportsStepping)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DebugPrepareStepInIfStepping)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IgnoreAttributesAndSetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DeleteProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_HasLocalProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_HasProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_HasElement)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsPropertyEnumerable)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetPropertyNames)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetPropertyNamesFast)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetLocalPropertyNames)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetLocalElementNames)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetInterceptorInfo)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetNamedInterceptorPropertyNames)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetIndexedInterceptorElementNames)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_LocalKeys)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetArgumentsProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ToFastProperties)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ToBool)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Typeof)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringToNumber)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TruncateString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_URIEscape)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_URIUnescape)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_QuoteJSONString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_BasicJSONStringify)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringParseInt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringParseFloat)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringToLowerCase)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringToUpperCase)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringTrim)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringSplit)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringToArray)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewStringWrapper)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NumberToString)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NumberToStringSkipCache)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToInteger)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToIntegerMapMinusZero)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToJSUint32)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToJSInt32)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NumberToSmi)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_AllocateHeapNumber)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberAdd)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberSub)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberMul)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberUnaryMinus)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberAlloc)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberDiv)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberMod)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberImul)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_StringAdd)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringBuilderConcat)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringBuilderJoin)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SparseJoinWithSeparator)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberOr)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberAnd)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberXor)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberShl)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberShr)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberSar)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberEquals)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StringEquals)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberCompare)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SmiLexicographicCompare)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_StringCompare)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DoubleHi)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DoubleLo)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ConstructDouble)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_atan2)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_exp)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_floor)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_pow)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_pow_cfunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RoundNumber)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_sqrt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_fround)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateMakeDay)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateSetValue)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewArgumentsFast)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewStrictArgumentsFast)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewClosureFromStubFailure)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewClosure)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionBindArguments)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_BoundFunctionGetBindings)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewObjectFromBound)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewObject)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewObjectWithAllocationSite)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_FinalizeInstanceSize)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CompileUnoptimized)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_CompileOptimized)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NotifyStubFailure)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NotifyDeoptimized)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DeoptimizeFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ClearFunctionTypeFeedback)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RunningInSimulator)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsConcurrentRecompilationSupported)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_OptimizeFunctionOnNextCall)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NeverOptimizeFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetOptimizationStatus)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_UnblockConcurrentRecompilation)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetOptimizationCount)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CompileForOnStackReplacement)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetAllocationTimeout)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CheckIsBootstrapping)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetRootNaN)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Call)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Apply)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetFunctionDelegate)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetConstructorDelegate)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewGlobalContext)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_NewFunctionContext)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_PushWithContext)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_PushCatchContext)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_PushBlockContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsJSModule)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_PushModuleContext)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_DeclareModules)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_DeleteContextSlot)
 
 RUNTIME_FUNCTION (ObjectPair, RuntimeHidden_LoadContextSlot)
 
 RUNTIME_FUNCTION (ObjectPair, RuntimeHidden_LoadContextSlotNoReferenceError)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_StoreContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_Throw)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ReThrow)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_PromoteScheduledException)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ThrowReferenceError)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ThrowNotDateError)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ThrowMessage)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_StackGuard)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_TryInstallOptimizedCode)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_Interrupt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TraceEnter)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TraceExit)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DebugPrint)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DebugTrace)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateCurrentTime)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateParseString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateLocalTimezone)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateToUTC)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateCacheVersion)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GlobalReceiver)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsAttachedGlobal)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ParseJson)
 
bool CodeGenerationFromStringsAllowed (Isolate *isolate, Handle< Context > context)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CompileString)
 
 RUNTIME_FUNCTION (ObjectPair, RuntimeHidden_ResolvePossiblyDirectEval)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_AllocateInNewSpace)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_AllocateInTargetSpace)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PushIfAbsent)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ArrayConcat)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GlobalPrint)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RemoveArrayHoles)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MoveArrayContents)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_EstimateNumberOfElements)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetArrayKeys)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_LookupAccessor)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetScript)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CollectStackTrace)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetAndClearOverflowedStackTrace)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetV8Version)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Abort)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_AbortJS)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FlattenString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NotifyContextDisposed)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TryMigrateInstance)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_GetFromCache)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetStartPosition)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetScript)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_Log)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IS_VAR)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_HaveSameMap)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsAccessCheckNeeded)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsObserved)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetIsObserved)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetMicrotaskPending)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RunMicrotasks)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetMicrotaskState)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetObservationState)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ObservationWeakMapCreate)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_UnwrapGlobalProxy)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsAccessAllowedForObserver)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_ArrayConstructor)
 
 RUNTIME_FUNCTION (MaybeObject *, RuntimeHidden_InternalArrayConstructor)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MaxSmi)
 

Variables

const int kStringBuilderConcatHelperLengthBits = 11
 
const int kStringBuilderConcatHelperPositionBits = 19
 

Macro Definition Documentation

#define ARRAY_ID_CASE (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
case ARRAY_ID_##TYPE: \
*array_type = kExternal##Type##Array; \
*external_elements_kind = EXTERNAL_##TYPE##_ELEMENTS; \
*fixed_elements_kind = TYPE##_ELEMENTS; \
*element_size = size; \
break;
TypeImpl< ZoneTypeConfig > Type
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size

Referenced by Runtime::ArrayIdToTypeAndSize().

#define CONVERT_ARG_CHECKED (   Type,
  name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->Is##Type()); \
Type* name = Type::cast(args[index]);
TypeImpl< ZoneTypeConfig > Type
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
bool Is(Object *obj)
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 111 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_ARG_HANDLE_CHECKED (   Type,
  name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->Is##Type()); \
Handle<Type> name = args.at<Type>(index);
TypeImpl< ZoneTypeConfig > Type
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
bool Is(Object *obj)
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 115 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_BOOLEAN_ARG_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsBoolean()); \
bool name = args[index]->IsTrue();
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 122 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_DOUBLE_ARG_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsNumber()); \
double name = args.number_at(index);
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 136 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_NUMBER_CHECKED (   type,
  name,
  Type,
  obj 
)
Value:
RUNTIME_ASSERT(obj->IsNumber()); \
type name = NumberTo##Type(obj);
TypeImpl< ZoneTypeConfig > Type
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105
HeapObject * obj

Definition at line 143 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_PROPERTY_DETAILS_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsSmi()); \
PropertyDetails name = PropertyDetails(Smi::cast(args[index]));
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 151 of file runtime.cc.

#define CONVERT_SMI_ARG_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsSmi()); \
int name = args.smi_at(index);
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 129 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define CONVERT_STRICT_MODE_ARG_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsSmi()); \
RUNTIME_ASSERT(args.smi_at(index) == STRICT || \
args.smi_at(index) == SLOPPY); \
StrictMode name = static_cast<StrictMode>(args.smi_at(index));
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:105

Definition at line 158 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define DATA_VIEW_GETTER (   TypeName,
  Type,
  Converter 
)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_DataViewGet##TypeName) { \
HandleScope scope(isolate); \
ASSERT(args.length() == 3); \
CONVERT_ARG_HANDLE_CHECKED(JSDataView, holder, 0); \
CONVERT_BOOLEAN_ARG_CHECKED(is_little_endian, 2); \
Type result; \
if (DataViewGetValue( \
isolate, holder, offset, is_little_endian, &result)) { \
return isolate->heap()->Converter(result); \
} else { \
return isolate->Throw(*isolate->factory()->NewRangeError( \
"invalid_data_view_accessor_offset", \
HandleVector<Object>(NULL, 0))); \
} \
}
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
kSerializedDataOffset Object
Definition: objects-inl.h:5016
TypeImpl< ZoneTypeConfig > Type
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define ASSERT(condition)
Definition: checks.h:329
#define CONVERT_BOOLEAN_ARG_CHECKED(name, index)
Definition: runtime.cc:122
#define CONVERT_ARG_HANDLE_CHECKED(Type, name, index)
Definition: runtime.cc:115

Definition at line 1413 of file runtime.cc.

#define DATA_VIEW_SETTER (   TypeName,
  Type 
)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_DataViewSet##TypeName) { \
HandleScope scope(isolate); \
ASSERT(args.length() == 4); \
CONVERT_ARG_HANDLE_CHECKED(JSDataView, holder, 0); \
CONVERT_BOOLEAN_ARG_CHECKED(is_little_endian, 3); \
Type v = DataViewConvertValue<Type>(value->Number()); \
if (DataViewSetValue( \
isolate, holder, offset, is_little_endian, v)) { \
return isolate->heap()->undefined_value(); \
} else { \
return isolate->Throw(*isolate->factory()->NewRangeError( \
"invalid_data_view_accessor_offset", \
HandleVector<Object>(NULL, 0))); \
} \
}
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
kSerializedDataOffset Object
Definition: objects-inl.h:5016
TypeImpl< ZoneTypeConfig > Type
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define ASSERT(condition)
Definition: checks.h:329
#define CONVERT_BOOLEAN_ARG_CHECKED(name, index)
Definition: runtime.cc:122
#define CONVERT_ARG_HANDLE_CHECKED(Type, name, index)
Definition: runtime.cc:115

Definition at line 1495 of file runtime.cc.

#define ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION (   Name)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_Has##Name) { \
CONVERT_ARG_CHECKED(JSObject, obj, 0); \
return isolate->heap()->ToBoolean(obj->Has##Name()); \
}
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define CONVERT_ARG_CHECKED(Type, name, index)
Definition: runtime.cc:111
HeapObject * obj

Definition at line 14749 of file runtime.cc.

#define F (   name,
  number_of_args,
  result_size 
)
Value:
{ Runtime::k##name, Runtime::RUNTIME, #name, \
FUNCTION_ADDR(Runtime_##name), number_of_args, result_size },
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define FUNCTION_ADDR(f)
Definition: globals.h:345

Definition at line 15081 of file runtime.cc.

#define FH (   name,
  number_of_args,
  result_size 
)
Value:
{ Runtime::kHidden##name, Runtime::RUNTIME_HIDDEN, NULL, \
FUNCTION_ADDR(RuntimeHidden_##name), number_of_args, result_size },
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define FUNCTION_ADDR(f)
Definition: globals.h:345

Definition at line 15086 of file runtime.cc.

#define FIXED_TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION (   Type,
  type,
  TYPE,
  ctype,
 
)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_HasFixed##Type##Elements) { \
CONVERT_ARG_CHECKED(JSObject, obj, 0); \
return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \
}
TypeImpl< ZoneTypeConfig > Type
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define CONVERT_ARG_CHECKED(Type, name, index)
Definition: runtime.cc:111
HeapObject * obj

Definition at line 14780 of file runtime.cc.

#define I (   name,
  number_of_args,
  result_size 
)
Value:
{ Runtime::kInline##name, Runtime::INLINE, \
"_" #name, NULL, number_of_args, result_size },
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define INLINE(declarator)
Definition: globals.h:376

Definition at line 15091 of file runtime.cc.

Referenced by String::Empty(), v8::False(), Context::GetAlignedPointerFromEmbedderData(), Object::GetAlignedPointerFromInternalField(), Isolate::GetData(), Context::GetEmbedderData(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), Object::GetInternalField(), Isolate::GetNumberOfDataSlots(), PersistentBase< T >::IsIndependent(), PersistentBase< T >::IsNearDeath(), PersistentBase< T >::IsWeak(), PersistentBase< T >::MarkIndependent(), PersistentBase< T >::MarkPartiallyDependent(), v8::Null(), ReturnValue< T >::Set(), Isolate::SetData(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetNull(), ReturnValue< T >::SetUndefined(), PersistentBase< T >::SetWrapperClassId(), v8::True(), v8::Undefined(), and PersistentBase< T >::WrapperClassId().

#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 },
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter trace hydrogen to given file name trace inlining decisions trace store elimination trace all use positions trace global value numbering trace hydrogen escape analysis trace the tracking of allocation sites trace map generalization environment for every instruction deoptimize every n garbage collections put a break point before deoptimizing deoptimize uncommon cases use on stack replacement trace array bounds check elimination perform array index dehoisting use load elimination use store elimination use constant folding eliminate unreachable code number of stress runs when picking a function to watch for shared function not JSFunction itself flushes the cache of optimized code for closures on every GC functions with arguments object maximum number of escape analysis fix point iterations allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms concurrent on stack replacement do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes number of stack frames inspected by the profiler percentage of ICs that must have type info to allow optimization 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 VFP3 instructions if available enable use of NEON instructions if 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 d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long expose natives in global object expose freeBuffer extension expose gc extension under the specified name expose externalize string extension number of stack frames to capture disable builtin natives files print name of functions for which code is generated use random jit cookie to mask large constants trace lazy optimization use adaptive optimizations always try to OSR functions trace optimize function deoptimization minimum length for automatic enable preparsing maximum number of optimization attempts before giving up cache prototype transitions trace debugging JSON request response trace out of bounds accesses to external arrays trace_js_array_abuse automatically set the debug break flag when debugger commands are in the queue abort by crashing maximum length of function source code printed in a stack trace max size of the new max size of the old max size of executable always perform global GCs print one trace line following each garbage collection do not print trace line after scavenger collection print statistics of the maximum memory committed for the heap in name
#define FUNCTION_ADDR(f)
Definition: globals.h:345

Definition at line 15096 of file runtime.cc.

#define RUNTIME_ASSERT (   value)    if (!(value)) return isolate->ThrowIllegalOperation();

Definition at line 105 of file runtime.cc.

Referenced by v8::internal::RUNTIME_FUNCTION().

#define RUNTIME_UNARY_MATH (   NAME)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_Math_##NAME) { \
SealHandleScope shs(isolate); \
ASSERT(args.length() == 1); \
isolate->counters()->math_##NAME()->Increment(); \
return isolate->heap()->AllocateHeapNumber(std::NAME(x)); \
}
#define CONVERT_DOUBLE_ARG_CHECKED(name, index)
Definition: runtime.cc:136
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define ASSERT(condition)
Definition: checks.h:329

Definition at line 7764 of file runtime.cc.

#define TYPED_ARRAY_CASE (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
case EXTERNAL_##TYPE##_ELEMENTS: \
case TYPE##_ELEMENTS: \
#define TYPED_ARRAY_CASE (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
case EXTERNAL_##TYPE##_ELEMENTS: { \
dense_elements_length = \
External##Type##Array::cast(object->elements())->length(); \
break; \
}
TypeImpl< ZoneTypeConfig > Type
#define TYPED_ARRAY_GETTER (   getter,
  accessor 
)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayGet##getter) { \
HandleScope scope(isolate); \
ASSERT(args.length() == 1); \
if (!holder->IsJSTypedArray()) \
return isolate->Throw(*isolate->factory()->NewTypeError( \
"not_typed_array", HandleVector<Object>(NULL, 0))); \
Handle<JSTypedArray> typed_array(JSTypedArray::cast(*holder)); \
return typed_array->accessor(); \
}
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
kSerializedDataOffset Object
Definition: objects-inl.h:5016
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define ASSERT(condition)
Definition: checks.h:329
#define CONVERT_ARG_HANDLE_CHECKED(Type, name, index)
Definition: runtime.cc:115

Definition at line 1135 of file runtime.cc.

#define TYPED_ARRAYS_CHECK_RUNTIME_FUNCTION (   Type,
  type,
  TYPE,
  ctype,
  size 
)
Value:
RUNTIME_FUNCTION(MaybeObject*, Runtime_HasExternal##Type##Elements) { \
CONVERT_ARG_CHECKED(JSObject, obj, 0); \
return isolate->heap()->ToBoolean(obj->HasExternal##Type##Elements()); \
}
TypeImpl< ZoneTypeConfig > Type
#define RUNTIME_FUNCTION(Type, Name)
Definition: arguments.h:305
#define CONVERT_ARG_CHECKED(Type, name, index)
Definition: runtime.cc:111
HeapObject * obj

Definition at line 14769 of file runtime.cc.