diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-10-20 11:06:15 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-11-07 09:00:19 +0000 |
commit | fb84c9b4f860ee71d0584207f4c0f1d70d96755c (patch) | |
tree | e813c93c54c2cfb93ab0894de25740a093ca87ea /src/qml/jsruntime/qv4object_p.h | |
parent | 07980a034609383e79132c9819b682c88d343a95 (diff) |
Add functions pointers for call/construct to FunctionObject
This will allow us to avoid one level of indirection when
calling js functions in the future.
Change-Id: I814b72d18adb5a5580c11053e53b582549b629fc
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 2bb230412d..473b872747 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -427,10 +427,6 @@ public: ReturnedValue instanceOf(const Value &var) const { return vtable()->instanceOf(this, var); } - inline ReturnedValue construct(CallData *d) const - { return vtable()->construct(this, d); } - inline ReturnedValue call(CallData *d) const - { return vtable()->call(this, d); } protected: static ReturnedValue construct(const Managed *m, CallData *); static ReturnedValue call(const Managed *m, CallData *); |