aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-01 12:21:08 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-06-21 12:27:21 +0000
commit267513e6d955cb93abb879c495dd079c254d3493 (patch)
tree8cd3bd26756142b80b9e12f77e8b3e7e868be35b /tests
parent93a70a051b21ae253331f922027bd9bb7a3e457a (diff)
Rework unwind handling
The old code was rather convoluted and expanded to quite a bit of bytecode. It was also very hard to fix some of the remaining issues with unwinding in there. The new code handles unwinding a bit differently. Basically, we now have three instructions to do what the spec requires. SetUnwindHandler is the same as the old SetExceptionHandler instruction. It basically tells the runtime where to jump to to handle any abrupt completion (ie. throw/break/continue/return) that requires unwinding. UnwindToLabel is a new instruction that is used for unwinding break/continue/return statements. It takes two arguments, one telling the runtime how many levels to unwind and the second a target label to jump to when unwinding is done. UnwindDispatch is the third instruction and is invoked at the end of each unwind block to dispatch the the parent unwind handler if required and thus implement the support for the levelled unwinding. Change-Id: I079a39d0d897b3ecc2f0dc631ca29b25eae05250 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/ecmascripttests/TestExpectations2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/ecmascripttests/TestExpectations b/tests/auto/qml/ecmascripttests/TestExpectations
index 89efd5e876..7ab2dcd9aa 100644
--- a/tests/auto/qml/ecmascripttests/TestExpectations
+++ b/tests/auto/qml/ecmascripttests/TestExpectations
@@ -496,7 +496,6 @@ built-ins/Function/prototype/toString/setter-object.js fails
built-ins/Function/prototype/toString/symbol-named-builtins.js fails
built-ins/Function/prototype/toString/unicode.js fails
built-ins/GeneratorFunction/proto-from-ctor-realm.js fails
-built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-catch.js fails
built-ins/JSON/parse/revived-proxy-revoked.js fails
built-ins/JSON/parse/revived-proxy.js fails
built-ins/JSON/parse/reviver-array-define-prop-err.js fails
@@ -1575,6 +1574,7 @@ built-ins/String/prototype/includes/return-abrupt-from-searchstring-regexp-test.
built-ins/String/prototype/indexOf/position-tointeger-toprimitive.js fails
built-ins/String/prototype/indexOf/position-tointeger.js fails
built-ins/String/prototype/indexOf/searchstring-tostring-toprimitive.js fails
+built-ins/String/prototype/match/invoke-builtin-match.js fails
built-ins/String/prototype/match/cstm-matcher-invocation.js fails
built-ins/String/prototype/replace/cstm-replace-invocation.js fails
built-ins/String/prototype/replace/this-value-not-obj-coercible.js fails