Don't set up instance variables for fields which have been marked as no_storage

fixes #8400
This commit is contained in:
Gunnar Beutner 2015-02-09 14:09:43 +01:00
parent 278c6ae52b
commit d5e9e1661a
1 changed files with 2 additions and 1 deletions

View File

@ -526,7 +526,8 @@ void ClassCompiler::HandleClass(const Klass& klass, const ClassDebugInfo&)
std::cout << "private:" << std::endl;
for (it = klass.Fields.begin(); it != klass.Fields.end(); it++) {
std::cout << "\t" << it->Type << " m_" << it->GetFriendlyName() << ";" << std::endl;
if (!(it->Attributes & FANoStorage))
std::cout << "\t" << it->Type << " m_" << it->GetFriendlyName() << ";" << std::endl;
}
}