change functions for ZVal type management to static members

This commit is contained in:
Vern Paxson 2021-03-18 11:31:31 -07:00
parent 1e316c05c9
commit efe40204e0
5 changed files with 58 additions and 59 deletions

View file

@ -863,7 +863,7 @@ void RecordType::AddField(unsigned int field, const TypeDecl* td)
{
ASSERT(field == managed_fields.size());
managed_fields.push_back(IsManagedType(td->type));
managed_fields.push_back(ZVal::IsManagedType(td->type));
}
bool RecordType::HasField(const char* field) const