diff options
author | Lars Knoll <[email protected]> | 2018-06-23 23:47:25 +0200 |
---|---|---|
committer | Lars Knoll <[email protected]> | 2018-07-02 19:29:52 +0000 |
commit | 32c33ee9abec1ef2f05233c3a613689431f6654b (patch) | |
tree | c5ddd9cae6019ffb052e104b2a24c528460fc01a /tools/qmlcachegen | |
parent | f1703895e2fc9ec5da3a38a3ffef927a8f4ed86c (diff) |
Get rid of Value::asArrayIndex()
It was only used in a few places now, that can be replaced by
either using a PropertyKey, or by limiting the fast path
optimization in the runtime to array indices smaller than
INT_MAX. Since there are less branches this should even be
faster for pretty much all use cases.
Change-Id: Ib4f2f2f3e27f14ad180b810546e82ac83170b106
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'tools/qmlcachegen')
0 files changed, 0 insertions, 0 deletions