Lines Matching defs:smi
184 array_buffers_list_ = Smi::FromInt(0);
185 allocation_sites_list_ = Smi::FromInt(0);
2950 // Don't use Smi-only elements optimizations for objects with the neander
2952 // bottleneck to trap the Smi-only -> fast elements transition, and there
2965 FixedArray::cast(elements)->set(0, Smi::FromInt(0));
3031 // predictable in the gaps in the string table, so lets make that Smi zero.
3032 set_the_hole_value(reinterpret_cast<Oddball*>(Smi::FromInt(0)));
3052 null_value()->Initialize("null", Smi::FromInt(0), Oddball::kNull);
3057 Smi::FromInt(1),
3064 Smi::FromInt(0),
3071 Smi::FromInt(-1),
3078 Smi::FromInt(-1),
3085 Smi::FromInt(-4),
3092 Smi::FromInt(-2),
3099 Smi::FromInt(-3),
3145 set_instanceof_cache_function(Smi::FromInt(0));
3146 set_instanceof_cache_map(Smi::FromInt(0));
3147 set_instanceof_cache_answer(Smi::FromInt(0));
3224 set_last_script_id(Smi::FromInt(v8::Script::kNoScriptId));
3282 if (!key_string->IsInternalizedString()) return Smi::FromInt(0);
3285 if (!key_pattern->IsInternalizedString()) return Smi::FromInt(0);
3306 return Smi::FromInt(0);
3330 if (cache->get(index + kStringOffset) == Smi::FromInt(0)) {
3337 if (cache->get(index2 + kStringOffset) == Smi::FromInt(0)) {
3342 cache->set(index2 + kStringOffset, Smi::FromInt(0));
3343 cache->set(index2 + kPatternOffset, Smi::FromInt(0));
3344 cache->set(index2 + kArrayOffset, Smi::FromInt(0));
3369 cache->set(i, Smi::FromInt(0));
3427 static inline int smi_get_hash(Smi* smi) {
3428 return smi->value();
3436 hash = smi_get_hash(Smi::cast(number)) & mask;
3456 hash = smi_get_hash(Smi::cast(number)) & mask;
3487 int num = Smi::cast(number)->value();
3593 if (value == int_value && Smi::IsValid(int_value)) {
3594 return Smi::FromInt(int_value);
3623 share->set_optimized_code_map(Smi::FromInt(0));
3637 // Set integer fields (smi or int, depending on the architecture).
4142 code->set_gc_metadata(Smi::FromInt(0));
4399 Smi::FromInt(length),
4465 // to a number (e.g. Smi::FromInt(0)) and the elements initialized to a
4600 Smi* smi = Smi::cast(allocation_site->transition_info());
4601 ElementsKind to_kind = static_cast<ElementsKind>(smi->value());
4674 array->set_length(Smi::FromInt(0));
4700 array->set_length(Smi::FromInt(length));
4727 array->set_length(Smi::FromInt(0));
4754 array->set_length(Smi::FromInt(length));
4769 array->set_length(Smi::FromInt(length));
4788 result->InitializeBody(map->instance_size(), Smi::FromInt(0));
4812 result->InitializeBody(map->instance_size(), Smi::FromInt(0));
5785 context->set_extension(Smi::FromInt(0));
5800 context->set_extension(Smi::FromInt(0));
6888 Smi::FromInt(V8::RandomPrivate(isolate()) & 0x3fffffff));
6890 set_hash_seed(Smi::FromInt(FLAG_hash_seed));
6927 // something that looks like an out of range Smi to the GC.