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

#include <runtime.h>

Inheritance diagram for Runtime:
Collaboration diagram for Runtime:

Data Structures

struct  Function
 

Public Types

enum  FunctionId { kNumFunctions, kFirstInlineFunction = kInlineIsSmi }
 
enum  IntrinsicType { RUNTIME, INLINE }
 

Static Public Member Functions

static MUST_USE_RESULT
MaybeObject * 
InitializeIntrinsicFunctionNames (Heap *heap, Object *dictionary)
 
static const FunctionFunctionForSymbol (Handle< String > name)
 
static const FunctionFunctionForId (FunctionId id)
 
static int StringMatch (Isolate *isolate, Handle< String > sub, Handle< String > pat, int index)
 
static bool IsUpperCaseChar (RuntimeState *runtime_state, uint16_t ch)
 
static MUST_USE_RESULT
MaybeObject * 
GetElementOrCharAt (Isolate *isolate, Handle< Object > object, uint32_t index)
 
static MUST_USE_RESULT
MaybeObject * 
SetObjectProperty (Isolate *isolate, Handle< Object > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attr, StrictModeFlag strict_mode)
 
static MUST_USE_RESULT
MaybeObject * 
ForceSetObjectProperty (Isolate *isolate, Handle< JSObject > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attr)
 
static MUST_USE_RESULT
MaybeObject * 
ForceDeleteObjectProperty (Isolate *isolate, Handle< JSReceiver > object, Handle< Object > key)
 
static MUST_USE_RESULT
MaybeObject * 
GetObjectProperty (Isolate *isolate, Handle< Object > object, Handle< Object > key)
 
static void PerformGC (Object *result)
 
static Handle< ObjectCreateArrayLiteralBoilerplate (Isolate *isolate, Handle< FixedArray > literals, Handle< FixedArray > elements)
 

Static Public Attributes

static const int kNotFound = -1
 

Detailed Description

Definition at line 599 of file runtime.h.

Member Enumeration Documentation

enum FunctionId
Enumerator
kNumFunctions 
kFirstInlineFunction 

Definition at line 601 of file runtime.h.

Enumerator
RUNTIME 
INLINE 

Definition at line 613 of file runtime.h.

Member Function Documentation

MaybeObject * ForceDeleteObjectProperty ( Isolate isolate,
Handle< JSReceiver object,
Handle< Object key 
)
static
MaybeObject * ForceSetObjectProperty ( Isolate isolate,
Handle< JSObject object,
Handle< Object key,
Handle< Object value,
PropertyAttributes  attr 
)
static
const Runtime::Function * FunctionForId ( Runtime::FunctionId  id)
static

Definition at line 13274 of file runtime.cc.

const Runtime::Function * FunctionForSymbol ( Handle< String name)
static

Definition at line 13262 of file runtime.cc.

References Smi::cast(), Runtime::kNotFound, v8::internal::NULL, and Smi::value().

MaybeObject * GetElementOrCharAt ( Isolate isolate,
Handle< Object object,
uint32_t  index 
)
static

Definition at line 3945 of file runtime.cc.

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

Referenced by Runtime::GetObjectProperty(), and KeyedLoadIC::Load().

MaybeObject * InitializeIntrinsicFunctionNames ( Heap heap,
Object dictionary 
)
static
bool IsUpperCaseChar ( RuntimeState runtime_state,
uint16_t  ch 
)
static

Field Documentation

const int kNotFound = -1
static

Definition at line 635 of file runtime.h.

Referenced by Runtime::FunctionForSymbol().


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