v8/include
Adam Klein 946f78a0ad [parsing] Add a UseCounter for labeled expression statements
This was suggested by bmeurer after running into the confusing
example of:

  x => {x:x}

which might appear to be an arrow function that returns an object
literal containing its argument, but instead is an arrow function
that does nothing.

While it's unclear whether the language would change to make this
probable programmer error an actual syntax error, we can at least
gather some data on the question of whether we see any such code
in the wild.

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I08202039ecf7a7a4c71ad95ecd839436b4ec2af8
Reviewed-on: https://chromium-review.googlesource.com/600888
Commit-Queue: Adam Klein <adamk@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47171}
2017-08-04 18:51:54 +00:00
..
libplatform Reland "Switch tracing to use v8::TracingController" 2017-07-03 11:49:23 +00:00
APIDesign.md Replace <> with &lt;&gt; in md docs 2017-06-12 10:09:12 +00:00
DEPS [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
OWNERS Add myself to include/OWNERS 2017-07-07 15:32:00 +00:00
PRESUBMIT.py Add layout test bots to changes to api.cc 2017-05-31 14:15:18 +00:00
v8-debug.h [debugger,api] deprecate everything in v8-debug.h 2017-03-10 07:06:25 +00:00
v8-inspector-protocol.h [inspector] Build inspector under v8_enable_inspector build flag. 2016-09-06 23:26:35 +00:00
v8-inspector.h [inspector] finally removed *ExecuteScript from inspector 2017-03-27 19:26:18 +00:00
v8-platform.h Reland "[Memory] Add an OnCriticalMemoryPressure method to V8::Platform." 2017-08-01 01:42:19 +00:00
v8-profiler.h Fix common misspellings 2017-08-02 09:35:28 +00:00
v8-testing.h
v8-util.h Don't use DCHECK in v8-util.h. 2017-02-27 16:05:46 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Revert of [build] Introduce an embedder version string (patchset #3 id:40001 of https://codereview.chromium.org/2619213002/ ) 2017-01-21 22:36:54 +00:00
v8-version.h Update version to 6.2 2017-07-20 12:21:52 +00:00
v8.h [parsing] Add a UseCounter for labeled expression statements 2017-08-04 18:51:54 +00:00
v8config.h [cleanup] Remove the V8_NORETURN macro 2017-06-26 09:53:07 +00:00