v8/include
Jakob Gruber a0858cf0ca [regexp] Add use counters for IsRegExp
A spec change to simplify IsRegExp has been proposed:

https://github.com/tc39/ecma262/pull/1318

This CL adds use counters for cases in which the spec change would
alter behavior:

1. o[@@match] is trueish but o is not a JSRegExp
2. o[@@match] is falseish (but not undefined) and o is a JSRegExp

This is the V8 side of required changes.
The Chromium-side CL: https://crrev.com/c/1360730

Drive-by: TNodeify IsRegExp.

Tbr: yangguo@chromium.org
Bug: v8:8522
Change-Id: I3766e02977f256a80d0e59472d3bafa9c692af9e
Reviewed-on: https://chromium-review.googlesource.com/c/1360630
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Sathya Gunasekaran <gsathya@chromium.org>
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58064}
2018-12-06 08:15:37 +00:00
..
libplatform [cleanup] Refactor second batch of general classes to use default members. 2018-09-20 10:34:28 +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 [ptr-compr] Add gn arg for 31bit Smis on 64bit arch 2018-10-24 13:26:35 +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 [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
v8-internal.h Fix arm64 bug in 31bit Smis 2018-11-30 13:11:07 +00:00
v8-platform.h [heap] Reclaim inaccessible memory. 2018-10-22 10:21:57 +00:00
v8-profiler.h [profiler] introduce API to enable detailed source positions 2018-11-09 11:44:22 +00:00
v8-testing.h Remove easy to remove calls to Isolate::Current() from api.cc 2015-11-30 08:16:59 +00:00
v8-util.h Remove PersistentContainerCallbackType::kWeak 2018-10-17 14:51:20 +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 [build] Fix V8_VERSION_STRING with embedder string 2017-10-23 14:31:52 +00:00
v8-version.h Update V8 version to 7.3 2018-11-29 13:45:38 +00:00
v8-wasm-trap-handler-posix.h [wasm] Fix linking issues in component builds 2018-11-30 10:58:43 +00:00
v8-wasm-trap-handler-win.h Reland: [wasm] Add more unit tests for trap handler 2018-11-29 16:33:10 +00:00
v8.h [regexp] Add use counters for IsRegExp 2018-12-06 08:15:37 +00:00
v8config.h [ubsan] Port Smi to the new design 2018-11-05 20:52:51 +00:00