v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Boolean Class Reference

#include <oddball.h>

Inheritance diagram for v8::internal::Boolean:
Collaboration diagram for v8::internal::Boolean:

Public Member Functions

V8_INLINE bool ToBool (Isolate *isolate) const
 
- Public Member Functions inherited from v8::internal::Oddball
void set_to_number_raw_as_bits (uint64_t bits)
 
Tagged< Stringto_string () const
 
void set_to_string (Tagged< String > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
Tagged< Numberto_number () const
 
void set_to_number (Tagged< Number > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
Tagged< Stringtype_of () const
 
void set_type_of (Tagged< String > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
uint8_t kind () const
 
void set_kind (uint8_t kind)
 
- Public Member Functions inherited from v8::internal::HeapObjectLayout
 HeapObjectLayout ()=delete
 
Tagged< Mapmap () const
 
Tagged< Mapmap (AcquireLoadTag) const
 
MapWord map_word (RelaxedLoadTag) const
 
void set_map (Isolate *isolate, Tagged< Map > value)
 
template<typename IsolateT >
void set_map (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
template<typename IsolateT >
void set_map_safe_transition (IsolateT *isolate, Tagged< Map > value, ReleaseStoreTag)
 
void set_map_safe_transition_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
template<typename IsolateT >
void set_map_after_allocation (IsolateT *isolate, Tagged< Map > value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Isolate *isolate, Tagged< Map > value, RelaxedStoreTag=kRelaxedStore)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, ReleaseStoreTag)
 
void set_map_word_forwarded (Tagged< HeapObject > target_object, RelaxedStoreTag)
 
Address ptr () const
 
Address address () const
 
ReadOnlyRoots EarlyGetReadOnlyRoots () const
 
int Size () const
 
V8_EXPORT_PRIVATE int SizeFromMap (Tagged< Map > map) const
 
WriteBarrierMode GetWriteBarrierMode (const DisallowGarbageCollection &promise)
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::Oddball
static V8_WARN_UNUSED_RESULT Handle< NumberToNumber (Isolate *isolate, DirectHandle< Oddball > input)
 
static void Initialize (Isolate *isolate, DirectHandle< Oddball > oddball, const char *to_string, DirectHandle< Number > to_number, const char *type_of, uint8_t kind)
 
- Static Public Attributes inherited from v8::internal::Oddball
static constexpr uint8_t kFalse = 0
 
static constexpr uint8_t kTrue = 1
 
static constexpr uint8_t kNotBooleanMask = static_cast<uint8_t>(~1)
 
static constexpr uint8_t kNull = 3
 
static constexpr uint8_t kUndefined = 4
 

Detailed Description

Definition at line 93 of file oddball.h.

Member Function Documentation

◆ ToBool()

bool v8::internal::Boolean::ToBool ( Isolate * isolate) const

Definition at line 64 of file oddball-inl.h.


The documentation for this class was generated from the following files: