Definition at line 1941 of file isolate_reload.cc.
◆ InvalidationCollector()
Definition at line 1943 of file isolate_reload.cc.
1949 : zone_(zone),
1950 functions_(functions),
1951 kernel_infos_(kernel_infos),
1952 fields_(fields),
1953 suspend_states_(suspend_states),
1954 instances_(instances) {}
◆ ~InvalidationCollector()
virtual dart::InvalidationCollector::~InvalidationCollector |
( |
| ) |
|
|
inlinevirtual |
◆ VisitObject()
void dart::InvalidationCollector::VisitObject |
( |
ObjectPtr |
obj | ) |
|
|
inlineoverridevirtual |
Implements dart::ObjectVisitor.
Definition at line 1957 of file isolate_reload.cc.
1957 {
1958 intptr_t
cid = obj->GetClassId();
1959 if (
cid == kFunctionCid) {
1960 const Function& func =
1962 functions_->Add(&func);
1963 }
else if (
cid == kKernelProgramInfoCid) {
1965 zone_, static_cast<KernelProgramInfoPtr>(obj)));
1966 }
else if (
cid == kFieldCid) {
1967 fields_->Add(&
Field::Handle(zone_,
static_cast<FieldPtr
>(obj)));
1968 }
else if (
cid == kSuspendStateCid) {
1969 const auto& suspend_state =
1971 if (suspend_state.pc() != 0) {
1972 suspend_states_->Add(&suspend_state);
1973 }
1976 }
1977 }
The documentation for this class was generated from the following file: