diff options
author | Ulf Hermann <[email protected]> | 2023-08-31 11:09:20 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2023-08-31 15:15:56 +0200 |
commit | 0e51c1ed3afe22a742c6938f36e11fa86c9d8dce (patch) | |
tree | dbabd5282dcfcd8e92a8962b9734c8189e020062 | |
parent | ee7f4ec118948d350833ee105ca2a01cc8398bdd (diff) |
V4: Remove some dead code
Change-Id: I7aac01c2176db377efd7ab0a255b82ea7c36b9b4
Reviewed-by: Fabian Kosmale <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
-rw-r--r-- | src/qml/jsruntime/qv4value_p.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h index 259334e12c..dceb95d0c1 100644 --- a/src/qml/jsruntime/qv4value_p.h +++ b/src/qml/jsruntime/qv4value_p.h @@ -442,19 +442,6 @@ struct ValueArray { return values; } - void insertData(EngineBase *e, uint index, Value v) { - for (uint i = size - 1; i > index; --i) { - values[i] = values[i - 1]; - } - set(e, index, v); - } - void removeData(EngineBase *e, uint index, int n = 1) { - Q_UNUSED(e); - for (uint i = index; i < size - n; ++i) { - values[i] = values[i + n]; - } - } - void mark(MarkStack *markStack) { for (Value *v = values, *end = values + alloc; v < end; ++v) v->mark(markStack); |