Description[regexp] Only access result.groups if named captures are enabled
GetProperty(result, groups) needs to be called iff the
harmony-regexp-named-captures flag is enabled.
Also add a couple of DCHECKS.
BUG=v8:5437, chromium:706748
Review-Url: https://codereview.chromium.org/2786933002
Cr-Commit-Position: refs/heads/master@{#44267}
Committed: https://chromium.googlesource.com/v8/v8/+/1200cc2c6d715466ee762a05ae26fe4a4f82eb36
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|