aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-14 22:45:22 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-15 10:48:16 +0200
commit774dc54c81daae607567489f98d97f316c712cdb (patch)
tree7fbc17f828b919ec94c218267ab539397f528888 /src/v4/qv4runtime.cpp
parent95a4d2cffe359b1eed98aa9f16cb1a183dfe9272 (diff)
Remove the context pointer from unary operations
Change-Id: Idaf67f719402666e11676983d6bc99952f48a72d Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/v4/qv4runtime.cpp')
-rw-r--r--src/v4/qv4runtime.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/v4/qv4runtime.cpp b/src/v4/qv4runtime.cpp
index 90fd44db98..955236f8b5 100644
--- a/src/v4/qv4runtime.cpp
+++ b/src/v4/qv4runtime.cpp
@@ -749,11 +749,6 @@ void __qmljs_set_property_lookup(ExecutionContext *ctx, const Value &object, int
}
-void __qmljs_get_thisObject(ExecutionContext *ctx, Value *result)
-{
- *result = ctx->thisObject;
-}
-
uint __qmljs_equal(const Value &x, const Value &y)
{
if (x.type() == y.type()) {
@@ -1294,7 +1289,7 @@ void __qmljs_builtin_define_getter_setter(ExecutionContext *ctx, const Value &ob
pd->setSetter(setter ? setter->asFunctionObject() : 0);
}
-void __qmljs_increment(ExecutionContext *, Value *result, const Value &value)
+void __qmljs_increment(Value *result, const Value &value)
{
TRACE1(value);
@@ -1306,7 +1301,7 @@ void __qmljs_increment(ExecutionContext *, Value *result, const Value &value)
}
}
-void __qmljs_decrement(ExecutionContext *, Value *result, const Value &value)
+void __qmljs_decrement(Value *result, const Value &value)
{
TRACE1(value);