v8/test/inspector
Caitlin Potter c6540ab1b7 [es6] don't use do-expressions to desugar ES6 classes
Removes the do-expression wrapping, modifies BytecodeGenerator change
to enter a class literal's block scope if needed.

This does not solve the actual bug in v8:6322, but helps mitigate it in
simple cases. The bug is caused by BytecodeGenerator not allocating a
large enough array of context registers to hold its entire stack,
allowing non-context registers to be overwritten during PushContext and
PopContext bytecodes.

Nevertheless, I like the idea of not depending on do-expressions when
possible, so I think it's worth doing anyways.

BUG=v8:6322
R=rmcilroy@chromium.org, marja@chromium.org, littledan@chromium.org

Change-Id: I82b7569db2a0eead1694bd04765fc4456c2f1a0a
Reviewed-on: https://chromium-review.googlesource.com/491074
Commit-Queue: Caitlin Potter <caitp@igalia.com>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Daniel Ehrenberg <littledan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45110}
2017-05-04 18:49:50 +00:00
..
console [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
cpu-profiler Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
debugger [es6] don't use do-expressions to desugar ES6 classes 2017-05-04 18:49:50 +00:00
heap-profiler [test/inspector] remove any usage of v8::Extension 2017-04-21 23:41:07 +00:00
runtime [inspector] console property should be enumerable 2017-04-25 22:17:24 +00:00
BUILD.gn [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-impl.cc [inspector] improved V8Debugger::breakProgram method 2017-04-25 22:55:45 +00:00
inspector-impl.h [inspector] improved V8Debugger::breakProgram method 2017-04-25 22:55:45 +00:00
inspector-test.cc [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00
inspector.gyp Fix inspector test in components build 2016-10-18 20:08:12 +00:00
inspector.isolate [build] Remove remaining disable-inspector options in GN 2017-04-05 17:59:07 +00:00
inspector.status Revert of [js] Avoid %_ClassOf for collection builtins. (patchset #4 id:60001 of https://codereview.chromium.org/2814773005/ ) 2017-05-04 18:43:45 +00:00
json-parse-expected.txt [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
json-parse.js [inspector] added inspector test runner [part 5] 2016-10-02 21:23:03 +00:00
OWNERS [inspector] added inspector test runner [part 1] 2016-09-30 15:52:46 +00:00
protocol-test.js [test/inspector] migrate utils to ObjectTemplate 2017-04-20 18:04:24 +00:00
task-runner.cc [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00
task-runner.h [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00
testcfg.py [inspector] always include user scripts in the snapshot. 2017-04-26 15:13:14 +00:00