v8/test
leszeks 4ad3579119 [ignition] Fix building lookup graph when search depth is 0
In some (rare) cases, the context depth passed to a dynamic variable lookup can
be zero. In these cases, the fast path for the lookup (i.e. load from context or
global) can always be taken, as there is no need to search the current context.

However, with no slow path checks, the bytecode graph builder had a null
environment for the slow path, causing segfaults when this graph was built.

This patch adds a null check for the slow path environment, and skips building
the slow path if the environment is null.

BUG=chromium:652186

Review-Url: https://codereview.chromium.org/2385123002
Cr-Commit-Position: refs/heads/master@{#39949}
2016-10-04 11:08:11 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [Turbofan] Refactor GapResolver tests in preparation for FP aliasing. 2016-10-03 23:46:07 +00:00
common Fix bounds check of a store instruction after a grow_memory instruction 2016-09-28 20:56:01 +00:00
fuzzer [wasm] Rename encoder.(cc,h) to wasm-module-builder.(cc,h) 2016-09-29 11:29:19 +00:00
inspector [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
inspector_protocol_parser_test [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
intl [wasm] asm.js: Add asm_wasm variant to test asm.js->wasm pipeline. 2016-09-19 23:57:13 +00:00
js-perf-test [test] Reduce time spent on js-perf tests and fix timeouts. 2016-09-29 09:33:45 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [es8] Remove syntactic tail calls support. 2016-09-28 08:25:45 +00:00
mjsunit [ignition] Fix building lookup graph when search depth is 0 2016-10-04 11:08:11 +00:00
mozilla [turbofan] Don't take into account source size for inlining heuristics. 2016-09-23 16:23:34 +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 [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 [test262] Temporarily disable Date tests that fail depending on the timezone. 2016-09-30 08:30:01 +00:00
unittests [Interpreter] Replace BytecodeRegisterAllocator with a simple bump pointer. 2016-09-30 09:03:25 +00:00
webkit [wasm] asm.js: Add asm_wasm variant to test asm.js->wasm pipeline. 2016-09-19 23:57:13 +00:00
bot_default.gyp [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
bot_default.isolate [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
BUILD.gn [inspector] added inspector test runner [part 1] 2016-09-30 15:52:46 +00:00
default.gyp [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
default.isolate [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate