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
objects.h File Reference
#include "allocation.h"
#include "assert-scope.h"
#include "builtins.h"
#include "elements-kind.h"
#include "flags.h"
#include "list.h"
#include "property-details.h"
#include "smart-pointers.h"
#include "unicode-inl.h"
#include "v8checks.h"
#include "zone.h"
Include dependency graph for objects.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  TypeImpl< class >
 
class  BASE_EMBEDDED< Visitor >
 
class  Object
 
class  Smi
 
class  Failure
 
class  BASE_EMBEDDED< Visitor >
 
class  HeapObject
 
class  FixedBodyDescriptor< start_offset, end_offset, size >
 
class  FlexibleBodyDescriptor< start_offset >
 
class  HeapNumber
 
class  JSReceiver
 
class  JSObject
 
class  JSObject::BodyDescriptor
 
class  FixedArrayBase
 
class  FixedArray
 
class  FixedArray::BodyDescriptor
 
class  FixedDoubleArray
 
class  ConstantPoolArray
 
class  DescriptorArray
 
class  DescriptorArray::WhitenessWitness
 
class  BaseShape< Key >
 
class  HashTable< Shape, Key >
 
class  HashTableKey
 
class  StringTableShape
 
class  StringTable
 
class  MapCacheShape
 
class  MapCache
 
class  Dictionary< Shape, Key >
 
class  NameDictionaryShape
 
class  NameDictionary
 
class  NumberDictionaryShape
 
class  SeededNumberDictionaryShape
 
class  UnseededNumberDictionaryShape
 
class  SeededNumberDictionary
 
class  UnseededNumberDictionary
 
class  ObjectHashTableShape< entrysize >
 
class  ObjectHashSet
 
class  ObjectHashTable
 
class  WeakHashTableShape< entrysize >
 
class  WeakHashTable
 
class  JSFunctionResultCache
 
class  ScopeInfo
 
class  NormalizedMapCache
 
class  ByteArray
 
class  FreeSpace
 
class  ExternalArray
 
class  ExternalUint8ClampedArray
 
class  ExternalInt8Array
 
class  ExternalUint8Array
 
class  ExternalInt16Array
 
class  ExternalUint16Array
 
class  ExternalInt32Array
 
class  ExternalUint32Array
 
class  ExternalFloat32Array
 
class  ExternalFloat64Array
 
class  FixedTypedArrayBase
 
class  FixedTypedArray< Traits >
 
class  DeoptimizationInputData
 
class  DeoptimizationOutputData
 
class  Code
 
class  Code::FullCodeFlagsHasDeoptimizationSupportField
 
class  Code::FullCodeFlagsHasDebugBreakSlotsField
 
class  Code::FullCodeFlagsIsCompiledOptimizable
 
class  Code::ICStateField
 
class  Code::TypeField
 
class  Code::CacheHolderField
 
class  Code::KindField
 
class  Code::ExtraICStateField
 
class  Code::StackSlotsField
 
class  Code::HasFunctionCacheField
 
class  Code::MarkedForDeoptimizationField
 
class  Code::IsCrankshaftedField
 
class  Code::SafepointTableOffsetField
 
class  Code::StubMajorKeyField
 
class  Code::BackEdgeTableOffsetField
 
class  Code::BackEdgesPatchedForOSRField
 
class  DependentCode
 
class  DependentCode::GroupStartIndexes
 
class  Map
 
class  Map::EnumLengthBits
 
class  Map::NumberOfOwnDescriptorsBits
 
class  Map::IsShared
 
class  Map::FunctionWithPrototype
 
class  Map::DictionaryMap
 
class  Map::OwnsDescriptors
 
class  Map::HasInstanceCallHandler
 
class  Map::Deprecated
 
class  Map::IsFrozen
 
class  Map::IsUnstable
 
class  Map::IsMigrationTarget
 
class  Struct
 
class  Box
 
class  Script
 
class  SharedFunctionInfo
 
class  SharedFunctionInfo::DeoptCountBits
 
class  SharedFunctionInfo::OptReenableTriesBits
 
class  SharedFunctionInfo::ICAgeBits
 
class  SharedFunctionInfo::OptCountBits
 
class  SharedFunctionInfo::DisabledOptimizationReasonBits
 
class  JSGeneratorObject
 
class  JSModule
 
class  JSFunction
 
class  JSGlobalProxy
 
class  GlobalObject
 
class  JSGlobalObject
 
class  JSBuiltinsObject
 
class  JSValue
 
class  JSDate
 
class  JSMessageObject
 
class  JSRegExp
 
class  JSRegExp::Flags
 
class  CompilationCacheShape
 
class  CompilationCacheTable
 
class  CodeCache
 
class  CodeCacheHashTableShape
 
class  CodeCacheHashTable
 
class  PolymorphicCodeCache
 
class  PolymorphicCodeCacheHashTable
 
class  TypeFeedbackInfo
 
class  AllocationSite
 
class  AllocationSite::ElementsKindBits
 
class  AllocationSite::UnusedBits
 
class  AllocationSite::DoNotInlineBit
 
class  AllocationSite::MementoFoundCountBits
 
class  AllocationSite::PretenureDecisionBits
 
class  AllocationSite::DeoptDependentCodeBit
 
class  AllocationMemento
 
class  AliasedArgumentsEntry
 
class  StringHasher
 
class  BASE_EMBEDDED< Visitor >
 
class  Name
 
class  Symbol
 
class  String
 
class  String::FlatContent
 
class  SeqString
 
class  SeqOneByteString
 
class  SeqTwoByteString
 
class  ConsString
 
class  SlicedString
 
class  ExternalString
 
class  ExternalAsciiString
 
class  ExternalTwoByteString
 
class  BASE_EMBEDDED< Visitor >
 
class  FlatStringReader
 
class  ConsStringNullOp
 
class  ConsStringIteratorOp
 
class  StringCharacterStream
 
class  VectorIterator< T >
 
class  Oddball
 
class  Cell
 
class  PropertyCell
 
class  JSProxy
 
class  JSFunctionProxy
 
class  JSSet
 
class  JSMap
 
class  JSWeakCollection
 
class  JSWeakMap
 
class  JSWeakSet
 
class  JSArrayBuffer
 
class  JSArrayBufferView
 
class  JSTypedArray
 
class  JSDataView
 
class  Foreign
 
class  JSArray
 
class  JSRegExpResult
 
class  AccessorInfo
 
struct  BitmaskCompareDescriptor
 
struct  PointerCompareDescriptor
 
struct  PrimitiveValueDescriptor
 
struct  ObjectDerefenceDescriptor
 
struct  PointerShiftDescriptor
 
struct  DeclaredAccessorDescriptorData
 
class  DeclaredAccessorDescriptorIterator
 
class  DeclaredAccessorDescriptor
 
class  DeclaredAccessorInfo
 
class  ExecutableAccessorInfo
 
class  AccessorPair
 
class  AccessCheckInfo
 
class  InterceptorInfo
 
class  CallHandlerInfo
 
class  TemplateInfo
 
class  FunctionTemplateInfo
 
class  ObjectTemplateInfo
 
class  SignatureInfo
 
class  TypeSwitchInfo
 
class  VisitorSynchronization
 
class  BASE_EMBEDDED< Visitor >
 
class  StructBodyDescriptor
 
class  BooleanBit
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define INSTANCE_TYPE_LIST(V)
 
#define STRING_TYPE_LIST(V)
 
#define STRUCT_LIST_ALL(V)
 
#define STRUCT_LIST_DEBUGGER(V)
 
#define STRUCT_LIST(V)
 
#define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V)
 
#define DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE(name)   name,
 
#define DECL_BOOLEAN_ACCESSORS(name)
 
#define DECL_ACCESSORS(name, type)
 
#define DECLARE_VERIFIER(Name)
 
#define DECLARE_PRINTER(Name)
 
#define OBJECT_TYPE_LIST(V)
 
#define HEAP_OBJECT_TYPE_LIST(V)
 
#define ERROR_MESSAGES_LIST(V)
 
#define ERROR_MESSAGES_CONSTANTS(C, T)   C,
 
#define IS_TYPE_FUNCTION_DECL(type_)   inline bool Is##type_();
 
#define DECLARE_STRUCT_PREDICATE(NAME, Name, name)   inline bool Is##Name();
 
#define FOR_EACH_NUMERIC_FIELD(V)
 
#define FIELD_ACCESSORS(name)
 
#define DECL_INDEX(name)   k##name,
 
#define TYPED_ARRAYS(V)
 
#define FIXED_TYPED_ARRAY_TRAITS(Type, type, TYPE, elementType, size)
 
#define DEFINE_ELEMENT_ACCESSORS(name, type)
 
#define DEFINE_ENTRY_ACCESSORS(name, type)
 
#define NON_IC_KIND_LIST(V)
 
#define IC_KIND_LIST(V)
 
#define CODE_KIND_LIST(V)
 
#define DEFINE_CODE_KIND_ENUM(name)   name,
 
#define DECLARE_CODE_AGE_ENUM(X)   k##X##CodeAge,
 
#define FUNCTIONS_WITH_ID_LIST(V)
 
