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

Issue 2808033002: [regexp] Properly handle HeapNumbers in AdvanceStringIndex (Closed)

Created:
3 years, 8 months ago by jgruber
Modified:
3 years, 8 months ago
Reviewers:
Camillo Bruni
CC:
v8-merges_googlegroups.com, v8-reviews_googlegroups.com
Target Ref:
refs/branch-heads/5.8
Project:
v8
Visibility:
Public.

Description

[regexp] Properly handle HeapNumbers in AdvanceStringIndex This fixes behavior for HeapNumber {index} arguments passed to AdvanceStringIndex. Previously, we'd blindly treat {index} as a Smi. Passing a HeapNumber instead would result in a Smi addition on the tagged HeapNumber pointer. Backmerge of commit ed5496f3cd1b410e1632531799edddfad8afe4f6. BUG=chromium:709015 NOPRESUBMIT=true NOTRY=true Review-Url: https://codereview.chromium.org/2808033002 Cr-Commit-Position: refs/branch-heads/5.8@{#55} Cr-Branched-From: eda659cc5e307f20ac1ad542ba12ab32eaf4c7ef-refs/heads/5.8.283@{#1} Cr-Branched-From: 4310cd02d2160b1457baed81a2f40063eb264a21-refs/heads/master@{#43429} Committed: https://chromium.googlesource.com/v8/v8/+/bd8da83ff492de02d922abd5c08ad8f762bc7fba

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -7 lines) Patch
M src/builtins/builtins-regexp.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins-regexp.cc View 1 4 chunks +29 lines, -6 lines 0 comments Download
A test/mjsunit/regress/regress-6209.js View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
jgruber
3 years, 8 months ago (2017-04-10 14:13:28 UTC) #6
Camillo Bruni
lgtm
3 years, 8 months ago (2017-04-10 14:18:10 UTC) #8
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/2808033002/20001
3 years, 8 months ago (2017-04-10 14:18:51 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 14:19:05 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/bd8da83ff492de02d922abd5c08ad8f762b...

Powered by Google App Engine
This is Rietveld 408576698