aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <[email protected]>2014-05-06 08:44:30 +0200
committerSimon Hausmann <[email protected]>2014-07-22 13:49:10 +0200
commite391b6f08405a6a9d3470297fc5667f5c7a0c4a8 (patch)
treedfc2e00937ab6b7f121c2ec7cf7576ebe693a002 /src/qml/jsruntime/qv4functionobject.cpp
parentc9081fab7c63e50d2a3b7cfe3e78110a5922dc29 (diff)
Move MemberData over to new storage layout
Change-Id: I971b614d471e49d1be2e9474c985cb93ed7e2117 Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4functionobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp
index f6bd4d37c4..198138aab9 100644
--- a/src/qml/jsruntime/qv4functionobject.cpp
+++ b/src/qml/jsruntime/qv4functionobject.cpp
@@ -348,7 +348,7 @@ ReturnedValue FunctionPrototype::method_bind(CallContext *ctx)
boundArgs.reset();
if (ctx->callData->argc > 1) {
boundArgs.ensureIndex(scope.engine, ctx->callData->argc - 1);
- boundArgs.d()->size = ctx->callData->argc - 1;
+ boundArgs.d()->d()->size = ctx->callData->argc - 1;
memcpy(boundArgs.data(), ctx->callData->args + 1, (ctx->callData->argc - 1)*sizeof(Value));
}
ScopedValue protectBoundArgs(scope, boundArgs.d());