#define DECLARE_FUNCTION_ID(ignored1, ignore2, name)   k##name,
 
#define VISITOR_SYNCHRONIZATION_TAGS_LIST(V)
 
#define DECLARE_ENUM(enum_item, ignore1, ignore2)   enum_item,
 

Typedefs

typedef int ExtraICState
 

Enumerations

enum  KeyedAccessStoreMode {
  STANDARD_STORE, STORE_TRANSITION_SMI_TO_OBJECT, STORE_TRANSITION_SMI_TO_DOUBLE, STORE_TRANSITION_DOUBLE_TO_OBJECT,
  STORE_TRANSITION_HOLEY_SMI_TO_OBJECT, STORE_TRANSITION_HOLEY_SMI_TO_DOUBLE, STORE_TRANSITION_HOLEY_DOUBLE_TO_OBJECT, STORE_AND_GROW_NO_TRANSITION,
  STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT, STORE_AND_GROW_TRANSITION_SMI_TO_DOUBLE, STORE_AND_GROW_TRANSITION_DOUBLE_TO_OBJECT, STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_OBJECT,
  STORE_AND_GROW_TRANSITION_HOLEY_SMI_TO_DOUBLE, STORE_AND_GROW_TRANSITION_HOLEY_DOUBLE_TO_OBJECT, STORE_NO_TRANSITION_IGNORE_OUT_OF_BOUNDS, STORE_NO_TRANSITION_HANDLE_COW
}
 
enum  ContextualMode { NOT_CONTEXTUAL, CONTEXTUAL }
 
enum  WriteBarrierMode { SKIP_WRITE_BARRIER, UPDATE_WRITE_BARRIER }
 
enum  StoreMode { ALLOW_AS_CONSTANT, FORCE_FIELD }
 
enum  PropertyNormalizationMode { CLEAR_INOBJECT_PROPERTIES, KEEP_INOBJECT_PROPERTIES }
 
enum  NormalizedMapSharingMode { UNIQUE_NORMALIZED_MAP, SHARED_NORMALIZED_MAP }
 
enum  TransitionFlag { INSERT_TRANSITION, OMIT_TRANSITION }
 
enum  DebugExtraICState { DEBUG_BREAK, DEBUG_PREPARE_STEP_IN }
 
enum  SimpleTransitionFlag { SIMPLE_TRANSITION, FULL_TRANSITION }
 
enum  DescriptorFlag { ALL_DESCRIPTORS, OWN_DESCRIPTORS }
 
enum  MarkingParity { NO_MARKING_PARITY, ODD_MARKING_PARITY, EVEN_MARKING_PARITY }
 
enum  StringRepresentationTag { kSeqStringTag = 0x0, kConsStringTag = 0x1, kExternalStringTag = 0x2, kSlicedStringTag = 0x3 }
 
enum  InstanceType {
  INTERNALIZED_STRING_TYPE, ASCII_INTERNALIZED_STRING_TYPE, CONS_INTERNALIZED_STRING_TYPE, CONS_ASCII_INTERNALIZED_STRING_TYPE,
  EXTERNAL_INTERNALIZED_STRING_TYPE, EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE, EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE, SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE,
  SHORT_EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE, SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE, STRING_TYPE = INTERNALIZED_STRING_TYPE | kNotInternalizedTag, ASCII_STRING_TYPE = ASCII_INTERNALIZED_STRING_TYPE | kNotInternalizedTag,
  CONS_STRING_TYPE = CONS_INTERNALIZED_STRING_TYPE | kNotInternalizedTag, CONS_ASCII_STRING_TYPE, SLICED_STRING_TYPE, SLICED_ASCII_STRING_TYPE,
  EXTERNAL_STRING_TYPE, EXTERNAL_ASCII_STRING_TYPE, EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE, SHORT_EXTERNAL_STRING_TYPE,
  SHORT_EXTERNAL_ASCII_STRING_TYPE, SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE, SYMBOL_TYPE = kNotStringTag, MAP_TYPE,
  CODE_TYPE, ODDBALL_TYPE, CELL_TYPE, PROPERTY_CELL_TYPE,
  HEAP_NUMBER_TYPE, FOREIGN_TYPE, BYTE_ARRAY_TYPE, FREE_SPACE_TYPE,
  EXTERNAL_INT8_ARRAY_TYPE, EXTERNAL_UINT8_ARRAY_TYPE, EXTERNAL_INT16_ARRAY_TYPE, EXTERNAL_UINT16_ARRAY_TYPE,
  EXTERNAL_INT32_ARRAY_TYPE, EXTERNAL_UINT32_ARRAY_TYPE, EXTERNAL_FLOAT32_ARRAY_TYPE, EXTERNAL_FLOAT64_ARRAY_TYPE,
  EXTERNAL_UINT8_CLAMPED_ARRAY_TYPE, FIXED_INT8_ARRAY_TYPE, FIXED_UINT8_ARRAY_TYPE, FIXED_INT16_ARRAY_TYPE,
  FIXED_UINT16_ARRAY_TYPE, FIXED_INT32_ARRAY_TYPE, FIXED_UINT32_ARRAY_TYPE, FIXED_FLOAT32_ARRAY_TYPE,
  FIXED_FLOAT64_ARRAY_TYPE, FIXED_UINT8_CLAMPED_ARRAY_TYPE, FIXED_DOUBLE_ARRAY_TYPE, FILLER_TYPE,
  DECLARED_ACCESSOR_DESCRIPTOR_TYPE, DECLARED_ACCESSOR_INFO_TYPE, EXECUTABLE_ACCESSOR_INFO_TYPE, ACCESSOR_PAIR_TYPE,
  ACCESS_CHECK_INFO_TYPE, INTERCEPTOR_INFO_TYPE, CALL_HANDLER_INFO_TYPE, FUNCTION_TEMPLATE_INFO_TYPE,
  OBJECT_TEMPLATE_INFO_TYPE, SIGNATURE_INFO_TYPE, TYPE_SWITCH_INFO_TYPE, ALLOCATION_SITE_TYPE,
  ALLOCATION_MEMENTO_TYPE, SCRIPT_TYPE, CODE_CACHE_TYPE, POLYMORPHIC_CODE_CACHE_TYPE,
  TYPE_FEEDBACK_INFO_TYPE, ALIASED_ARGUMENTS_ENTRY_TYPE, BOX_TYPE, DEBUG_INFO_TYPE,
  BREAK_POINT_INFO_TYPE, FIXED_ARRAY_TYPE, CONSTANT_POOL_ARRAY_TYPE, SHARED_FUNCTION_INFO_TYPE,
  JS_MESSAGE_OBJECT_TYPE, JS_FUNCTION_PROXY_TYPE, JS_PROXY_TYPE, JS_VALUE_TYPE,
  JS_DATE_TYPE, JS_OBJECT_TYPE, JS_CONTEXT_EXTENSION_OBJECT_TYPE, JS_GENERATOR_OBJECT_TYPE,
  JS_MODULE_TYPE, JS_GLOBAL_OBJECT_TYPE, JS_BUILTINS_OBJECT_TYPE, JS_GLOBAL_PROXY_TYPE,
  JS_ARRAY_TYPE, JS_ARRAY_BUFFER_TYPE, JS_TYPED_ARRAY_TYPE, JS_DATA_VIEW_TYPE,
  JS_SET_TYPE, JS_MAP_TYPE, JS_WEAK_MAP_TYPE, JS_WEAK_SET_TYPE,
  JS_REGEXP_TYPE, JS_FUNCTION_TYPE, FIRST_TYPE = 0x0, LAST_TYPE = JS_FUNCTION_TYPE,
  FIRST_NAME_TYPE = FIRST_TYPE, LAST_NAME_TYPE = SYMBOL_TYPE, FIRST_UNIQUE_NAME_TYPE = INTERNALIZED_STRING_TYPE, LAST_UNIQUE_NAME_TYPE = SYMBOL_TYPE,
  FIRST_NONSTRING_TYPE = SYMBOL_TYPE, FIRST_EXTERNAL_ARRAY_TYPE = EXTERNAL_INT8_ARRAY_TYPE, LAST_EXTERNAL_ARRAY_TYPE = EXTERNAL_UINT8_CLAMPED_ARRAY_TYPE, FIRST_FIXED_TYPED_ARRAY_TYPE = FIXED_INT8_ARRAY_TYPE,
  LAST_FIXED_TYPED_ARRAY_TYPE = FIXED_UINT8_CLAMPED_ARRAY_TYPE, LAST_DATA_TYPE = FILLER_TYPE, FIRST_JS_RECEIVER_TYPE = JS_FUNCTION_PROXY_TYPE, LAST_JS_RECEIVER_TYPE = LAST_TYPE,
  FIRST_JS_OBJECT_TYPE = JS_VALUE_TYPE, LAST_JS_OBJECT_TYPE = LAST_TYPE, FIRST_JS_PROXY_TYPE = JS_FUNCTION_PROXY_TYPE, LAST_JS_PROXY_TYPE = JS_PROXY_TYPE,
  FIRST_SPEC_OBJECT_TYPE = FIRST_JS_RECEIVER_TYPE, LAST_SPEC_OBJECT_TYPE = LAST_JS_RECEIVER_TYPE, FIRST_NONCALLABLE_SPEC_OBJECT_TYPE = JS_PROXY_TYPE, LAST_NONCALLABLE_SPEC_OBJECT_TYPE = JS_REGEXP_TYPE,
  NUM_OF_CALLABLE_SPEC_OBJECT_TYPES = 2
}
 
enum  FixedArraySubInstanceType { LAST_FIXED_ARRAY_SUB_TYPE = TRANSITION_ARRAY_SUB_TYPE }
 
enum  CompareResult { LESS = -1, EQUAL = 0, GREATER = 1, NOT_EQUAL = GREATER }
 
enum  BailoutReason { kLastErrorMessage }
 
enum  EnsureElementsMode { DONT_ALLOW_DOUBLE_ELEMENTS, ALLOW_COPIED_DOUBLE_ELEMENTS, ALLOW_CONVERTED_DOUBLE_ELEMENTS }
 
enum  SetPropertyMode { SET_PROPERTY, DEFINE_PROPERTY }
 
enum  AccessorComponent { ACCESSOR_GETTER, ACCESSOR_SETTER }
 
enum  SearchMode { ALL_ENTRIES, VALID_ENTRIES }
 
enum  BuiltinFunctionId { kArrayCode, kMathPowHalf, kMathClz32 }
 
enum  AllocationSiteMode { DONT_TRACK_ALLOCATION_SITE, TRACK_ALLOCATION_SITE, LAST_ALLOCATION_SITE_MODE = TRACK_ALLOCATION_SITE }
 
enum  AllowNullsFlag { ALLOW_NULLS, DISALLOW_NULLS }
 
enum  RobustnessFlag { ROBUST_STRING_TRAVERSAL, FAST_STRING_TRAVERSAL }
 
enum  AccessorDescriptorType {
  kDescriptorBitmaskCompare, kDescriptorPointerCompare, kDescriptorPrimitiveValue, kDescriptorObjectDereference,
  kDescriptorPointerDereference, kDescriptorPointerShift, kDescriptorReturnObject
}
 

Functions

 STATIC_ASSERT (STANDARD_STORE==0)
 
 STATIC_ASSERT (kGrowICDelta==STORE_AND_GROW_TRANSITION_SMI_TO_OBJECT-STORE_TRANSITION_SMI_TO_OBJECT)
 
 STATIC_ASSERT ((kSeqStringTag &kIsIndirectStringMask)==0)
 
 STATIC_ASSERT ((kExternalStringTag &kIsIndirectStringMask)==0)
 
 STATIC_ASSERT ((kConsStringTag &kIsIndirectStringMask)==kIsIndirectStringTag)
 
 STATIC_ASSERT ((kSlicedStringTag &kIsIndirectStringMask)==kIsIndirectStringTag)
 
 STATIC_ASSERT (IS_POWER_OF_TWO(kSlicedNotConsMask)&&kSlicedNotConsMask!=0)
 
 STATIC_CHECK (JS_OBJECT_TYPE==Internals::kJSObjectType)
 
 STATIC_CHECK (FIRST_NONSTRING_TYPE==Internals::kFirstNonstringType)
 
 STATIC_CHECK (ODDBALL_TYPE==Internals::kOddballType)
 
 STATIC_CHECK (FOREIGN_TYPE==Internals::kForeignType)
 
template<class C >
bool Is (Object *obj)
 
const char * GetBailoutReason (BailoutReason reason)
 
template<SearchMode search_mode, typename T >
int LinearSearch (T *array, Name *name, int len, int valid_entries)
 
template<SearchMode search_mode, typename T >
int Search (T *array, Name *name, int valid_entries)
 
Handle< Object > CacheInitialJSArrayMaps (Handle< Context > native_context, Handle< Map > initial_map)
 

Variables

const int kVariableSizeSentinel = 0
 
const int kStubMajorKeyBits = 7
 
const int kStubMinorKeyBits = kBitsPerInt - kSmiTagSize - kStubMajorKeyBits
 
const uint32_t kIsNotStringMask = 0x80
 
const uint32_t kStringTag = 0x0
 
const uint32_t kNotStringTag = 0x80
 
const uint32_t kIsNotInternalizedMask = 0x40
 
const uint32_t kNotInternalizedTag = 0x40
 
const uint32_t kInternalizedTag = 0x0
 
const uint32_t kStringEncodingMask = 0x4
 
const uint32_t kTwoByteStringTag = 0x0
 
const uint32_t kOneByteStringTag = 0x4
 
const uint32_t kStringRepresentationMask = 0x03
 
const uint32_t kIsIndirectStringMask = 0x1
 
