[Title] Routine fixed to skip property table error generally
[Issue#] N_SE-52881
[Problem] Crash occurred while opening new tabs and load new websites
[Cause] Property table information was corrupted
[Solution] Exception-handling routine fixed not to access invalid information
Change-Id: Ifa26e2e5dc2f264f5d33dd83efdee3c958d8956d
Structure* structure = instruction[3].u.structure.get();
if (!structure)
return ResolveGlobalStatus();
+#if ENABLE(TIZEN_JSC_SKIP_PROPERTY_TABLE_ERROR)
+ if (structure->isZapped())
+ return ResolveGlobalStatus();
+#endif
return computeForStructure(codeBlock, structure, identifier);
#else
while (true) {
unsigned entryIndex = m_index[hash & m_indexMask];
-#if ENABLE(TIZEN_JSC_SKIP_PROPERTY_TABLE_ERROR)
- if (entryIndex == EmptyEntryIndex || m_indexMask != (m_indexSize - 1))
-#else
if (entryIndex == EmptyEntryIndex)
-#endif
return std::make_pair((ValueType*)0, hash & m_indexMask);
if (key == table()[entryIndex - 1].key)
return std::make_pair(&table()[entryIndex - 1], hash & m_indexMask);