aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-10 20:35:18 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-21 13:18:38 +0100
commit85bf8d732b9651ce7b88d5464b8b3aae138e1893 (patch)
tree321d5a2471be898670a49b7bc942d1f13de4bd58 /src/qml/jsruntime/qv4object_p.h
parent7ee429dd7a12dc38a4e4af8888325d111883a2ff (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/qv4object_p.h')
-rw-r--r--src/qml/jsruntime/qv4object_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h
index 939b14f4d2..3d100b5b57 100644
--- a/src/qml/jsruntime/qv4object_p.h
+++ b/src/qml/jsruntime/qv4object_p.h
@@ -45,7 +45,7 @@ namespace Heap {
struct Object : Base {
Object(ExecutionEngine *engine)
- : Base(engine->objectClass),
+ : Base(engine->emptyClass),
prototype(static_cast<Object *>(engine->objectPrototype.m))
{
}
@@ -275,7 +275,7 @@ struct BooleanObject : Object {
}
BooleanObject(ExecutionEngine *engine, const ValueRef val)
- : Object(engine->booleanClass, engine->booleanPrototype.asObject())
+ : Object(engine->emptyClass, engine->booleanPrototype.asObject())
{
value = val;
}
@@ -290,7 +290,7 @@ struct NumberObject : Object {
}
NumberObject(ExecutionEngine *engine, const ValueRef val)
- : Object(engine->numberClass, engine->numberPrototype.asObject())
+ : Object(engine->emptyClass, engine->numberPrototype.asObject())
{
value = val;
}