diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-01-10 20:35:18 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2015-01-21 13:18:38 +0100 |
commit | 85bf8d732b9651ce7b88d5464b8b3aae138e1893 (patch) | |
tree | 321d5a2471be898670a49b7bc942d1f13de4bd58 /src/qml/jsruntime/qv4internalclass_p.h | |
parent | 7ee429dd7a12dc38a4e4af8888325d111883a2ff (diff) |
Remove the remaining bit of code that use the vtable in the internalClass
Change-Id: Ia52f0e6db325aab37477d455f163487b319dce29
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4internalclass_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4internalclass_p.h | 11 |
1 files changed, 2 insertions, 9 deletions
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<Identifier *> 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); |