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

Issue 1390023003: Use simple/fast macro version of MinMax in JS (Closed)

Created:
5 years, 2 months ago by skomski
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use simple/fast macro version of MinMax in JS Use the simple macro version of {Min, Max} where possible to improve performance Follow-up to CR: https://codereview.chromium.org/1331993004 BUG= Committed: https://crrev.com/27c96c26212a10bb7f19f7bf3ff793b31bbad354 Cr-Commit-Position: refs/heads/master@{#31162}

Patch Set 1 #

Patch Set 2 : avoid debug directory #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -47 lines) Patch
M src/array.js View 3 chunks +1 line, -3 lines 0 comments Download
M src/arraybuffer.js View 2 chunks +4 lines, -11 lines 0 comments Download
M src/harmony-array.js View 2 chunks +7 lines, -11 lines 0 comments Download
M src/harmony-atomics.js View 3 chunks +3 lines, -8 lines 2 comments Download
M src/harmony-typedarray.js View 4 chunks +5 lines, -9 lines 0 comments Download
M src/json.js View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
skomski
CR version without the cleanup in https://codereview.chromium.org/1345333002/
5 years, 2 months ago (2015-10-07 08:47:31 UTC) #2
Dan Ehrenberg
lgtm
5 years, 2 months ago (2015-10-07 17:10:23 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390023003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390023003/20001
5 years, 2 months ago (2015-10-07 18:07:02 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-07 18:30:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1390023003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1390023003/20001
5 years, 2 months ago (2015-10-07 18:31:38 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-07 18:32:52 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/27c96c26212a10bb7f19f7bf3ff793b31bbad354 Cr-Commit-Position: refs/heads/master@{#31162}
5 years, 2 months ago (2015-10-07 18:33:14 UTC) #11
Michael Starzinger
Aehm ... https://codereview.chromium.org/1390023003/diff/20001/src/harmony-atomics.js File src/harmony-atomics.js (right): https://codereview.chromium.org/1390023003/diff/20001/src/harmony-atomics.js#newcode156 src/harmony-atomics.js:156: count = MAX_SIMPLE(0, TO_INTEGER(count)); I don't have ...
5 years, 2 months ago (2015-10-07 19:02:23 UTC) #13
skomski
On 2015/10/07 19:02:23, Michael Starzinger wrote: > Aehm ... > > https://codereview.chromium.org/1390023003/diff/20001/src/harmony-atomics.js > File src/harmony-atomics.js ...
5 years, 2 months ago (2015-10-08 10:37:34 UTC) #14
Jakob Kummerow
The macro absolutely needs to be hardened against accidental misuse, either by beefing it up ...
5 years, 2 months ago (2015-10-08 11:32:07 UTC) #15
Dan Ehrenberg
5 years, 2 months ago (2015-10-08 20:37:27 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1394303003/ by littledan@chromium.org.

The reason for reverting is: This contains bugs, as found by mstarzinger.
Reverting until we can find a clean fix (maybe it should be an inline function
instead of a macro)..

Powered by Google App Engine
This is Rietveld 408576698