![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <preparse-data.h>
Public Member Functions | |
ByteData () | |
void | Start (std::vector< uint8_t > *buffer) |
void | Finalize (Zone *zone) |
Handle< PreparseData > | CopyToHeap (Isolate *isolate, int children_length) |
Handle< PreparseData > | CopyToLocalHeap (LocalIsolate *isolate, int children_length) |
ZonePreparseData * | CopyToZone (Zone *zone, int children_length) |
void | Reserve (size_t bytes) |
void | Add (uint8_t byte) |
int | length () const |
void | WriteVarint32 (uint32_t data) |
void | WriteUint8 (uint8_t data) |
void | WriteQuarter (uint8_t data) |
![]() | |
void * | operator new (size_t, Zone *)=delete |
void * | operator new (size_t size, void *ptr) |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone)=delete |
Private Attributes | ||
union { | ||
struct { | ||
std::vector< uint8_t > * byte_data_ | ||
int index_ | ||
} | ||
base::Vector< uint8_t > zone_byte_data_ | ||
}; | ||
uint8_t | free_quarters_in_last_byte_ | |
Additional Inherited Members | |
![]() | |
static constexpr size_t | kUint32Size = 4 |
static constexpr size_t | kVarint32MinSize = 1 |
static constexpr size_t | kVarint32MaxSize = 5 |
static constexpr size_t | kUint8Size = 1 |
static constexpr size_t | kPlaceholderSize = 0 |
static const size_t | kSkippableFunctionMinDataSize |
static const size_t | kSkippableFunctionMaxDataSize |
Definition at line 134 of file preparse-data.h.
|
inline |
Definition at line 137 of file preparse-data.h.
void v8::internal::PreparseDataBuilder::ByteData::Add | ( | uint8_t | byte | ) |
Definition at line 157 of file preparse-data.cc.
Handle< PreparseData > v8::internal::PreparseDataBuilder::ByteData::CopyToHeap | ( | Isolate * | isolate, |
int | children_length ) |
Handle< PreparseData > v8::internal::PreparseDataBuilder::ByteData::CopyToLocalHeap | ( | LocalIsolate * | isolate, |
int | children_length ) |
|
inline |
Definition at line 234 of file preparse-data-impl.h.
void v8::internal::PreparseDataBuilder::ByteData::Finalize | ( | Zone * | zone | ) |
Definition at line 135 of file preparse-data.cc.
int v8::internal::PreparseDataBuilder::ByteData::length | ( | ) | const |
void v8::internal::PreparseDataBuilder::ByteData::Reserve | ( | size_t | bytes | ) |
void v8::internal::PreparseDataBuilder::ByteData::Start | ( | std::vector< uint8_t > * | buffer | ) |
void v8::internal::PreparseDataBuilder::ByteData::WriteQuarter | ( | uint8_t | data | ) |
void v8::internal::PreparseDataBuilder::ByteData::WriteUint8 | ( | uint8_t | data | ) |
void v8::internal::PreparseDataBuilder::ByteData::WriteVarint32 | ( | uint32_t | data | ) |
union { ... } v8::internal::PreparseDataBuilder::ByteData |
std::vector<uint8_t>* v8::internal::PreparseDataBuilder::ByteData::byte_data_ |
Definition at line 166 of file preparse-data.h.
|
private |
Definition at line 173 of file preparse-data.h.
int v8::internal::PreparseDataBuilder::ByteData::index_ |
Definition at line 167 of file preparse-data.h.
base::Vector<uint8_t> v8::internal::PreparseDataBuilder::ByteData::zone_byte_data_ |
Definition at line 171 of file preparse-data.h.