diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-05-23 23:04:49 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-24 08:09:33 +0000 |
commit | de95f4da8bf1e16127aae5e34b3b9f34b1f7bbba (patch) | |
tree | b5c213488b5dba7b683c09a88d875cce9e734617 /src/qml/jsruntime/qv4engine_p.h | |
parent | 4613068e9fc4a03048de8bf481c34e7f0aeb0299 (diff) |
Fix the inheritance structure for typed arrays
Change-Id: I8a16c1f5e0252b4ea85ff8f623beb39df747e383
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4engine_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index 99594cc81a..86421c2ddc 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -188,6 +188,7 @@ public: #endif ArrayBufferProto, DataViewProto, + IntrinsicTypedArrayProto, ValueTypeProto, SignalHandlerProto, IteratorProto, @@ -214,6 +215,7 @@ public: URIError_Ctor, ArrayBuffer_Ctor, DataView_Ctor, + IntrinsicTypedArray_Ctor, GetSymbolSpecies, @@ -247,6 +249,7 @@ public: FunctionObject *uRIErrorCtor() const { return reinterpret_cast<FunctionObject *>(jsObjects + URIError_Ctor); } FunctionObject *arrayBufferCtor() const { return reinterpret_cast<FunctionObject *>(jsObjects + ArrayBuffer_Ctor); } FunctionObject *dataViewCtor() const { return reinterpret_cast<FunctionObject *>(jsObjects + DataView_Ctor); } + FunctionObject *intrinsicTypedArrayCtor() const { return reinterpret_cast<FunctionObject *>(jsObjects + IntrinsicTypedArray_Ctor); } FunctionObject *typedArrayCtors; FunctionObject *getSymbolSpecies() const { return reinterpret_cast<FunctionObject *>(jsObjects + GetSymbolSpecies); } @@ -277,6 +280,7 @@ public: Object *arrayBufferPrototype() const { return reinterpret_cast<Object *>(jsObjects + ArrayBufferProto); } Object *dataViewPrototype() const { return reinterpret_cast<Object *>(jsObjects + DataViewProto); } + Object *intrinsicTypedArrayPrototype() const { return reinterpret_cast<Object *>(jsObjects + IntrinsicTypedArrayProto); } Object *typedArrayPrototype; Object *valueTypeWrapperPrototype() const { return reinterpret_cast<Object *>(jsObjects + ValueTypeProto); } |