Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Issue 2389233002: [regexp] Port RegExp getters and setters (Closed)

Created:
4 years, 2 months ago by jgruber
Modified:
4 years, 2 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com, rmcilroy, Benedikt Meurer
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] Port RegExp getters and setters Flag getters are implemented as TurboFan stubs while the rest are written as C++. This distinction is somewhat arbitrary and more getters could be ported to TurboFan in the future. BUG=v8:5339 Committed: https://crrev.com/4e219bb46a03800aa89acd46e81a428417c0e9a2 Cr-Commit-Position: refs/heads/master@{#40036}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Set flags getter to argument adaption #

Patch Set 4 : Handle Smi receivers #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+658 lines, -252 lines) Patch
M src/bootstrapper.cc View 1 2 3 chunks +142 lines, -25 lines 1 comment Download
M src/builtins/builtins.h View 1 1 chunk +23 lines, -0 lines 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 1 chunk +471 lines, -0 lines 2 comments Download
M src/code-stub-assembler.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap-symbols.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/js/regexp.js View 2 chunks +0 lines, -227 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
jgruber
The TurboFan getters are quite a contrast to JS regarding readability. C++ implementations, unfortunately, are ...
4 years, 2 months ago (2016-10-05 09:26:12 UTC) #8
Michael Achenbach
On 2016/10/05 09:26:12, jgruber wrote: > The TurboFan getters are quite a contrast to JS ...
4 years, 2 months ago (2016-10-05 14:30:04 UTC) #23
Benedikt Meurer
https://codereview.chromium.org/2389233002/diff/20002/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2389233002/diff/20002/src/builtins/builtins-regexp.cc#newcode513 src/builtins/builtins-regexp.cc:513: Node* const map = ThrowIfNotJSReceiver(a, isolate, context, receiver, This ...
4 years, 2 months ago (2016-10-05 16:39:23 UTC) #25
Yang
lgtm https://codereview.chromium.org/2389233002/diff/20002/src/bootstrapper.cc File src/bootstrapper.cc (right): https://codereview.chromium.org/2389233002/diff/20002/src/bootstrapper.cc#newcode1721 src/bootstrapper.cc:1721: // specification at Good to know.
4 years, 2 months ago (2016-10-06 07:56:13 UTC) #26
jgruber
https://codereview.chromium.org/2389233002/diff/20002/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2389233002/diff/20002/src/builtins/builtins-regexp.cc#newcode513 src/builtins/builtins-regexp.cc:513: Node* const map = ThrowIfNotJSReceiver(a, isolate, context, receiver, On ...
4 years, 2 months ago (2016-10-06 12:34:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2389233002/20002
4 years, 2 months ago (2016-10-06 12:34:41 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:20002)
4 years, 2 months ago (2016-10-06 13:01:00 UTC) #30
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 13:01:17 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4e219bb46a03800aa89acd46e81a428417c0e9a2
Cr-Commit-Position: refs/heads/master@{#40036}

Powered by Google App Engine
This is Rietveld 408576698