#include <deopt_instructions.h>
Definition at line 607 of file deopt_instructions.h.
◆ FrameSize()
intptr_t dart::DeoptInfo::FrameSize |
( |
const TypedData & |
packed | ) |
|
|
static |
Definition at line 1349 of file deopt_instructions.cc.
1349 {
1350 NoSafepointScope no_safepoint;
1351 typedef ReadStream::Raw<sizeof(intptr_t), intptr_t> Reader;
1352 ReadStream read_stream(reinterpret_cast<uint8_t*>(packed.DataAddr(0)),
1353 packed.LengthInBytes());
1355}
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)
◆ NumMaterializations()
Definition at line 1357 of file deopt_instructions.cc.
1358 {
1359 intptr_t num = 0;
1361 num++;
1362 }
1363 return num;
1364}
◆ ToCString()
const char * dart::DeoptInfo::ToCString |
( |
const Array & |
table, |
|
|
const TypedData & |
packed |
|
) |
| |
|
static |
Definition at line 1409 of file deopt_instructions.cc.
1410 {
1411#define FORMAT "[%s]"
1412 GrowableArray<DeoptInstr*> deopt_instrs;
1413 Unpack(deopt_table, packed, &deopt_instrs);
1414
1415
1417 for (intptr_t
i = 0;
i < deopt_instrs.length();
i++) {
1419 }
1420
1421
1423
1424
1425 intptr_t index = 0;
1426 for (intptr_t
i = 0;
i < deopt_instrs.length();
i++) {
1429 }
1430
1432#undef FORMAT
1433}
static void Unpack(const Array &table, const TypedData &packed, GrowableArray< DeoptInstr * > *instructions)
static const char * ToCString(const Array &table, const TypedData &packed)
static Thread * Current()
static int SNPrint(char *str, size_t size, const char *format,...) PRINTF_ATTRIBUTE(3
ElementType * Alloc(intptr_t length)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
◆ Unpack()
Definition at line 1397 of file deopt_instructions.cc.
1399 {
1400 ASSERT(unpacked->is_empty());
1401
1402
1403
1405
1406 unpacked->Reverse();
1407}
constexpr int32_t kMaxInt32
◆ VerifyDecompression()
Definition at line 1436 of file deopt_instructions.cc.
1438 {
1439 GrowableArray<DeoptInstr*> unpacked;
1440 Unpack(deopt_table, packed, &unpacked);
1441 ASSERT(unpacked.length() == original.length());
1442 for (intptr_t
i = 0;
i < unpacked.length(); ++
i) {
1444 }
1445 return true;
1446}
static bool Equals(const Object &expected, const Object &actual)
The documentation for this class was generated from the following files: