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

Issue 12177015: Refactor implementation for String.prototype.replace. (Closed)

Created:
7 years, 10 months ago by Yang
Modified:
7 years, 9 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Refactor implementation for String.prototype.replace. R=ulan@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=13761

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : addressed comments, added tests #

Patch Set 4 : #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -99 lines) Patch
src/jsregexp.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
src/runtime.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
src/runtime.cc View 1 2 3 4 12 chunks +26 lines, -65 lines 0 comments Download
src/string.js View 1 2 3 4 3 chunks +79 lines, -33 lines 0 comments Download
test/mjsunit/string-replace.js View 1 2 1 chunk +53 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
7 years, 10 months ago (2013-02-04 13:26:56 UTC) #1
ulan
LGTM if the comments are addressed. https://chromiumcodereview.appspot.com/12177015/diff/3001/src/string.js File src/string.js (left): https://chromiumcodereview.appspot.com/12177015/diff/3001/src/string.js#oldcode285 src/string.js:285: search = TO_STRING_INLINE(search); ...
7 years, 10 months ago (2013-02-05 09:30:58 UTC) #2
Yang
I addressed the comments. Please take another look. https://codereview.chromium.org/12177015/diff/3001/src/string.js File src/string.js (right): https://codereview.chromium.org/12177015/diff/3001/src/string.js#newcode271 src/string.js:271: SubString(subject, ...
7 years, 10 months ago (2013-02-05 10:47:32 UTC) #3
Yang
7 years, 9 months ago (2013-02-27 14:14:51 UTC) #4
Message was sent while issue was closed.
Committed patchset #5 manually as r13761 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698