From 09e3e5438182de606ecbd8f352eddc482f78891f Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 8 Jan 2019 09:17:21 +0100 Subject: 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 --- tests/auto/qml/qml.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/qml/qml.pro') diff --git a/tests/auto/qml/qml.pro b/tests/auto/qml/qml.pro index 05d63daedf..7cfddf0eaf 100644 --- a/tests/auto/qml/qml.pro +++ b/tests/auto/qml/qml.pro @@ -73,6 +73,7 @@ PRIVATETESTS += \ qv4assembler \ qv4mm \ qv4identifiertable \ + qv4regexp \ ecmascripttests \ bindingdependencyapi \ v4misc -- cgit v1.2.3