v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Code Class Reference

#include <objects.h>

Inheritance diagram for Code:
Collaboration diagram for Code:

Data Structures

class  CacheHolderField
 
class  ExtraICStateField
 
class  ExtraICStateKeyedAccessGrowMode
 
class  ExtraICStateStrictMode
 
class  FullCodeFlagsHasDebugBreakSlotsField
 
class  FullCodeFlagsHasDeoptimizationSupportField
 
class  FullCodeFlagsIsCompiledOptimizable
 
class  ICStateField
 
class  IsPregeneratedField
 
class  KindField
 
class  TypeField
 

Public Types

enum  Flags { FLAGS_MIN_VALUE = kMinInt, FLAGS_MAX_VALUE = kMaxInt }
 
enum  Kind {
  FUNCTION, OPTIMIZED_FUNCTION, STUB, BUILTIN,
  LOAD_IC, KEYED_LOAD_IC, CALL_IC, KEYED_CALL_IC,
  STORE_IC, KEYED_STORE_IC, UNARY_OP_IC, BINARY_OP_IC,
  COMPARE_IC, TO_BOOLEAN_IC, REGEXP = BUILTIN, FIRST_IC_KIND = LOAD_IC,
  LAST_IC_KIND = TO_BOOLEAN_IC
}
 
enum  { NUMBER_OF_KINDS = LAST_IC_KIND + 1 }
 
typedef int ExtraICState
 

Public Member Functions

int instruction_size ()
 
void set_instruction_size (int value)
 
void InvalidateRelocation ()
 
void set_ic_age (int count)
 
int ic_age ()
 
ByteArrayunchecked_relocation_info ()
 
FixedArrayunchecked_deoptimization_data ()
 
int relocation_size ()
 
Flags flags ()
 
void set_flags (Flags flags)
 
Kind kind ()
 
InlineCacheState ic_state ()
 
ExtraICState extra_ic_state ()
 
PropertyType type ()
 
int arguments_count ()
 
bool is_inline_cache_stub ()
 
bool is_load_stub ()
 
bool is_keyed_load_stub ()
 
bool is_store_stub ()
 
bool is_keyed_store_stub ()
 
bool is_call_stub ()
 
bool is_keyed_call_stub ()
 
bool is_unary_op_stub ()
 
bool is_binary_op_stub ()
 
bool is_compare_ic_stub ()
 
bool is_to_boolean_ic_stub ()
 
int major_key ()
 
void set_major_key (int value)
 
bool is_pregenerated ()
 
void set_is_pregenerated (bool value)
 
bool optimizable ()
 
void set_optimizable (bool value)
 
bool has_deoptimization_support ()
 
void set_has_deoptimization_support (bool value)
 
bool has_debug_break_slots ()
 
void set_has_debug_break_slots (bool value)
 
bool is_compiled_optimizable ()
 
void set_compiled_optimizable (bool value)
 
void set_allow_osr_at_loop_nesting_level (int level)
 
int allow_osr_at_loop_nesting_level ()
 
int profiler_ticks ()
 
void set_profiler_ticks (int ticks)
 
unsigned stack_slots ()
 
void set_stack_slots (unsigned slots)
 
unsigned safepoint_table_offset ()
 
void set_safepoint_table_offset (unsigned offset)
 
unsigned stack_check_table_offset ()
 
void set_stack_check_table_offset (unsigned offset)
 
CheckType check_type ()
 
void set_check_type (CheckType value)
 
byte unary_op_type ()
 
void set_unary_op_type (byte value)
 
byte binary_op_type ()
 
void set_binary_op_type (byte value)
 
byte binary_op_result_type ()
 
void set_binary_op_result_type (byte value)
 
byte compare_state ()
 
void set_compare_state (byte value)
 
byte compare_operation ()
 
void set_compare_operation (byte value)
 
byte to_boolean_state ()
 
void set_to_boolean_state (byte value)
 
bool has_function_cache ()
 
void set_has_function_cache (bool flag)
 
bool allowed_in_shared_map_code_cache ()
 
SafepointEntry GetSafepointEntry (Address pc)
 
void SetNoStackCheckTable ()
 
MapFindFirstMap ()
 
byteinstruction_start ()
 
byteinstruction_end ()
 
int body_size ()
 
byterelocation_start ()
 
byteentry ()
 
bool contains (byte *pc)
 
void Relocate (intptr_t delta)
 
void CopyFrom (const CodeDesc &desc)
 
int ExecutableSize ()
 
int SourcePosition (Address pc)
 
int SourceStatementPosition (Address pc)
 
int CodeSize ()
 
void CodeIterateBody (ObjectVisitor *v)
 
template<typename StaticVisitor >
void CodeIterateBody (Heap *heap)
 
void ClearInlineCaches ()
 
void ClearTypeFeedbackCells (Heap *heap)
 
- Public Member Functions inherited from HeapObject
Mapmap ()
 
void set_map (Map *value)
 
void set_map_no_write_barrier (Map *value)
 
MapWord map_word ()
 
void set_map_word (MapWord map_word)
 
HeapGetHeap ()
 
IsolateGetIsolate ()
 
Address address ()
 
void Iterate (ObjectVisitor *v)
 
void IterateBody (InstanceType type, int object_size, ObjectVisitor *v)
 
int Size ()
 
int SizeFromMap (Map *map)
 
WriteBarrierMode GetWriteBarrierMode (const AssertNoAllocation &)
 
void HeapObjectShortPrint (StringStream *accumulator)
 
 STATIC_CHECK (kMapOffset==Internals::kHeapObjectMapOffset)
 
- Public Member Functions inherited from Object
bool IsObject ()
 
bool IsFixedArrayBase ()
 
bool IsInstanceOf (FunctionTemplateInfo *type)
 
bool IsStruct ()
 
 INLINE (bool IsSpecObject())
 
 INLINE (bool IsSpecFunction())
 
 INLINE (bool IsUndefined())
 
 INLINE (bool IsNull())
 
 INLINE (bool IsTheHole())
 
 INLINE (bool IsTrue())
 
 INLINE (bool IsFalse())
 
bool IsArgumentsMarker ()
 
bool NonFailureIsHeapObject ()
 
bool IsFiller ()
 
double Number ()
 
bool IsNaN ()
 
bool HasValidElements ()
 
bool HasSpecificClassOf (String *name)
 
MUST_USE_RESULT MaybeObject * ToObject ()
 
ObjectToBoolean ()
 
MUST_USE_RESULT MaybeObject * ToObject (Context *global_context)
 
MUST_USE_RESULT MaybeObject * ToSmi ()
 
void Lookup (String *name, LookupResult *result)
 
MUST_USE_RESULT MaybeObject * GetProperty (String *key)
 
MUST_USE_RESULT MaybeObject * GetProperty (String *key, PropertyAttributes *attributes)
 
MUST_USE_RESULT MaybeObject * GetPropertyWithReceiver (Object *receiver, String *key, PropertyAttributes *attributes)
 
MUST_USE_RESULT MaybeObject * GetProperty (Object *receiver, LookupResult *result, String *key, PropertyAttributes *attributes)
 
MUST_USE_RESULT MaybeObject * GetPropertyWithDefinedGetter (Object *receiver, JSReceiver *getter)
 
MUST_USE_RESULT MaybeObject * GetElement (uint32_t index)
 
ObjectGetElementNoExceptionThrown (uint32_t index)
 
MUST_USE_RESULT MaybeObject * GetElementWithReceiver (Object *receiver, uint32_t index)
 
ObjectGetPrototype ()
 
MUST_USE_RESULT MaybeObject * GetHash (CreationFlag flag)
 
bool SameValue (Object *other)
 
bool ToArrayIndex (uint32_t *index)
 
bool IsStringObjectWithCharacterAt (uint32_t index)
 
void ShortPrint ()
 
void ShortPrint (FILE *out)
 
void ShortPrint (StringStream *accumulator)
 

Static Public Member Functions

static StrictModeFlag GetStrictMode (ExtraICState extra_ic_state)
 
static KeyedAccessGrowMode GetKeyedAccessGrowMode (ExtraICState extra_ic_state)
 
static ExtraICState ComputeExtraICState (KeyedAccessGrowMode grow_mode, StrictModeFlag strict_mode)
 
static Flags ComputeFlags (Kind kind, InlineCacheState ic_state=UNINITIALIZED, ExtraICState extra_ic_state=kNoExtraICState, PropertyType type=NORMAL, int argc=-1, InlineCacheHolderFlag holder=OWN_MAP)
 
static Flags ComputeMonomorphicFlags (Kind kind, PropertyType type, ExtraICState extra_ic_state=kNoExtraICState, InlineCacheHolderFlag holder=OWN_MAP, int argc=-1)
 
static InlineCacheState ExtractICStateFromFlags (Flags flags)
 
static PropertyType ExtractTypeFromFlags (Flags flags)
 
static Kind ExtractKindFromFlags (Flags flags)
 
static InlineCacheHolderFlag ExtractCacheHolderFromFlags (Flags flags)
 
static ExtraICState ExtractExtraICStateFromFlags (Flags flags)
 
static int ExtractArgumentsCountFromFlags (Flags flags)
 
static Flags RemoveTypeFromFlags (Flags flags)
 
static CodeGetCodeFromTargetAddress (Address address)
 
static ObjectGetObjectFromEntryAddress (Address location_of_address)
 
static int SizeFor (int body_size)
 
static Codecast (Object *obj)
 
- Static Public Member Functions inherited from HeapObject
static HeapObjectFromAddress (Address address)
 
static Object ** RawField (HeapObject *obj, int offset)
 
static HeapObjectcast (Object *obj)
 
- Static Public Member Functions inherited from Object
static Handle< ObjectGetProperty (Handle< Object > object, Handle< Object > receiver, LookupResult *result, Handle< String > key, PropertyAttributes *attributes)
 
static Handle< ObjectGetElement (Handle< Object > object, uint32_t index)
 
static Objectcast (Object *value)
 

Static Public Attributes

static const ExtraICState kNoExtraICState = 0
 
static const int kExtraICStateGrowModeShift = 1
 
static const int kMaxLoopNestingMarker = 6
 
static const int kInstructionSizeOffset = HeapObject::kHeaderSize
 
static const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize
 
static const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize
 
static const int kDeoptimizationDataOffset
 
static const int kTypeFeedbackInfoOffset
 
static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize
 
static const int kICAgeOffset
 
static const int kFlagsOffset = kICAgeOffset + kIntSize
 
static const int kKindSpecificFlagsOffset = kFlagsOffset + kIntSize
 
static const int kKindSpecificFlagsSize = 2 * kIntSize
 
static const int kHeaderPaddingStart
 
static const int kHeaderSize
 
static const int kStubMajorKeyOffset = kKindSpecificFlagsOffset
 
static const int kOptimizableOffset = kKindSpecificFlagsOffset
 
static const int kStackSlotsOffset = kKindSpecificFlagsOffset
 
static const int kCheckTypeOffset = kKindSpecificFlagsOffset
 
static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1
 
static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1
 
static const int kCompareStateOffset = kStubMajorKeyOffset + 1
 
static const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1
 
static const int kHasFunctionCacheOffset = kStubMajorKeyOffset + 1
 
static const int kFullCodeFlags = kOptimizableOffset + 1
 
static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1
 
static const int kCompareOperationOffset = kCompareStateOffset + 1
 
static const int kAllowOSRAtLoopNestingLevelOffset = kFullCodeFlags + 1
 
static const int kProfilerTicksOffset = kAllowOSRAtLoopNestingLevelOffset + 1
 
static const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize
 
static const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize
 
static const int kArgumentsCountShift = 15
 
static const int kArgumentsCountMask = ~((1 << kArgumentsCountShift) - 1)
 
static const int kFlagsNotUsedInLookup
 
- Static Public Attributes inherited from HeapObject
static const int kMapOffset = Object::kHeaderSize
 
static const int kHeaderSize = kMapOffset + kPointerSize
 
- Static Public Attributes inherited from Object
static const int kHeaderSize = 0
 

Additional Inherited Members

- Protected Member Functions inherited from HeapObject
void IteratePointers (ObjectVisitor *v, int start, int end)
 
void IteratePointer (ObjectVisitor *v, int offset)
 

Detailed Description

Definition at line 4158 of file objects.h.

Member Typedef Documentation

typedef int ExtraICState

Definition at line 4197 of file objects.h.

Member Enumeration Documentation

anonymous enum
Enumerator
NUMBER_OF_KINDS 

Definition at line 4193 of file objects.h.

enum Flags
Enumerator
FLAGS_MIN_VALUE 
FLAGS_MAX_VALUE 

Definition at line 4164 of file objects.h.

enum Kind
Enumerator
FUNCTION 
OPTIMIZED_FUNCTION 
STUB 
BUILTIN 
LOAD_IC 
KEYED_LOAD_IC 
CALL_IC 
KEYED_CALL_IC 
STORE_IC 
KEYED_STORE_IC 
UNARY_OP_IC 
BINARY_OP_IC 
COMPARE_IC 
TO_BOOLEAN_IC 
REGEXP 
FIRST_IC_KIND 
LAST_IC_KIND 

Definition at line 4169 of file objects.h.

Member Function Documentation

int allow_osr_at_loop_nesting_level ( )
inline

Definition at line 3145 of file objects-inl.h.

References ASSERT_EQ, and READ_BYTE_FIELD.

Referenced by RuntimeProfiler::OptimizeNow().

bool allowed_in_shared_map_code_cache ( )

Definition at line 8272 of file objects.cc.

References Code::is_keyed_load_stub(), and Code::is_keyed_store_stub().

Referenced by Map::UpdateCodeCache().

byte binary_op_result_type ( )
inline

Definition at line 3246 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

byte binary_op_type ( )
inline

Definition at line 3234 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

int body_size ( )
inline

Definition at line 4386 of file objects-inl.h.

References v8::internal::kObjectAlignment, and v8::internal::RoundUp().

CheckType check_type ( )
inline

Definition at line 3209 of file objects-inl.h.

References ASSERT, READ_BYTE_FIELD, and v8::internal::type().

int CodeSize ( )
inline

Definition at line 4472 of file objects.h.

byte compare_operation ( )
inline

Definition at line 3270 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

Referenced by CompareIC::ComputeOperation().

byte compare_state ( )
inline

Definition at line 3258 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

Referenced by CompareIC::ComputeState().

static ExtraICState ComputeExtraICState ( KeyedAccessGrowMode  grow_mode,
StrictModeFlag  strict_mode 
)
inlinestatic

Definition at line 4386 of file objects.h.

Referenced by KeyedIC::ComputeStub().

Code::Flags ComputeFlags ( Kind  kind,
InlineCacheState  ic_state = UNINITIALIZED,
ExtraICState  extra_ic_state = kNoExtraICState,
PropertyType  type = NORMAL,
int  argc = -1,
InlineCacheHolderFlag  holder = OWN_MAP 
)
inlinestatic

Definition at line 3312 of file objects-inl.h.

References ASSERT.

Referenced by check(), HGraph::Compile(), KeyedIC::ComputeStub(), FullCodeGenerator::MakeCode(), and TEST().

Code::Flags ComputeMonomorphicFlags ( Kind  kind,
PropertyType  type,
ExtraICState  extra_ic_state = kNoExtraICState,
InlineCacheHolderFlag  holder = OWN_MAP,
int  argc = -1 
)
inlinestatic

Definition at line 3335 of file objects-inl.h.

References v8::internal::MONOMORPHIC.

bool contains ( byte pc)
inline
Code::ExtraICState extra_ic_state ( )
inline

Definition at line 3037 of file objects-inl.h.

References ASSERT, and v8::internal::flags.

Referenced by CallICBase::Clear(), and IC::SetTargetAtAddress().

int ExtractArgumentsCountFromFlags ( Flags  flags)
inlinestatic

