diff options
author | Eskil Abrahamsen Blomfeldt <[email protected]> | 2014-05-05 15:01:10 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-05-05 20:59:07 +0200 |
commit | bef0fd5fe9bdcdfa6eb9f0e14fa096038f391139 (patch) | |
tree | 989d25ef99a33165c5ba26babac98368835cdca3 /src/qml/jsruntime/qv4object.cpp | |
parent | d98362f5e9cc5c07cff5f32672aa448b0a0c31c4 (diff) |
Android: Fix crash in String.replace() in release buildsv5.3.0-rc1
When enabling optimizations in the compiler, it produces bogus
code for the regExp->value deref in the line
nMatchOffsets += regExp->value->captureCount() * 2
This is a random refactoring to work around the compiler bug.
The only line that actually needs to be touched is the one mentioned
above, but I replaced all uses of regExp->value so that it
wouldn't look too weird.
Task-number: QTBUG-38692
Change-Id: Ib33a523a86ce51ebc6c7095a803fedaebcaa8e63
Reviewed-by: Lars Knoll <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
0 files changed, 0 insertions, 0 deletions