v8/test
Clemens Hammacher 91852dffaa [wasm] [interpreter] Handle stack unwinding
If an exception is thrown and the wasm interpreter entry frame is
unwound, also the internal frames in the interpreter need to be unwound.
We did not do so before, leaving a corrupted internal state of the wasm
interpreter. Thus reusing it would fail.
This CL fixes this and adds a test which reenters a previously unwound
wasm interpreter. It checks that this works and the correct stack is
returned.
This test also requires support for calling an imported function which
throws, so this change is also included here.

R=ahaas@chromium.org, titzer@chromium.org
BUG=v8:5822

Change-Id: I12fb843f7a371a4e618b4ac63ed3299667a03a82
Reviewed-on: https://chromium-review.googlesource.com/453938
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43937}
2017-03-20 14:07:19 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [arm64] The ubfx instruction can be used with a mask-width=64 2017-03-20 09:42:37 +00:00
common [wasm] Cleanup wasm interpreter 2017-03-14 16:18:18 +00:00
debugger [debug] extend debug-evaluate to Date, Boolean, global functions. 2017-03-18 08:45:57 +00:00
fuzzer [wasm] compile fuzzer: initialize temporary before filling. 2017-03-01 17:33:29 +00:00
inspector [gn] Enable stricter build flags 2017-03-17 15:18:18 +00:00
intl [test] Fix fullcode and ignition testing variants 2017-03-14 09:59:04 +00:00
js-perf-test [test] Switch future/no-turbo perf configs for js-tests 2017-03-09 13:38:02 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [runtime] Add function for printing type profile. 2017-03-20 12:10:14 +00:00
mjsunit [wasm] [interpreter] Handle stack unwinding 2017-03-20 14:07:19 +00:00
mozilla [regexp] Correct lastIndex behavior in RegExp.prototype[@@replace] 2017-02-16 09:21:37 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs Store the FunctionTemplateInfo used to create remote objects in the map 2017-03-15 15:57:38 +00:00
test262 [test] Mark slow tests 2017-03-15 12:05:12 +00:00
unittests Relax conditions in compiler dispatcher test 2017-03-20 09:06:45 +00:00
webkit [unibrow] remove mongolian vowel separator as white space. 2017-02-28 13:42:29 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00