Home | History | Annotate | Download | only in src

Lines Matching refs:smi

1214   // If the map object is aligned fill the padding area with Smi 0 objects.
1479 FixedArray::cast(elements)->set(0, Smi::FromInt(0));
1570 Oddball::cast(null_value())->set_to_number(Smi::FromInt(0));
1573 obj = Oddball::cast(null_value())->Initialize("null", Smi::FromInt(0));
1576 obj = CreateOddball(oddball_map(), "true", Smi::FromInt(1));
1580 obj = CreateOddball(oddball_map(), "false", Smi::FromInt(0));
1584 obj = CreateOddball(oddball_map(), "hole", Smi::FromInt(-1));
1589 oddball_map(), "no_interceptor_result_sentinel", Smi::FromInt(-2));
1593 obj = CreateOddball(oddball_map(), "termination_exception", Smi::FromInt(-3));
1695 static inline int smi_get_hash(Smi* smi) {
1696 return smi->value();
1704 hash = smi_get_hash(Smi::cast(number)) & mask;
1724 hash = smi_get_hash(Smi::cast(number)) & mask;
1725 number_string_cache()->set(hash * 2, Smi::cast(number));
1747 if (rep.bits == plus_zero.bits) return Smi::FromInt(0); // not uncommon
1760 if (value == FastI2D(int_value) && Smi::IsValid(int_value)) {
1761 return Smi::FromInt(int_value);
1780 int num = Smi::cast(number)->value();
2352 Smi::FromInt(length),
2425 // to a number (eg, Smi::FromInt(0)) and the elements initialized to a
3618 // something that looks like an out of range Smi to the GC.