diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-03-25 21:06:18 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-24 15:21:36 +0000 |
commit | 1af88df0725b2b6aca5db43a0fe3e31c553025b8 (patch) | |
tree | 745e2d291069827638c810247475e95856d85ebd /src/qml/jsruntime/qv4typedarray.cpp | |
parent | f9440c704ed191a38076c68480308b90147a7673 (diff) |
Move constructor objects onto the js stack
Change-Id: I828c5f7407d90cd5df1a8fd89a0ca35074fbde43
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4typedarray.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4typedarray.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4typedarray.cpp b/src/qml/jsruntime/qv4typedarray.cpp index 6230568294..d93b57e472 100644 --- a/src/qml/jsruntime/qv4typedarray.cpp +++ b/src/qml/jsruntime/qv4typedarray.cpp @@ -336,7 +336,7 @@ ReturnedValue TypedArrayCtor::call(const Managed *that, CallData *callData) } Heap::TypedArray::TypedArray(ExecutionEngine *e, Type t) - : Heap::Object(e->emptyClass, e->typedArrayPrototype[t].objectValue()), + : Heap::Object(e->emptyClass, e->typedArrayPrototype + t), type(operations + t), arrayType(t) { |