#include <kernel_translation_helper.h>
|
static const char * | tag (Kind kind) |
|
◆ Kind
◆ InferredTypeMetadataHelper()
◆ GetInferredType()
InferredTypeMetadata dart::kernel::InferredTypeMetadataHelper::GetInferredType |
( |
intptr_t |
node_offset, |
|
|
bool |
read_constant = true |
|
) |
| |
Definition at line 1875 of file kernel_translation_helper.cc.
1877 {
1879 if (md_offset < 0) {
1882 }
1883
1885 &
H.metadata_payloads(), md_offset);
1886
1889
1890 const Object* constant_value = &Object::null_object();
1893 if (read_constant) {
1896 }
1897 }
1898
1899 if (
H.IsRoot(kernel_name)) {
1902 }
1903
1904 const Class& klass =
1907
1908 intptr_t
cid = klass.id();
1909 if (
cid == kClosureCid) {
1910
1911
1913 }
1914
1915 return InferredTypeMetadata(
cid,
flags, *constant_value);
1916}
static Object & ZoneHandle()
InstancePtr ReadConstant(intptr_t constant_index)
NameIndex ReadCanonicalNameReference()
FlutterSemanticsFlag flags
◆ tag()
static const char * dart::kernel::InferredTypeMetadataHelper::tag |
( |
Kind |
kind | ) |
|
|
inlinestatic |
Definition at line 1068 of file kernel_translation_helper.h.
1068 {
1069 switch (kind) {
1071 return "vm.inferred-type.metadata";
1073 return "vm.inferred-arg-type.metadata";
1074 }
1076 return nullptr;
1077 }
The documentation for this class was generated from the following files: