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

Issue 2881763003: [array] Simplify index calculation in Array.p.indexOf (Closed)

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

Description

[array] Simplify index calculation in Array.p.indexOf No semantic changes, just a readability refactoring that removes a couple of unnecessary variables and labels. BUG=v8:6371 Review-Url: https://codereview.chromium.org/2881763003 Cr-Commit-Position: refs/heads/master@{#45290} Committed: https://chromium.googlesource.com/v8/v8/+/e658bc575faa091c570a652b240e1da3866ee5c7

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase and address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -72 lines) Patch
M src/builtins/builtins-array-gen.cc View 1 8 chunks +41 lines, -72 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
jgruber
3 years, 7 months ago (2017-05-15 06:56:32 UTC) #7
Camillo Bruni
lgtm https://codereview.chromium.org/2881763003/diff/1/src/builtins/builtins-array-gen.cc File src/builtins/builtins-array-gen.cc (right): https://codereview.chromium.org/2881763003/diff/1/src/builtins/builtins-array-gen.cc#newcode1679 src/builtins/builtins-array-gen.cc:1679: BIND(&init_k); nit: init_index https://codereview.chromium.org/2881763003/diff/1/src/builtins/builtins-array-gen.cc#newcode1892 src/builtins/builtins-array-gen.cc:1892: args.GetOptionalArgumentValue(kFromIndexArg, UndefinedConstant()); we ...
3 years, 7 months ago (2017-05-15 07:15:41 UTC) #8
jgruber
https://codereview.chromium.org/2881763003/diff/1/src/builtins/builtins-array-gen.cc File src/builtins/builtins-array-gen.cc (right): https://codereview.chromium.org/2881763003/diff/1/src/builtins/builtins-array-gen.cc#newcode1679 src/builtins/builtins-array-gen.cc:1679: BIND(&init_k); On 2017/05/15 07:15:41, Camillo Bruni wrote: > nit: ...
3 years, 7 months ago (2017-05-15 08:01:19 UTC) #11
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/2881763003/20001
3 years, 7 months ago (2017-05-15 08:01:45 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 08:32:39 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/e658bc575faa091c570a652b240e1da3866...

Powered by Google App Engine
This is Rietveld 408576698