Definition at line 3364 of file objects-inl.h.

InlineCacheHolderFlag ExtractCacheHolderFromFlags ( Flags  flags)
inlinestatic

Definition at line 3369 of file objects-inl.h.

Code::ExtraICState ExtractExtraICStateFromFlags ( Flags  flags)
inlinestatic

Definition at line 3354 of file objects-inl.h.

InlineCacheState ExtractICStateFromFlags ( Flags  flags)
inlinestatic

Definition at line 3349 of file objects-inl.h.

Code::Kind ExtractKindFromFlags ( Flags  flags)
inlinestatic

Definition at line 3344 of file objects-inl.h.

PropertyType ExtractTypeFromFlags ( Flags  flags)
inlinestatic

Definition at line 3359 of file objects-inl.h.

Referenced by CodeCache::Lookup().

Map * FindFirstMap ( )
Code::Flags flags ( )
inline

Definition at line 3004 of file objects-inl.h.

References READ_INT_FIELD.

Referenced by CodeCache::GetIndex(), CodeCache::RemoveByIndex(), and StubCache::Set().

static KeyedAccessGrowMode GetKeyedAccessGrowMode ( ExtraICState  extra_ic_state)
inlinestatic

Definition at line 4381 of file objects.h.

Referenced by KeyedIC::ComputeStub().

Object * GetObjectFromEntryAddress ( Address  location_of_address)
inlinestatic
SafepointEntry GetSafepointEntry ( Address  pc)

Definition at line 8217 of file objects.cc.

Referenced by OptimizedFrame::GetDeoptimizationData().

static StrictModeFlag GetStrictMode ( ExtraICState  extra_ic_state)
inlinestatic

Definition at line 4377 of file objects.h.

Referenced by v8::internal::RUNTIME_FUNCTION(), and IC::SetTargetAtAddress().

bool has_debug_break_slots ( )
inline

Definition at line 3115 of file objects-inl.h.

References ASSERT_EQ, v8::internal::flags, and READ_BYTE_FIELD.

bool has_deoptimization_support ( )
inline
bool has_function_cache ( )
inline

Definition at line 3294 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

byte * instruction_end ( )
inline
void InvalidateRelocation ( )

Definition at line 8107 of file objects.cc.

References HeapObject::GetHeap().

Referenced by Deoptimizer::DeoptimizeFunction().

bool is_binary_op_stub ( )
inline

Definition at line 4267 of file objects.h.

bool is_call_stub ( )
inline

Definition at line 4264 of file objects.h.

Referenced by Heap::CreateCode().

bool is_compare_ic_stub ( )
inline

Definition at line 4268 of file objects.h.

Referenced by IC::SetTargetAtAddress().

bool is_compiled_optimizable ( )
inline

Definition at line 3130 of file objects-inl.h.

References ASSERT_EQ, v8::internal::flags, and READ_BYTE_FIELD.

bool is_keyed_call_stub ( )
inline

Definition at line 4265 of file objects.h.

Referenced by Heap::CreateCode().

bool is_keyed_load_stub ( )
inline

Definition at line 4261 of file objects.h.

Referenced by Code::allowed_in_shared_map_code_cache().

bool is_keyed_store_stub ( )
inline

Definition at line 4263 of file objects.h.

Referenced by Code::allowed_in_shared_map_code_cache().

bool is_load_stub ( )
inline

Definition at line 4260 of file objects.h.

bool is_pregenerated ( )
inline

Definition at line 3075 of file objects-inl.h.

References v8::internal::flags.

bool is_store_stub ( )
inline

Definition at line 4262 of file objects.h.

bool is_to_boolean_ic_stub ( )
inline

Definition at line 4269 of file objects.h.

bool is_unary_op_stub ( )
inline

Definition at line 4266 of file objects.h.

int major_key ( )
inline
bool optimizable ( )
inline

Definition at line 3088 of file objects-inl.h.

References ASSERT_EQ, and READ_BYTE_FIELD.

Referenced by JSFunction::IsInlineable().

int profiler_ticks ( )
inline

Definition at line 3158 of file objects-inl.h.

