Lines Matching refs:elements_kind
35 var elements_kind = { variable
52 if (%HasFastSmiElements(obj)) return elements_kind.fast_smi_only;
53 if (%HasFastObjectElements(obj)) return elements_kind.fast;
54 if (%HasFastDoubleElements(obj)) return elements_kind.fast_double;
55 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
58 return elements_kind.fixed_int8;
61 return elements_kind.fixed_uint8;
64 return elements_kind.fixed_int16;
67 return elements_kind.fixed_uint16;
70 return elements_kind.fixed_int32;
73 return elements_kind.fixed_uint32;
76 return elements_kind.fixed_float32;
79 return elements_kind.fixed_float64;
82 return elements_kind.fixed_uint8_clamped;
106 assertKind(elements_kind.fast_smi_only, a);
114 assertKind(elements_kind.fast_double, a);
129 convert_mixed(smis, 1.5, elements_kind.fast_double);
132 convert_mixed(doubles, "three", elements_kind.fast);
134 convert_mixed(construct_smis(), "three", elements_kind.fast);
135 convert_mixed(construct_doubles(), "three", elements_kind.fast);
139 convert_mixed(smis, 1, elements_kind.fast);
140 convert_mixed(doubles, 1, elements_kind.fast);