X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/14957cd040308e3eeec43d26bae5d76da13fcd85..6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174:/runtime/PropertyNameArray.cpp?ds=inline diff --git a/runtime/PropertyNameArray.cpp b/runtime/PropertyNameArray.cpp index 8efb406..9bae940 100644 --- a/runtime/PropertyNameArray.cpp +++ b/runtime/PropertyNameArray.cpp @@ -45,7 +45,7 @@ void PropertyNameArray::add(StringImpl* identifier) for (size_t i = 0; i < size; ++i) m_set.add(m_data->propertyNameVector()[i].impl()); } - if (!m_set.add(identifier).second) + if (!m_set.add(identifier).isNewEntry) return; }