References ASSERT_EQ, and READ_BYTE_FIELD.

Referenced by RuntimeProfiler::OptimizeNow().

void Relocate ( intptr_t  delta)
int relocation_size ( )
inline

Definition at line 4407 of file objects-inl.h.

Referenced by RelocIterator::RelocIterator().

byte * relocation_start ( )
inline

Definition at line 4402 of file objects-inl.h.

Referenced by Heap::CopyCode(), Code::CopyFrom(), and RelocIterator::RelocIterator().

Code::Flags RemoveTypeFromFlags ( Flags  flags)
inlinestatic

Definition at line 3374 of file objects-inl.h.

unsigned safepoint_table_offset ( )
inline

Definition at line 3183 of file objects-inl.h.

References ASSERT, and READ_UINT32_FIELD.

void set_allow_osr_at_loop_nesting_level ( int  level)
inline

Definition at line 3151 of file objects-inl.h.

References ASSERT, ASSERT_EQ, and WRITE_BYTE_FIELD.

Referenced by RuntimeProfiler::OptimizeNow(), and v8::internal::RUNTIME_FUNCTION().

void set_binary_op_result_type ( byte  value)
inline

Definition at line 3252 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_binary_op_type ( byte  value)
inline

Definition at line 3240 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_check_type ( CheckType  value)
inline

Definition at line 3216 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

Referenced by Heap::CreateCode().

void set_compare_operation ( byte  value)
inline

Definition at line 3276 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_compare_state ( byte  value)
inline

Definition at line 3264 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_compiled_optimizable ( bool  value)
inline

Definition at line 3137 of file objects-inl.h.

References ASSERT_EQ, v8::internal::flags, READ_BYTE_FIELD, and WRITE_BYTE_FIELD.

void set_flags ( Code::Flags  flags)
inline
void set_has_debug_break_slots ( bool  value)
inline

Definition at line 3122 of file objects-inl.h.

References ASSERT_EQ, v8::internal::flags, READ_BYTE_FIELD, and WRITE_BYTE_FIELD.

void set_has_deoptimization_support ( bool  value)
inline
void set_has_function_cache ( bool  flag)
inline

Definition at line 3300 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_ic_age ( int  count)
inline

Referenced by Heap::CreateCode().

void set_instruction_size ( int  value)
inline

Referenced by Heap::CreateCode().

void set_is_pregenerated ( bool  value)
inline

Definition at line 3080 of file objects-inl.h.

References ASSERT, and v8::internal::flags.

void set_major_key ( int  value)
inline

Definition at line 3064 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_optimizable ( bool  value)
inline
void set_profiler_ticks ( int  ticks)
inline
void set_safepoint_table_offset ( unsigned  offset)
inline
void set_stack_check_table_offset ( unsigned  offset)
inline
void set_stack_slots ( unsigned  slots)
inline

Definition at line 3177 of file objects-inl.h.

References ASSERT, and WRITE_UINT32_FIELD.

void set_to_boolean_state ( byte  value)
inline

Definition at line 3288 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void set_unary_op_type ( byte  value)
inline

Definition at line 3228 of file objects-inl.h.

References ASSERT, and WRITE_BYTE_FIELD.

void SetNoStackCheckTable ( )
static int SizeFor ( int  body_size)
inlinestatic
int SourceStatementPosition ( Address  pc)
unsigned stack_check_table_offset ( )
inline
unsigned stack_slots ( )
inline

Definition at line 3171 of file objects-inl.h.

References ASSERT, and READ_UINT32_FIELD.

byte to_boolean_state ( )
inline

Definition at line 3282 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

PropertyType type ( )
inline

Definition at line 3043 of file objects-inl.h.

References v8::internal::flags.

Referenced by CodeCache::GetIndex(), CodeCache::RemoveByIndex(), and CodeCache::Update().

byte unary_op_type ( )
inline

Definition at line 3222 of file objects-inl.h.

References ASSERT, and READ_BYTE_FIELD.

FixedArray * unchecked_deoptimization_data ( )
inline

Definition at line 4391 of file objects-inl.h.

References READ_FIELD.

ByteArray * unchecked_relocation_info ( )
inline

Definition at line 4397 of file objects-inl.h.

References READ_FIELD.

Field Documentation

const int kAllowOSRAtLoopNestingLevelOffset = kFullCodeFlags + 1
static

Definition at line 4538 of file objects.h.

const int kArgumentsCountMask = ~((1 << kArgumentsCountShift) - 1)
static

Definition at line 4554 of file objects.h.

const int kArgumentsCountShift = 15
static

Definition at line 4553 of file objects.h.

const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1
static

Definition at line 4534 of file objects.h.

const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1
static

Definition at line 4523 of file objects.h.

const int kCheckTypeOffset = kKindSpecificFlagsOffset
static

Definition at line 4520 of file objects.h.

const int kCompareOperationOffset = kCompareStateOffset + 1
static

Definition at line 4536 of file objects.h.

const int kCompareStateOffset = kStubMajorKeyOffset + 1
static

Definition at line 4524 of file objects.h.

const int kDeoptimizationDataOffset
static
Initial value:

Definition at line 4497 of file objects.h.

Referenced by Code::CodeIterateBody().

const int kExtraICStateGrowModeShift = 1
static

Definition at line 4375 of file objects.h.

const int kFlagsNotUsedInLookup
static
Initial value:

Definition at line 4557 of file objects.h.

const int kFlagsOffset = kICAgeOffset + kIntSize
static

Definition at line 4504 of file objects.h.

const int kFullCodeFlags = kOptimizableOffset + 1
static

Definition at line 4528 of file objects.h.

const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize
static

Definition at line 4501 of file objects.h.

const int kHandlerTableOffset = kRelocationInfoOffset + kPointerSize
static

Definition at line 4496 of file objects.h.

Referenced by Code::CodeIterateBody().

const int kHasFunctionCacheOffset = kStubMajorKeyOffset + 1
static

Definition at line 4526 of file objects.h.

const int kHeaderPaddingStart
static
Initial value:

Definition at line 4508 of file objects.h.

const int kICAgeOffset
static
Initial value:

Definition at line 4502 of file objects.h.

const int kInstructionSizeOffset = HeapObject::kHeaderSize
static

Definition at line 4494 of file objects.h.

const int kKindSpecificFlagsOffset = kFlagsOffset + kIntSize
static

Definition at line 4505 of file objects.h.

const int kKindSpecificFlagsSize = 2 * kIntSize
static

Definition at line 4506 of file objects.h.

const int kMaxLoopNestingMarker = 6
static

Definition at line 4491 of file objects.h.

Referenced by RuntimeProfiler::OptimizeNow(), and v8::internal::RUNTIME_FUNCTION().

const ExtraICState kNoExtraICState = 0
static
const int kOptimizableOffset = kKindSpecificFlagsOffset
static

Definition at line 4518 of file objects.h.

const int kProfilerTicksOffset = kAllowOSRAtLoopNestingLevelOffset + 1
static

Definition at line 4539 of file objects.h.

const int kRelocationInfoOffset = kInstructionSizeOffset + kIntSize
static

Definition at line 4495 of file objects.h.

Referenced by Code::CodeIterateBody().

const int kSafepointTableOffsetOffset = kStackSlotsOffset + kIntSize
static

Definition at line 4541 of file objects.h.

const int kStackCheckTableOffsetOffset = kStackSlotsOffset + kIntSize
static

Definition at line 4542 of file objects.h.

const int kStackSlotsOffset = kKindSpecificFlagsOffset
static

Definition at line 4519 of file objects.h.

const int kStubMajorKeyOffset = kKindSpecificFlagsOffset
static

Definition at line 4517 of file objects.h.

const int kToBooleanTypeOffset = kStubMajorKeyOffset + 1
static

Definition at line 4525 of file objects.h.

const int kTypeFeedbackInfoOffset
static
Initial value:

Definition at line 4499 of file objects.h.

Referenced by Code::CodeIterateBody().

const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1
static

Definition at line 4522 of file objects.h.


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