const uint32_t kIsIndirectStringTag = 0x1
 
const uint32_t kSlicedNotConsMask = kSlicedStringTag & ~kConsStringTag
 
const uint32_t kOneByteDataHintMask = 0x08
 
const uint32_t kOneByteDataHintTag = 0x08
 
const uint32_t kShortExternalStringMask = 0x10
 
const uint32_t kShortExternalStringTag = 0x10
 
const uint32_t kShortcutTypeMask
 
const uint32_t kShortcutTypeTag = kConsStringTag | kNotInternalizedTag
 
const int kExternalArrayTypeCount
 
const int kFailureTypeTagSize = 2
 
const int kFailureTypeTagMask = (1 << kFailureTypeTagSize) - 1
 

Macro Definition Documentation

#define CODE_KIND_LIST (   V)
Value:
#define IC_KIND_LIST(V)
Definition: objects.h:5194
#define NON_IC_KIND_LIST(V)
Definition: objects.h:5186

Definition at line 5204 of file objects.h.

Referenced by Heap::CheckpointObjectStats(), StatisticsExtension::GetCounters(), and Code::Kind2String().

#define DECL_ACCESSORS (   name,
  type 
)
Value:
inline type* name(); \
inline void set_##name(type* value, \
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
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 mode(MIPS only)") DEFINE_string(expose_natives_as

Definition at line 896 of file objects.h.

#define DECL_BOOLEAN_ACCESSORS (   name)
Value:
inline bool name(); \
inline void set_##name(bool value); \
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

Definition at line 891 of file objects.h.

#define DECL_INDEX (   name)    k##name,

Definition at line 4496 of file objects.h.

#define DECLARE_CODE_AGE_ENUM (   X)    k##X##CodeAge,

Definition at line 5531 of file objects.h.

#define DECLARE_ENUM (   enum_item,
  ignore1,
  ignore2 
)    enum_item,

Definition at line 10716 of file objects.h.

#define DECLARE_FUNCTION_ID (   ignored1,
  ignore2,
  name 
)    k##name,

Definition at line 6682 of file objects.h.

#define DECLARE_PRINTER (   Name)

Definition at line 930 of file objects.h.

#define DECLARE_STRUCT_PREDICATE (   NAME,
  Name,
  name 
)    inline bool Is##Name();

Definition at line 1455 of file objects.h.

#define DECLARE_VERIFIER (   Name)

Definition at line 924 of file objects.h.

#define DEFINE_CODE_KIND_ENUM (   name)    name,

Definition at line 5209 of file objects.h.

