diff options
author | Lars Knoll <[email protected]> | 2018-09-22 22:07:53 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2018-09-27 08:34:21 +0000 |
commit | 132c5e7b40ddb69617e016a8030fa5fb2508ce8e (patch) | |
tree | 319f9c2e89c0f1ad857f991fabaa4061f80d45bc /src/qml/jsruntime/qv4arraydata.cpp | |
parent | 20a434faa81059fd2e969e7c372758d2e03da9e6 (diff) |
Get rid of ArrayData::Complex
It's been pretty much unused. ArrayData::Simple does the job.
Change-Id: I0fbd0b7787499244f4c8ca00b3ba7330a6640b75
Reviewed-by: Erik Verbruggen <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4arraydata.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4arraydata.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4arraydata.cpp b/src/qml/jsruntime/qv4arraydata.cpp index b11521f2d9..654d33b8d1 100644 --- a/src/qml/jsruntime/qv4arraydata.cpp +++ b/src/qml/jsruntime/qv4arraydata.cpp @@ -118,8 +118,6 @@ void ArrayData::realloc(Object *o, Type newType, uint requested, bool enforceAtt if (d->type() > newType) newType = d->type(); } - if (enforceAttributes && newType == Heap::ArrayData::Simple) - newType = Heap::ArrayData::Complex; while (alloc < requested) alloc *= 2; |