Searched defs:Smi (Results 1 - 3 of 3) sorted by relevance

/external/v8/src/
H A Dproperty-details.h37 class Smi;
82 static Representation Smi() { return Representation(kSmi); } function in class:v8::internal::Representation
221 explicit inline PropertyDetails(Smi* smi);
222 inline Smi* AsSmi() const;
H A Dobjects-inl.h40 PropertyDetails::PropertyDetails(Smi* smi) {
45 Smi* PropertyDetails::AsSmi() const {
49 return Smi::FromInt(value >> 1);
54 Smi* smi = Smi::FromInt(value_ | DeletedField::encode(1));
90 // Getter that returns a tagged Smi and setter that writes a tagged Smi.
92 Smi* holder::name() const { return Smi::cast(READ_FIELD(this, offset)); } \
93 void holder::set_##name(Smi* valu
1646 DCHECK(count < MementoFoundCountBits::kMax); set_pretenure_data( Smi::FromInt(MementoFoundCountBits::update(value, count)), SKIP_WRITE_BARRIER); } inline bool AllocationSite::IncrementMementoFoundCount() { if (IsZombie()) return false; int value = memento_found_count(); set_memento_found_count(value + 1); return memento_found_count() == kPretenureMinimumCreated; } inline void AllocationSite::IncrementMementoCreateCount() { DCHECK(FLAG_allocation_site_pretenuring); int value = memento_create_count(); set_memento_create_count(value + 1); } inline bool AllocationSite::MakePretenureDecision( PretenureDecision current_decision, double ratio, bool maximum_size_scavenge) { if ((current_decision == kUndecided || current_decision == kMaybeTenure)) { if (ratio >= kPretenureRatio) argument
[all...]
H A Dobjects.h39 // - Smi (immediate small integer)
145 // Smi: [31 bit signed int] 0
311 // We may store the unsigned bit field as signed Smi value and do not
879 V(Smi) \
991 // Since both Smi and HeapObject are subclasses of Object no
1053 return Representation::Smi();
1105 // Converts this to a Smi if possible.
1106 static MUST_USE_RESULT inline MaybeHandle<Smi> ToSmi(Isolate* isolate,
1174 static Handle<Smi> GetOrCreateHash(Isolate* isolate, Handle<Object> object);
1242 // Smi represent
1248 class Smi: public Object { class in namespace:v8::internal
[all...]

Completed in 145 milliseconds