summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-09-04 16:01:43 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-09-07 08:17:10 (GMT)
commitc2fccced314dbbafdda965602a71f1ef13c749d2 (patch)
tree68dcc7766595b45c88e54e045258e1685b6652c3 /src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp
parentacc3a45f557253329fbb693fd112808a148f83f6 (diff)
downloadQt-c2fccced314dbbafdda965602a71f1ef13c749d2.zip
Qt-c2fccced314dbbafdda965602a71f1ef13c749d2.tar.gz
Qt-c2fccced314dbbafdda965602a71f1ef13c749d2.tar.bz2
make JavaScriptCore compile on HPUX
Get rid of circular dependency (don't include StructureChain.h from Structure.h). Disable some time stuff that isn't available on HPUX. Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp b/src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp
index 85049b1..acebc86 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/StructureChain.cpp
@@ -25,6 +25,7 @@
#include "config.h"
#include "StructureChain.h"
+#include "Structure.h"
#include "JSObject.h"
#include "Structure.h"
@@ -46,6 +47,11 @@ StructureChain::StructureChain(Structure* head)
m_vector[i] = 0;
}
+PassRefPtr<StructureChain> StructureChain::create(Structure* head)
+{
+ return adoptRef(new StructureChain(head));
+}
+
bool StructureChain::isCacheable() const
{
uint32_t i = 0;