summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/StructureRareDataInlines.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-30 12:48:17 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-05-30 12:48:17 +0200
commit881da28418d380042aa95a97f0cbd42560a64f7c (patch)
treea794dff3274695e99c651902dde93d934ea7a5af /Source/JavaScriptCore/runtime/StructureRareDataInlines.h
parent7e104c57a70fdf551bb3d22a5d637cdcbc69dbea (diff)
parent0fcedcd17cc00d3dd44c718b3cb36c1033319671 (diff)
downloadqtwebkit-881da28418d380042aa95a97f0cbd42560a64f7c.tar.gz
Merge 'wip/next' into dev
Change-Id: Iff9ee5e23bb326c4371ec8ed81d56f2f05d680e9
Diffstat (limited to 'Source/JavaScriptCore/runtime/StructureRareDataInlines.h')
-rw-r--r--Source/JavaScriptCore/runtime/StructureRareDataInlines.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/runtime/StructureRareDataInlines.h b/Source/JavaScriptCore/runtime/StructureRareDataInlines.h
index 20b7f8b12..b2ed53dcf 100644
--- a/Source/JavaScriptCore/runtime/StructureRareDataInlines.h
+++ b/Source/JavaScriptCore/runtime/StructureRareDataInlines.h
@@ -26,6 +26,7 @@
#ifndef StructureRareDataInlines_h
#define StructureRareDataInlines_h
+#include "JSString.h"
#include "StructureRareData.h"
namespace JSC {
@@ -35,9 +36,9 @@ inline Structure* StructureRareData::previousID() const
return m_previous.get();
}
-inline void StructureRareData::setPreviousID(VM& vm, Structure* transition, Structure* structure)
+inline void StructureRareData::setPreviousID(VM& vm, Structure* structure)
{
- m_previous.set(vm, transition, structure);
+ m_previous.set(vm, this, structure);
}
inline void StructureRareData::clearPreviousID()
@@ -50,11 +51,6 @@ inline JSString* StructureRareData::objectToStringValue() const
return m_objectToStringValue.get();
}
-inline void StructureRareData::setObjectToStringValue(VM& vm, const JSCell* owner, JSString* value)
-{
- m_objectToStringValue.set(vm, owner, value);
-}
-
} // namespace JSC
#endif // StructureRareDataInlines_h