#define DEFINE_ELEMENT_ACCESSORS (   name,
  type 
)
Value:
type* name() { \
return type::cast(get(k##name##Index)); \
} \
void Set##name(type* value) { \
set(k##name##Index, value); \
}
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

Definition at line 5066 of file objects.h.

#define DEFINE_ENTRY_ACCESSORS (   name,
  type 
)
Value:
type* name(int i) { \
return type::cast(get(IndexForEntry(i) + k##name##Offset)); \
} \
void Set##name(int i, type* value) { \
set(IndexForEntry(i) + k##name##Offset, value); \
}
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

Definition at line 5085 of file objects.h.

#define DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE (   name)    name,

Definition at line 875 of file objects.h.

#define ERROR_MESSAGES_CONSTANTS (   C,
  T 
)    C,

Definition at line 1423 of file objects.h.

#define ERROR_MESSAGES_LIST (   V)

Definition at line 1093 of file objects.h.

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

#define FIELD_ACCESSORS (   name)
Value:
void Set##name(int value) { \
set(k##name, Smi::FromInt(value)); \
} \
int name() { \
if (length() > 0) { \
return Smi::cast(get(k##name))->value(); \
} else { \
return 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 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

Definition at line 4480 of file objects.h.

#define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST (   V)
Value:
V(FAST_ELEMENTS_SUB_TYPE) \
V(DICTIONARY_ELEMENTS_SUB_TYPE) \
V(FAST_PROPERTIES_SUB_TYPE) \
V(DICTIONARY_PROPERTIES_SUB_TYPE) \
V(MAP_CODE_CACHE_SUB_TYPE) \
V(SCOPE_INFO_SUB_TYPE) \
V(STRING_TABLE_SUB_TYPE) \
V(DESCRIPTOR_ARRAY_SUB_TYPE) \
V(TRANSITION_ARRAY_SUB_TYPE)

Definition at line 863 of file objects.h.

Referenced by Heap::CheckpointObjectStats(), and StatisticsExtension::GetCounters().

#define FIXED_TYPED_ARRAY_TRAITS (   Type,
  type,
  TYPE,
  elementType,
  size 
)
Value:
class Type##ArrayTraits { \
public: \
typedef elementType ElementType; \
static const InstanceType kInstanceType = FIXED_##TYPE##_ARRAY_TYPE; \
static const char* Designator() { return #type " array"; } \
static inline MaybeObject* ToObject(Heap* heap, elementType scalar); \
static inline elementType defaultValue(); \
}; \
\
typedef FixedTypedArray<Type##ArrayTraits> Fixed##Type##Array;
TypeImpl< ZoneTypeConfig > Type

Definition at line 5023 of file objects.h.

#define FOR_EACH_NUMERIC_FIELD (   V)
Value:
V(Flags) \
V(ParameterCount) \
V(StackLocalCount) \
V(ContextLocalCount)

Definition at line 4474 of file objects.h.

#define FUNCTIONS_WITH_ID_LIST (   V)
Value:
V(Array.prototype, push, ArrayPush) \
V(Array.prototype, pop, ArrayPop) \
V(Function.prototype, apply, FunctionApply) \
V(String.prototype, charCodeAt, StringCharCodeAt) \
V(String.prototype, charAt, StringCharAt) \
V(String, fromCharCode, StringFromCharCode) \
V(Math, floor, MathFloor) \
V(Math, round, MathRound) \
V(Math, ceil, MathCeil) \
V(Math, abs, MathAbs) \
V(Math, log, MathLog) \
V(Math, exp, MathExp) \
V(Math, sqrt, MathSqrt) \
V(Math, pow, MathPow) \
V(Math, max, MathMax) \
V(Math, min, MathMin) \
V(Math, imul, MathImul)
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 only print modified registers Don t break for ASM_UNIMPLEMENTED_BREAK macros print stack trace when an illegal exception is thrown randomize hashes to avoid predictable hash Fixed seed to use to hash property Print the time it takes to deserialize the snapshot testing_bool_flag testing_int_flag string flag tmp file in which to serialize heap Print the time it takes to lazily compile hydrogen code stubs concurrent_recompilation concurrent_sweeping Print usage including on console Map counters to a file Enable debugger compile events enable GDBJIT enable GDBJIT interface for all code objects dump only objects containing this substring stress the GC compactor to flush out pretty print source code print source AST function name where to insert a breakpoint print scopes for builtins trace contexts operations print stuff during garbage collection report code statistics after GC report handles after GC trace cache state transitions print interface inference details prints when objects are turned into dictionaries report heap spill statistics along with trace isolate state changes trace regexp bytecode execution Minimal Log all events to the log file Log API events to the log file Log heap samples on garbage collection for the hp2ps tool log positions Log suspect operations Used with turns on browser compatible mode for profiling v8 log

Definition at line 6661 of file objects.h.

#define HEAP_OBJECT_TYPE_LIST (   V)

Definition at line 993 of file objects.h.

#define IC_KIND_LIST (   V)
Value:
V(LOAD_IC) \
V(KEYED_LOAD_IC) \
V(STORE_IC) \
V(KEYED_STORE_IC) \
V(BINARY_OP_IC) \
V(COMPARE_IC) \
V(COMPARE_NIL_IC) \
V(TO_BOOLEAN_IC)

Definition at line 5194 of file objects.h.

Referenced by Code::is_inline_cache_stub().

#define INSTANCE_TYPE_LIST (   V)
#define IS_TYPE_FUNCTION_DECL (   type_)    inline bool Is##type_();

Definition at line 1445 of file objects.h.

#define NON_IC_KIND_LIST (   V)
Value:
V(FUNCTION) \
V(OPTIMIZED_FUNCTION) \
V(STUB) \
V(HANDLER) \
V(BUILTIN) \
V(REGEXP)
#define BUILTIN(name)
Definition: builtins.cc:143

Definition at line 5186 of file objects.h.

#define OBJECT_TYPE_LIST (   V)
Value:
V(Smi) \
V(HeapObject) \
V(Number) \

Definition at line 988 of file objects.h.

#define STRING_TYPE_LIST (   V)

Definition at line 459 of file objects.h.

#define STRUCT_LIST (   V)
#define STRUCT_LIST_ALL (   V)
Value:
V(BOX, Box, box) \
V(DECLARED_ACCESSOR_DESCRIPTOR, \
DeclaredAccessorDescriptor, \
declared_accessor_descriptor) \
V(DECLARED_ACCESSOR_INFO, DeclaredAccessorInfo, declared_accessor_info) \
V(EXECUTABLE_ACCESSOR_INFO, ExecutableAccessorInfo, executable_accessor_info)\
V(ACCESSOR_PAIR, AccessorPair, accessor_pair) \
V(ACCESS_CHECK_INFO, AccessCheckInfo, access_check_info) \
V(INTERCEPTOR_INFO, InterceptorInfo, interceptor_info) \
V(CALL_HANDLER_INFO, CallHandlerInfo, call_handler_info) \
V(FUNCTION_TEMPLATE_INFO, FunctionTemplateInfo, function_template_info) \
V(OBJECT_TEMPLATE_INFO, ObjectTemplateInfo, object_template_info) \
V(SIGNATURE_INFO, SignatureInfo, signature_info) \
V(TYPE_SWITCH_INFO, TypeSwitchInfo, type_switch_info) \
V(SCRIPT, Script, script) \
V(ALLOCATION_SITE, AllocationSite, allocation_site) \
V(ALLOCATION_MEMENTO, AllocationMemento, allocation_memento) \
V(CODE_CACHE, CodeCache, code_cache) \
V(POLYMORPHIC_CODE_CACHE, PolymorphicCodeCache, polymorphic_code_cache) \
V(TYPE_FEEDBACK_INFO, TypeFeedbackInfo, type_feedback_info) \
V(ALIASED_ARGUMENTS_ENTRY, AliasedArgumentsEntry, aliased_arguments_entry)

Definition at line 559 of file objects.h.

#define STRUCT_LIST_DEBUGGER (   V)

Definition at line 587 of file objects.h.

#define TYPED_ARRAYS (   V)
Value:
V(Uint8, uint8, UINT8, uint8_t, 1) \
V(Int8, int8, INT8, int8_t, 1) \
V(Uint16, uint16, UINT16, uint16_t, 2) \
V(Int16, int16, INT16, int16_t, 2) \
V(Uint32, uint32, UINT32, uint32_t, 4) \
V(Int32, int32, INT32, int32_t, 4) \
V(Float32, float32, FLOAT32, float, 4) \
V(Float64, float64, FLOAT64, double, 8) \
V(Uint8Clamped, uint8_clamped, UINT8_CLAMPED, uint8_t, 1)
int int32_t
Definition: unicode.cc:47
unsigned short uint16_t
Definition: unicode.cc:46
signed short int16_t
Definition: unicode.cc:45

Definition at line 4663 of file objects.h.

Referenced by Runtime::ArrayIdToTypeAndSize(), FastSmiOrObjectElementsAccessor< FastPackedSmiElementsAccessor, ElementsKindTraits< FAST_SMI_ELEMENTS > >::CopyElementsImpl(), FastDoubleElementsAccessor< FastHoleyDoubleElementsAccessor, ElementsKindTraits< FAST_HOLEY_DOUBLE_ELEMENTS > >::CopyElementsImpl(), FixedTypedArrayBase::DataSize(), JSTypedArray::element_size(), KeyedStoreElementStub::Generate(), Object::GetIndexedPropertiesExternalArrayDataType(), JSObject::GetLocalElementKeys(), v8::internal::GetNextTransitionElementsKind(), StaticVisitorBase::GetVisitorId(), HeapObject::HeapObjectShortPrint(), HeapObject::IterateBody(), JSObject::ReferencesObject(), Heap::RootIndexForEmptyExternalArray(), Heap::RootIndexForEmptyFixedTypedArray(), Heap::RootIndexForExternalArrayType(), Heap::RootIndexForFixedTypedArray(), JSObject::SetAccessor(), JSObjectWalkVisitor< ContextObject >::StructureWalk(), and JSTypedArray::type().

#define VISITOR_SYNCHRONIZATION_TAGS_LIST (   V)
Value:
V(kStringTable, "string_table", "(Internalized strings)") \
V(kExternalStringsTable, "external_strings_table", "(External strings)") \
V(kStrongRootList, "strong_root_list", "(Strong roots)") \
V(kSmiRootList, "smi_root_list", "(Smi roots)") \
V(kInternalizedString, "internalized_string", "(Internal string)") \
V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \
V(kTop, "top", "(Isolate)") \
V(kRelocatable, "relocatable", "(Relocatable)") \
V(kDebug, "debug", "(Debugger)") \
V(kCompilationCache, "compilationcache", "(Compilation cache)") \
V(kHandleScope, "handlescope", "(Handle scope)") \
V(kBuiltins, "builtins", "(Builtins)") \
V(kGlobalHandles, "globalhandles", "(Global handles)") \
V(kEternalHandles, "eternalhandles", "(Eternal handles)") \
V(kThreadManager, "threadmanager", "(Thread manager)") \
V(kExtensions, "Extensions", "(Extensions)")

Definition at line 10696 of file objects.h.