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

Issue 2573283003: Refactor IterationHasObservableEffects to be more readable. (Closed)

Created:
4 years ago by petermarshall
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Refactor IterationHasObservableEffects to be more readable. This was kind of hard to read due to the nesting. Refactor it using short-circuit a bit more and add some comments to each bit. Review-Url: https://codereview.chromium.org/2573283003 Cr-Commit-Position: refs/heads/master@{#41727} Committed: https://chromium.googlesource.com/v8/v8/+/c911517f0d763be4c556ebe8743382e363a0310d

Patch Set 1 #

Total comments: 1

Patch Set 2 : Get rid of silly else #

Total comments: 1

Patch Set 3 : remove potentially confusing todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -25 lines) Patch
M src/objects.cc View 1 2 1 chunk +30 lines, -25 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
petermarshall
PTAL and let me know if you think this is any better than before =]
4 years ago (2016-12-15 14:24:54 UTC) #4
Franzi
I think that's easier to read. LGTM with nit. https://codereview.chromium.org/2573283003/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2573283003/diff/1/src/objects.cc#newcode2214 src/objects.cc:2214: ...
4 years ago (2016-12-15 14:39:26 UTC) #7
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/2573283003/20001
4 years ago (2016-12-15 14:43:33 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/30681)
4 years ago (2016-12-15 14:46:44 UTC) #12
petermarshall
mstarzinger could you please take a look as an owner =]
4 years ago (2016-12-15 14:49:44 UTC) #14
Michael Starzinger
LGTM. https://codereview.chromium.org/2573283003/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2573283003/diff/20001/src/objects.cc#newcode2195 src/objects.cc:2195: // changes that a map check won't recognize. ...
4 years ago (2016-12-15 15:05:39 UTC) #15
petermarshall
On 2016/12/15 at 14:49:44, petermarshall wrote: > mstarzinger could you please take a look as ...
4 years ago (2016-12-15 15:06:08 UTC) #16
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/2573283003/40001
4 years ago (2016-12-15 15:06:41 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-15 15:32:03 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/c911517f0d763be4c556ebe8743382e363a...

Powered by Google App Engine
This is Rietveld 408576698