From 85bf8d732b9651ce7b88d5464b8b3aae138e1893 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 10 Jan 2015 20:35:18 +0100 Subject: Remove the remaining bit of code that use the vtable in the internalClass Change-Id: Ia52f0e6db325aab37477d455f163487b319dce29 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4internalclass_p.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/qml/jsruntime/qv4internalclass_p.h') diff --git a/src/qml/jsruntime/qv4internalclass_p.h b/src/qml/jsruntime/qv4internalclass_p.h index b92bee3fac..b3d3a669f6 100644 --- a/src/qml/jsruntime/qv4internalclass_p.h +++ b/src/qml/jsruntime/qv4internalclass_p.h @@ -189,16 +189,12 @@ private: struct InternalClassTransition { - union { - Identifier *id; - const ManagedVTable *vtable; - }; + Identifier *id; InternalClass *lookup; int flags; enum { // range 0-0xff is reserved for attribute changes - VTableChange = 0x100, - NotExtensible = 0x200 + NotExtensible = 0x100 }; bool operator==(const InternalClassTransition &other) const @@ -210,7 +206,6 @@ struct InternalClassTransition struct InternalClass : public QQmlJS::Managed { ExecutionEngine *engine; - const ManagedVTable *vtable; PropertyHash propertyTable; // id to valueIndex SharedInternalClassData nameMap; @@ -226,8 +221,6 @@ struct InternalClass : public QQmlJS::Managed { uint size; bool extensible; - static InternalClass *create(ExecutionEngine *engine, const ManagedVTable *vtable); - InternalClass *changeVTable(const ManagedVTable *vt); InternalClass *nonExtensible(); static void addMember(Object *object, String *string, PropertyAttributes data, uint *index); InternalClass *addMember(String *string, PropertyAttributes data, uint *index = 0); -- cgit v1.2.3