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

Issue 2807153002: [regexp] Avoid side effects between map load and fast path check (Closed)

Created:
3 years, 8 months ago by jgruber
Modified:
3 years, 8 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] Avoid side effects between map load and fast path check Loading the map, performing a side-effect, and then using the stored pointer for the fast-path check is another antipattern that can lead to unintended shapes on the fast path. BUG=chromium:709029 Review-Url: https://codereview.chromium.org/2807153002 Cr-Commit-Position: refs/heads/master@{#44528} Committed: https://chromium.googlesource.com/v8/v8/+/db61537afcbc4ed1914152aad302a9788bc80d0f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -32 lines) Patch
M src/builtins/builtins-regexp-gen.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/builtins/builtins-regexp-gen.cc View 8 chunks +28 lines, -31 lines 0 comments Download
A test/mjsunit/regress/regress-709029.js View 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
jgruber
3 years, 8 months ago (2017-04-10 13:48:54 UTC) #4
Yang
On 2017/04/10 13:48:54, jgruber wrote: lgtm!
3 years, 8 months ago (2017-04-10 14:50:14 UTC) #7
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/2807153002/1
3 years, 8 months ago (2017-04-10 14:51:50 UTC) #9
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 14:58:02 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/db61537afcbc4ed1914152aad302a9788bc...

Powered by Google App Engine
This is Rietveld 408576698