summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-23 11:18:42 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-23 11:18:42 (GMT)
commit97d28c26ba981332f51ab81024bb8b0224afeb81 (patch)
tree9c03fd067695043b3a061ad192b6f45e2cf6ecba /src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp
parentd48c3129992bf4b962201fa908f37f0e2a61f7c4 (diff)
parent180d9189e8098d98848367f673fff723ddd1d068 (diff)
downloadQt-97d28c26ba981332f51ab81024bb8b0224afeb81.zip
Qt-97d28c26ba981332f51ab81024bb8b0224afeb81.tar.gz
Qt-97d28c26ba981332f51ab81024bb8b0224afeb81.tar.bz2
Merge branch '4.6' of git@scm.dev.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp b/src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp
index 0878e73..c28b6a4 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/PropertyNameArray.cpp
@@ -21,6 +21,9 @@
#include "config.h"
#include "PropertyNameArray.h"
+#include "Structure.h"
+#include "StructureChain.h"
+
namespace JSC {
static const size_t setThreshold = 20;
@@ -44,7 +47,7 @@ void PropertyNameArray::add(UString::Rep* identifier)
return;
}
- m_data->propertyNameVector().append(Identifier(m_globalData, identifier));
+ addKnownUnique(identifier);
}
} // namespace JSC