1721 {
1724 for (intptr_t
i = 0;
i <
count;
i++) {
1725 FunctionPtr func = objects_[
i];
1729#if defined(DART_PRECOMPILER)
1730 CodePtr
code = func->untag()->code();
1731 const auto code_index =
s->GetCodeIndex(
code);
1732 s->WriteUnsigned(code_index);
1733 s->AttributePropertyRef(
code,
"code_");
1734#else
1736#endif
1741 }
1742
1746 }
1747
1748#if defined(DART_PRECOMPILER) && !defined(PRODUCT)
1749 TokenPosition token_pos = func->untag()->token_pos_;
1751
1752
1757 script.GetTokenLocation(token_pos, &
line,
nullptr);
1758 }
1759 token_pos =
line == -1 ? TokenPosition::kNoSource
1761 }
1762 s->WriteTokenPosition(token_pos);
1763#else
1765 s->WriteTokenPosition(func->untag()->token_pos_);
1766 }
1767#endif
1769 s->WriteTokenPosition(func->untag()->end_token_pos_);
1770 s->Write<uint32_t>(func->untag()->kernel_offset_);
1771 s->Write<uint32_t>(func->untag()->packed_fields_);
1772 }
1773 s->Write<uint32_t>(func->untag()->kind_tag_);
1774 }
1775 }
#define WriteFromTo(obj,...)
#define AutoTraceObjectName(obj, str)
#define WriteCompressedField(obj, name)
static const char * MakeDisambiguatedFunctionName(Serializer *s, FunctionPtr f)
static TokenPosition Deserialize(int32_t value)
Dart_NativeFunction function