Lines Matching defs:CASE
112 case LookupIterator::NOT_FOUND:
113 case LookupIterator::TRANSITION:
115 case LookupIterator::JSPROXY:
118 case LookupIterator::INTERCEPTOR: {
125 case LookupIterator::ACCESS_CHECK:
128 case LookupIterator::ACCESSOR:
132 case LookupIterator::DATA:
151 case LookupIterator::INTERCEPTOR:
152 case LookupIterator::NOT_FOUND:
153 case LookupIterator::TRANSITION:
155 case LookupIterator::ACCESS_CHECK:
158 case LookupIterator::JSPROXY:
161 case LookupIterator::ACCESSOR:
167 case LookupIterator::DATA:
250 case 1:
255 case 2:
260 case 4:
288 case kDescriptorInt8Type:
291 case kDescriptorUint8Type:
294 case kDescriptorInt16Type:
297 case kDescriptorUint16Type:
300 case kDescriptorInt32Type:
303 case kDescriptorUint32Type: {
308 case kDescriptorBoolType: {
313 case kDescriptorFloatType: {
318 case kDescriptorDoubleType: {
339 case kDescriptorReturnObject: {
344 case kDescriptorPointerDereference:
348 case kDescriptorPointerShift:
352 case kDescriptorObjectDereference: {
361 case kDescriptorBitmaskCompare:
366 case kDescriptorPointerCompare:
371 case kDescriptorPrimitiveValue:
739 // If the object is fully fast case and has the same map it was
770 // Inline the case for JSObjects. Doing so significantly improves the
1187 case JS_ARRAY_TYPE: {
1194 case JS_WEAK_MAP_TYPE: {
1198 case JS_WEAK_SET_TYPE: {
1202 case JS_REGEXP_TYPE: {
1206 case JS_FUNCTION_TYPE: {
1226 case JS_GENERATOR_OBJECT_TYPE: {
1230 case JS_MODULE_TYPE: {
1402 case MAP_TYPE:
1405 case FIXED_ARRAY_TYPE:
1408 case FIXED_DOUBLE_ARRAY_TYPE:
1412 case BYTE_ARRAY_TYPE:
1415 case FREE_SPACE_TYPE:
1419 case EXTERNAL_##TYPE##_ARRAY_TYPE: \
1423 case FIXED_##TYPE##_ARRAY_TYPE: \
1431 case SHARED_FUNCTION_INFO_TYPE: {
1442 case JS_MESSAGE_OBJECT_TYPE:
1446 case NAME##_TYPE: \
1451 case CODE_TYPE: {
1456 case ODDBALL_TYPE: {
1472 case SYMBOL_TYPE: {
1485 case HEAP_NUMBER_TYPE: {
1491 case MUTABLE_HEAP_NUMBER_TYPE: {
1497 case JS_PROXY_TYPE:
1500 case JS_FUNCTION_PROXY_TYPE:
1503 case FOREIGN_TYPE:
1506 case CELL_TYPE: {
1514 case PROPERTY_CELL_TYPE: {
1544 case kSeqStringTag:
1546 case kConsStringTag:
1549 case kSlicedStringTag:
1552 case kExternalStringTag:
1566 case FIXED_ARRAY_TYPE:
1569 case CONSTANT_POOL_ARRAY_TYPE:
1572 case FIXED_DOUBLE_ARRAY_TYPE:
1574 case JS_OBJECT_TYPE:
1575 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
1576 case JS_GENERATOR_OBJECT_TYPE:
1577 case JS_MODULE_TYPE:
1578 case JS_VALUE_TYPE:
1579 case JS_DATE_TYPE:
1580 case JS_ARRAY_TYPE:
1581 case JS_ARRAY_BUFFER_TYPE:
1582 case JS_TYPED_ARRAY_TYPE:
1583 case JS_DATA_VIEW_TYPE:
1584 case JS_SET_TYPE:
1585 case JS_MAP_TYPE:
1586 case JS_SET_ITERATOR_TYPE:
1587 case JS_MAP_ITERATOR_TYPE:
1588 case JS_WEAK_MAP_TYPE:
1589 case JS_WEAK_SET_TYPE:
1590 case JS_REGEXP_TYPE:
1591 case JS_GLOBAL_PROXY_TYPE:
1592 case JS_GLOBAL_OBJECT_TYPE:
1593 case JS_BUILTINS_OBJECT_TYPE:
1594 case JS_MESSAGE_OBJECT_TYPE:
1597 case JS_FUNCTION_TYPE:
1601 case ODDBALL_TYPE:
1604 case JS_PROXY_TYPE:
1607 case JS_FUNCTION_PROXY_TYPE:
1610 case FOREIGN_TYPE:
1613 case MAP_TYPE:
1616 case CODE_TYPE:
1619 case CELL_TYPE:
1622 case PROPERTY_CELL_TYPE:
1625 case SYMBOL_TYPE:
1629 case HEAP_NUMBER_TYPE:
1630 case MUTABLE_HEAP_NUMBER_TYPE:
1631 case FILLER_TYPE:
1632 case BYTE_ARRAY_TYPE:
1633 case FREE_SPACE_TYPE:
1637 case EXTERNAL_##TYPE##_ARRAY_TYPE: \
1638 case FIXED_##TYPE##_ARRAY_TYPE: \
1644 case SHARED_FUNCTION_INFO_TYPE: {
1650 case NAME##_TYPE:
1770 // In case name is an orphaned property reuse the cell.
1830 case kNone: return "v";
1831 case kTagged: return "t";
1832 case kSmi: return "s";
1833 case kDouble: return "d";
1834 case kInteger32: return "i";
1835 case kHeapObject: return "h";
1836 case kExternal: return "x";
1867 // In that case, succeed if all existing fields were inobject, and they still
2746 case FIELD:
2757 case CONSTANT:
2758 case CALLBACKS:
2764 case NORMAL:
2818 case LookupIterator::NOT_FOUND:
2821 case LookupIterator::ACCESS_CHECK:
2829 case LookupIterator::JSPROXY:
2846 case LookupIterator::INTERCEPTOR:
2864 case LookupIterator::ACCESSOR:
2877 case LookupIterator::DATA:
2887 case LookupIterator::TRANSITION:
2895 // If the receiver is the JSGlobalObject, the store was contextual. In case
3298 // In case we are exiting the fast elements kind system, just add the map in
3809 case LookupIterator::INTERCEPTOR:
3810 case LookupIterator::JSPROXY:
3811 case LookupIterator::NOT_FOUND:
3812 case LookupIterator::TRANSITION:
3815 case LookupIterator::ACCESS_CHECK:
3821 case LookupIterator::ACCESSOR: {
3898 case LookupIterator::DATA: {
3988 case LookupIterator::NOT_FOUND:
3989 case LookupIterator::TRANSITION:
3991 case LookupIterator::JSPROXY:
3994 case LookupIterator::INTERCEPTOR: {
4002 case LookupIterator::ACCESS_CHECK:
4005 case LookupIterator::ACCESSOR:
4006 case LookupIterator::DATA:
4194 case CONSTANT: {
4202 case FIELD: {
4217 case CALLBACKS: {
4225 case NORMAL:
4925 case LookupIterator::JSPROXY:
4926 case LookupIterator::NOT_FOUND:
4927 case LookupIterator::TRANSITION:
4929 case LookupIterator::ACCESS_CHECK:
4935 case LookupIterator::INTERCEPTOR: {
4945 case LookupIterator::DATA:
4950 case LookupIterator::ACCESSOR: {
5063 case EXTERNAL_##TYPE##_ELEMENTS: \
5064 case TYPE##_ELEMENTS: \
5070 case FAST_DOUBLE_ELEMENTS:
5071 case FAST_HOLEY_DOUBLE_ELEMENTS:
5073 case FAST_SMI_ELEMENTS:
5074 case FAST_HOLEY_SMI_ELEMENTS:
5076 case FAST_ELEMENTS:
5077 case FAST_HOLEY_ELEMENTS:
5078 case DICTIONARY_ELEMENTS: {
5083 case SLOPPY_ARGUMENTS_ELEMENTS: {
5183 // Make sure that we never go back to fast case.
5319 // Make sure we never go back to the fast case
5494 case FAST_SMI_ELEMENTS:
5495 case FAST_ELEMENTS:
5496 case FAST_HOLEY_SMI_ELEMENTS:
5497 case FAST_HOLEY_ELEMENTS: {
5525 case DICTIONARY_ELEMENTS: {
5547 case SLOPPY_ARGUMENTS_ELEMENTS:
5553 case EXTERNAL_##TYPE##_ELEMENTS: \
5554 case TYPE##_ELEMENTS: \
5559 case FAST_DOUBLE_ELEMENTS:
5560 case FAST_HOLEY_DOUBLE_ELEMENTS:
5594 // Tests for the fast common case for property enumeration:
5710 // In case the number of properties required in the enum are actually
5713 // Descriptor Array. In that case we regenerate the enum cache.
5932 case FAST_SMI_ELEMENTS:
5933 case FAST_ELEMENTS:
5934 case FAST_DOUBLE_ELEMENTS:
5935 case FAST_HOLEY_SMI_ELEMENTS:
5936 case FAST_HOLEY_ELEMENTS:
5937 case FAST_HOLEY_DOUBLE_ELEMENTS:
5941 case EXTERNAL_##TYPE##_ELEMENTS: \
5942 case TYPE##_ELEMENTS: \
5949 case DICTIONARY_ELEMENTS:
5958 case SLOPPY_ARGUMENTS_ELEMENTS: {
6214 case FAST_SMI_ELEMENTS:
6215 case FAST_ELEMENTS:
6216 case FAST_DOUBLE_ELEMENTS:
6217 case FAST_HOLEY_SMI_ELEMENTS:
6218 case FAST_HOLEY_ELEMENTS:
6219 case FAST_HOLEY_DOUBLE_ELEMENTS:
6223 case EXTERNAL_##TYPE##_ELEMENTS: \
6224 case TYPE##_ELEMENTS: \
6232 case DICTIONARY_ELEMENTS:
6234 case SLOPPY_ARGUMENTS_ELEMENTS:
6303 case LookupIterator::INTERCEPTOR:
6304 case LookupIterator::NOT_FOUND:
6305 case LookupIterator::TRANSITION:
6308 case LookupIterator::ACCESS_CHECK:
6315 case LookupIterator::JSPROXY:
6318 case LookupIterator::DATA:
6320 case LookupIterator::ACCESSOR: {
6600 // In case the map owned its own descriptors, share the descriptors and
6611 // In case the map did not own its own descriptors, a split is forced by
6631 // In case the map owned its own descriptors, share the descriptors and
6705 case FIELD:
6709 case CONSTANT:
6714 case CALLBACKS:
6717 case NORMAL:
8054 case kSeqStringTag:
8056 case kExternalStringTag:
8059 case kSlicedStringTag: {
8063 case kConsStringTag:
8369 case kOneByteStringTag | kExternalStringTag: {
8374 case kTwoByteStringTag | kExternalStringTag: {
8382 case kOneByteStringTag | kSeqStringTag: {
8388 case kTwoByteStringTag | kSeqStringTag: {
8394 case kOneByteStringTag | kConsStringTag:
8395 case kTwoByteStringTag | kConsStringTag: {
8416 // common case of sequential one-byte right child.
8435 case kOneByteStringTag | kSlicedStringTag:
8436 case kTwoByteStringTag | kSlicedStringTag: {
9155 // In typical case, __proto__ of ``function`` is the default Function
9860 // TODO(3025757): In case the recompiled isn't equivalent to the
10398 case ALLOCATION_SITE_TYPE:
10548 case k##AGE##CodeAge: { \
10556 case kNotExecutedCodeAge: {
10560 case kExecutedOnceCodeAge: {
10612 #define CASE(name) case name: return #name;
10613 CODE_KIND_LIST(CASE)
10614 #undef CASE
10615 case NUMBER_OF_KINDS: break;
10665 case Translation::BEGIN:
10669 case Translation::JS_FRAME: {
10684 case Translation::COMPILED_STUB_FRAME: {
10690 case Translation::ARGUMENTS_ADAPTOR_FRAME:
10691 case Translation::CONSTRUCT_STUB_FRAME: {
10701 case Translation::GETTER_STUB_FRAME:
10702 case Translation::SETTER_STUB_FRAME: {
10710 case Translation::REGISTER: {
10716 case Translation::INT32_REGISTER: {
10722 case Translation::UINT32_REGISTER: {
10729 case Translation::DOUBLE_REGISTER: {
10736 case Translation::STACK_SLOT: {
10742 case Translation::INT32_STACK_SLOT: {
10748 case Translation::UINT32_STACK_SLOT: {
10754 case Translation::DOUBLE_STACK_SLOT: {
10760 case Translation::LITERAL: {
10766 case Translation::DUPLICATED_OBJECT: {
10772 case Translation::ARGUMENTS_OBJECT:
10773 case Translation::CAPTURED_OBJECT: {
10807 case UNINITIALIZED: return "UNINITIALIZED";
10808 case PREMONOMORPHIC: return "PREMONOMORPHIC";
10809 case MONOMORPHIC: return "MONOMORPHIC";
10810 case PROTOTYPE_FAILURE:
10812 case POLYMORPHIC: return "POLYMORPHIC";
10813 case MEGAMORPHIC: return "MEGAMORPHIC";
10814 case GENERIC: return "GENERIC";
10815 case DEBUG_STUB: return "DEBUG_STUB";
10816 case DEFAULT:
10826 case NORMAL: return "NORMAL";
10827 case FAST: return "FAST";
11174 // Simple case for arrays without holes.
11594 case kWeakICGroup:
11596 case kWeakCodeGroup:
11598 case kTransitionGroup:
11600 case kPrototypeCheckGroup:
11602 case kElementsCantBeAddedGroup:
11604 case kPropertyCellChangedGroup:
11606 case kFieldTypeGroup:
11608 case kInitialMapChangedGroup:
11610 case kAllocationSiteTenuringChangedGroup:
11612 case kAllocationSiteTransitionChangedGroup:
11920 // Adding n elements in fast case is O(n*n).
12156 // Attempt to put this object back in fast case.
12180 os << "Object elements are fast case again:\n";
12262 // Allow gap in fast case.
12275 // Otherwise default to slow case.
12360 // Make sure that we never go back to fast case.
12386 // Store old array length in case adding an element grows the array.
12480 case FAST_SMI_ELEMENTS:
12481 case FAST_ELEMENTS:
12482 case FAST_HOLEY_SMI_ELEMENTS:
12483 case FAST_HOLEY_ELEMENTS:
12485 case FAST_DOUBLE_ELEMENTS:
12486 case FAST_HOLEY_DOUBLE_ELEMENTS:
12491 case EXTERNAL_##TYPE##_ELEMENTS: { \
12496 case TYPE##_ELEMENTS: { \
12506 case DICTIONARY_ELEMENTS:
12510 case SLOPPY_ARGUMENTS_ELEMENTS: {
12648 case kUndecided: return "undecided";
12649 case kDontTenure: return "don't tenure";
12650 case kMaybeTenure: return "maybe tenure";
12651 case kTenure: return "tenure";
12652 case kZombie: return "zombie";
12742 // This method should never be called for any other case than the ones
12870 case SLOPPY_ARGUMENTS_ELEMENTS:
12882 case FAST_SMI_ELEMENTS:
12883 case FAST_ELEMENTS:
12890 case FAST_HOLEY_SMI_ELEMENTS:
12891 case FAST_HOLEY_ELEMENTS:
12898 case DICTIONARY_ELEMENTS: {
12904 case FAST_DOUBLE_ELEMENTS:
12911 case FAST_HOLEY_DOUBLE_ELEMENTS: {
12922 case EXTERNAL_##TYPE##_ELEMENTS: \
12923 case TYPE##_ELEMENTS: \
12961 // If the fast-case backing storage takes up roughly three times as
12975 // If the elements are sparse, we should not go back to fast case.
12992 // dictionary, we cannot go back to fast case.
12995 // space (in machine words) as a fast-case backing storage would,
13335 // avoid hanging in case they are not.
13383 // Fast case for objects with no elements.
13400 case FAST_SMI_ELEMENTS:
13401 case FAST_ELEMENTS:
13402 case FAST_HOLEY_SMI_ELEMENTS:
13403 case FAST_HOLEY_ELEMENTS: {
13418 case FAST_DOUBLE_ELEMENTS:
13419 case FAST_HOLEY_DOUBLE_ELEMENTS: {
13436 case EXTERNAL_##TYPE##_ELEMENTS: \
13437 case TYPE##_ELEMENTS: \
13453 case DICTIONARY_ELEMENTS: {
13462 case SLOPPY_ARGUMENTS_ELEMENTS: {
13766 // 3. Detect a case when a dictionary key is not unique but the key is.
13767 // In case of positive result the dictionary key may be replaced by the
14352 case EXTERNAL_##TYPE##_ARRAY_TYPE: \
14353 case FIXED_##TYPE##_ARRAY_TYPE: \
14369 case EXTERNAL_##TYPE##_ARRAY_TYPE: \
14601 // algorithm is different in that case.
16115 case kYear: return year();
16116 case kMonth: return month();
16117 case kDay: return day();
16118 case kWeekday: return weekday();
16119 case kHour: return hour();
16120 case kMinute: return min();
16121 case kSecond: return sec();
16173 case kHourUTC: return Smi::FromInt(time_in_day_ms / (60 * 60 * 1000));
16174 case kMinuteUTC: return Smi::FromInt((time_in_day_ms / (60 * 1000)) % 60);
16175 case kSecondUTC: return Smi::FromInt((time_in_day_ms / 1000) % 60);
16176 case kMillisecondUTC: return Smi::FromInt(time_in_day_ms % 1000);
16177 case kDaysUTC: return Smi::FromInt(days);
16178 case kTimeInDayUTC: return Smi::FromInt(time_in_day_ms);
16253 case TYPE##_ELEMENTS: return EXTERNAL_##TYPE##_ELEMENTS;