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

Issue 1873173002: [compiler] Set expect property count right after parsing. (Closed)

Created:
4 years, 8 months ago by Michael Starzinger
Modified:
4 years, 8 months ago
Reviewers:
Toon Verwaest
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Set expect property count right after parsing. This moves the computation of the {expected_nof_properties} for a shared function to where the object is actually being allocated. This is done after parsing when the literal has been populated already. The expected number of properties is not mutated after parsing. R=verwaest@chromium.org Committed: https://crrev.com/8ce0a943e3aa77a80b63a75fc0308402404abeaa Cr-Commit-Position: refs/heads/master@{#35391}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -32 lines) Patch
M src/compiler.cc View 1 4 chunks +0 lines, -32 lines 0 comments Download
M src/objects.cc View 1 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Michael Starzinger
4 years, 8 months ago (2016-04-11 13:29:40 UTC) #3
Michael Starzinger
https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc#newcode1018 src/compiler.cc:1018: SetExpectedNofPropertiesFromEstimate(result, literal); This could even be moved out of ...
4 years, 8 months ago (2016-04-11 13:32:43 UTC) #4
Toon Verwaest
lgtm, nice cleanup. https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc#newcode1018 src/compiler.cc:1018: SetExpectedNofPropertiesFromEstimate(result, literal); On 2016/04/11 13:32:42, Michael ...
4 years, 8 months ago (2016-04-11 13:43:32 UTC) #5
Michael Starzinger
Thanks! Comment addressed. Landing now-ish. https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1873173002/diff/1/src/compiler.cc#newcode1018 src/compiler.cc:1018: SetExpectedNofPropertiesFromEstimate(result, literal); On 2016/04/11 ...
4 years, 8 months ago (2016-04-11 14:17:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1873173002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1873173002/20001
4 years, 8 months ago (2016-04-11 14:51:43 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-11 14:54:05 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-11 14:54:42 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8ce0a943e3aa77a80b63a75fc0308402404abeaa
Cr-Commit-Position: refs/heads/master@{#35391}

Powered by Google App Engine
This is Rietveld 408576698