45 if (FLAG_packed_arrays) {
58 *fast_elements_kind_sequence_ptr = fast_elements_kind_sequence;
71 InitializeFastElementsKindSequence>
::type
76 ASSERT(sequence_number >= 0 &&
78 return fast_elements_kind_sequence.Get()[sequence_number];
83 if (fast_elements_kind_sequence.Get()[i] == elements_kind) {
93 bool allow_only_packed) {
101 return elements_kind;
void PrintF(const char *format,...)
static void Construct(ElementsKind **fast_elements_kind_sequence_ptr)
#define ASSERT(condition)
const int kFastElementsKindCount
bool IsFastElementsKind(ElementsKind kind)
int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind)
STATIC_ASSERT((FixedDoubleArray::kHeaderSize &kDoubleAlignmentMask)==0)
ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number)
bool IsMoreGeneralElementsKindTransition(ElementsKind from_kind, ElementsKind to_kind)
static ElementsAccessor * ForKind(ElementsKind elements_kind)
void PrintElementsKind(FILE *out, ElementsKind kind)
ElementsKind GetInitialFastElementsKind()
ElementsKind GetNextMoreGeneralFastElementsKind(ElementsKind elements_kind, bool allow_only_packed)
bool IsFastHoleyElementsKind(ElementsKind kind)
#define LAZY_INSTANCE_INITIALIZER
const char * name() const