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

Issue 1687013: Fix search-for-string and replace global to avoid hangs... (Closed)

Created:
10 years, 8 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix search-for-string and replace global to avoid hangs and spurious exceptions. Committed: http://code.google.com/p/v8/source/detail?r=4511

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -9 lines) Patch
M src/runtime.cc View 2 chunks +8 lines, -9 lines 1 comment Download
A test/mjsunit/search-string-multiple.js View 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Erik Corry
10 years, 8 months ago (2010-04-27 11:11:50 UTC) #1
Søren Thygesen Gjesse
10 years, 8 months ago (2010-04-27 11:22:47 UTC) #2
LGTM

http://codereview.chromium.org/1687013/diff/1/2
File src/runtime.cc (right):

http://codereview.chromium.org/1687013/diff/1/2#newcode3200
src/runtime.cc:3200: ReplacementStringBuilder::AddSubjectSlice(builder,
match_end, new_pos);
Long line.

Powered by Google App Engine
This is Rietveld 408576698