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

Issue 3300020: Store pattern.length() in a local. (Closed)

Created:
10 years, 3 months ago by sandholm
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Store pattern.length() in a local. Committed: http://code.google.com/p/v8/source/detail?r=5428

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -18 lines) Patch
M src/runtime.cc View 1 5 chunks +21 lines, -18 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sandholm
10 years, 3 months ago (2010-09-08 07:46:25 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/3300020/diff/1/2 File src/runtime.cc (right): http://codereview.chromium.org/3300020/diff/1/2#newcode2833 src/runtime.cc:2833: int plen = pattern.length(); Rename to "pattern_length". We ...
10 years, 3 months ago (2010-09-08 10:51:31 UTC) #2
sandholm
10 years, 3 months ago (2010-09-08 11:04:55 UTC) #3
http://codereview.chromium.org/3300020/diff/1/2
File src/runtime.cc (right):

http://codereview.chromium.org/3300020/diff/1/2#newcode2833
src/runtime.cc:2833: int plen = pattern.length();
On 2010/09/08 10:51:31, Lasse Reichstein wrote:
> Rename to "pattern_length". We try not to use too many abbreviations.

Done.

http://codereview.chromium.org/3300020/diff/1/2#newcode2883
src/runtime.cc:2883: int plen = pattern.length();
On 2010/09/08 10:51:31, Lasse Reichstein wrote:
> Ditto.

Done.

http://codereview.chromium.org/3300020/diff/1/2#newcode3050
src/runtime.cc:3050: int plen = pat.length();
On 2010/09/08 10:51:31, Lasse Reichstein wrote:
> And rename again (ahem, "pat" and "sub" should not be seen as an example to
copy
> :)

Done. Renamed pat and sub as well...

Powered by Google App Engine
This is Rietveld 408576698