diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-08 09:17:21 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2019-01-09 09:30:10 +0000 |
commit | 09e3e5438182de606ecbd8f352eddc482f78891f (patch) | |
tree | 543acdc9e5f98c3d1c30829d262865c8d70b9ef9 /dist | |
parent | c2c012f79438d207cc95237c90b692121acc4876 (diff) |
When matching RegExps catch JIT failures
The Yarr JIT can generate code that fails to evaluate the RegExp at
runtime. In that case we need to fall back to the interpreter.
Also, don't needlessly cast the unsigned return value of RegExp::match
to signed int before range-checking it. And fix some typos in the
comments for the disassembler dumps.
Fixes: QTBUG-72879
Change-Id: Ic8f80c076d6461d714816a9f66e1cac1d9b0c7a8
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions