v8  3.14.5(node0.10.28)
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 "v8.h"
#include "accessors.h"
#include "api.h"
#include "arguments.h"
#include "bootstrapper.h"
#include "codegen.h"
#include "compilation-cache.h"
#include "compiler.h"
#include "cpu.h"
#include "dateparser-inl.h"
#include "debug.h"
#include "deoptimizer.h"
#include "date.h"
#include "execution.h"
#include "global-handles.h"
#include "isolate-inl.h"
#include "jsregexp.h"
#include "json-parser.h"
#include "liveedit.h"
#include "liveobjectlist-inl.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 "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 CONVERT_LANGUAGE_MODE_ARG(name, index)
 
#define ELEMENTS_KIND_CHECK_RUNTIME_FUNCTION(Name)
 
#define F(name, number_of_args, result_size)
 
#define I(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  PropertyDescriptorIndices {
  IS_ACCESSOR_INDEX, VALUE_INDEX, GETTER_INDEX, SETTER_INDEX,
  WRITABLE_INDEX, ENUMERABLE_INDEX, CONFIGURABLE_INDEX, DESCRIPTOR_SIZE
}
 
enum  AsciiCaseConversion
 

Functions

MaybeObject * TransitionElements (Handle< Object > object, ElementsKind to_kind, Isolate *isolate)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateObjectLiteral)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateObjectLiteralShallow)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateArrayLiteral)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CreateArrayLiteralShallow)
 
 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_SetInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetAdd)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetHas)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetDelete)
 
 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_WeakMapInitialize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakMapGet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakMapHas)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakMapDelete)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_WeakMapSet)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ClassOf)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetPrototype)
 
 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_DeclareGlobals)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DeclareContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_InitializeVarGlobal)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_InitializeConstGlobal)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_InitializeConstContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_OptimizeObjectForAddingMultipleProperties)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpExec)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpConstructResult)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RegExpInitializeObject)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FinishArrayPrototypeSetup)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SpecialArrayFunctions)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetDefaultReceiver)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_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_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 *, Runtime_StringCharCodeAt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CharFromCode)
 
void FindAsciiStringIndices (Vector< const char > subject, char 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_StringReplaceRegExpWithString)
 
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 *, Runtime_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_GetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_KeyedGetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DefineOrRedefineAccessorProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DefineOrRedefineDataProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetProperty)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TransitionElementsSmiToDouble)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_TransitionElementsDoubleToObject)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetNativeFlag)
 
 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_StringFromCharCodeArray)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_URIEscape)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_URIUnescape)
 
template<typename StringType >
MaybeObject * AllocateRawString (Isolate *isolate, int length)
 
template<>
MaybeObject * AllocateRawString< SeqTwoByteString > (Isolate *isolate, int length)
 
template<>
MaybeObject * AllocateRawString< SeqAsciiString > (Isolate *isolate, int length)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_QuoteJSONString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_QuoteJSONStringComma)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_QuoteJSONStringArray)
 
 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 *, Runtime_NumberToString)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToStringSkipCache)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToInteger)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToIntegerMapMinusZero)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToJSUint32)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToJSInt32)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NumberToSmi)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_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_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_NumberNot)
 
 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 *, Runtime_StringCompare)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_acos)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_asin)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_atan)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_atan2)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_ceil)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_cos)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_exp)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_floor)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_log)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_pow)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_pow_cfunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RoundNumber)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_sin)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_sqrt)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Math_tan)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateMakeDay)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DateSetValue)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewArgumentsFast)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewStrictArgumentsFast)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewClosure)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FunctionBindArguments)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_BoundFunctionGetBindings)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewObjectFromBound)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewObject)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_FinalizeInstanceSize)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_LazyCompile)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_LazyRecompile)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ParallelRecompile)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NotifyDeoptimized)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NotifyOSR)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DeoptimizeFunction)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ClearFunctionTypeFeedback)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_RunningInSimulator)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_OptimizeFunctionOnNextCall)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetOptimizationStatus)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetOptimizationCount)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CompileForOnStackReplacement)
 
 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 *, Runtime_NewGlobalContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewFunctionContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PushWithContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PushCatchContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PushBlockContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IsJSModule)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PushModuleContext)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_DeleteContextSlot)
 
 RUNTIME_FUNCTION (ObjectPair, Runtime_LoadContextSlot)
 
 RUNTIME_FUNCTION (ObjectPair, Runtime_LoadContextSlotNoReferenceError)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StoreContextSlot)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Throw)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ReThrow)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_PromoteScheduledException)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ThrowReferenceError)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ThrowNotDateError)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_StackGuard)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_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_GlobalReceiver)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ParseJson)
 
bool CodeGenerationFromStringsAllowed (Isolate *isolate, Handle< Context > context)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CompileString)
 
 RUNTIME_FUNCTION (ObjectPair, Runtime_ResolvePossiblyDirectEval)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_SetNewFunctionAttributes)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_AllocateInNewSpace)
 
 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_ProfilerResume)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_ProfilerPause)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetScript)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_CollectStackTrace)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetV8Version)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Abort)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_GetFromCache)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_NewMessageObject)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetType)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetArguments)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetStartPosition)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_MessageGetScript)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_Log)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_IS_VAR)
 
 RUNTIME_FUNCTION (MaybeObject *, Runtime_HaveSameMap)
 

Variables

const int kStringBuilderConcatHelperLengthBits = 11
 
const int kStringBuilderConcatHelperPositionBits = 19
 

Macro Definition Documentation

#define CONVERT_ARG_CHECKED (   Type,
  name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->Is##Type()); \
Type* name = Type::cast(args[index]);
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 73 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);
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 77 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();
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 84 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);
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 98 of file runtime.cc.

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

#define CONVERT_LANGUAGE_MODE_ARG (   name,
  index 
)
Value:
ASSERT(args[index]->IsSmi()); \
ASSERT(args.smi_at(index) == CLASSIC_MODE || \
args.smi_at(index) == STRICT_MODE || \
args.smi_at(index) == EXTENDED_MODE); \
LanguageMode name = \
static_cast<LanguageMode>(args.smi_at(index));
#define ASSERT(condition)
Definition: checks.h:270

Definition at line 130 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);
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 105 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]));
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 113 of file runtime.cc.

#define CONVERT_SMI_ARG_CHECKED (   name,
  index 
)
Value:
RUNTIME_ASSERT(args[index]->IsSmi()); \
int name = args.smi_at(index);
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 91 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) == kStrictMode || \
args.smi_at(index) == kNonStrictMode); \
static_cast<StrictModeFlag>(args.smi_at(index));
#define RUNTIME_ASSERT(value)
Definition: runtime.cc:67

Definition at line 120 of file runtime.cc.

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

#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:121
#define CONVERT_ARG_CHECKED(Type, name, index)
Definition: runtime.cc:73

Definition at line 13181 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 },
#define FUNCTION_ADDR(f)
Definition: globals.h:293

Definition at line 13219 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 },
#define INLINE(header)
Definition: globals.h:338
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit 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 SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available 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 MIPS FPU instructions if NULL

Definition at line 13224 of file runtime.cc.

Referenced by String::Empty(), v8::False(), Isolate::GetData(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), Object::GetPointerFromInternalField(), v8::Null(), Isolate::SetData(), v8::True(), and v8::Undefined().

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

Definition at line 67 of file runtime.cc.

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