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

Issue 2764113002: [type-profile] Handle returns correctly. (Closed)

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

Description

[type-profile] Handle returns correctly. Handle fall-off returns and returns inside try blocks. Store the type-profile feedback slot on the FunctionLiteral rather than on every return statement. Next steps: * Store entries in nexus that can be identified as 'return' (rather than parameter or assignment) * Collect types for parameters and assignments * Distinguish multiple parameters and assignments correctly R=mstarzinger@chromium.org BUG=v8:5935 Review-Url: https://codereview.chromium.org/2764113002 Cr-Commit-Position: refs/heads/master@{#44014} Committed: https://chromium.googlesource.com/v8/v8/+/86c2db5e33ccbff8acfa6c076a86b64c0b291675

Patch Set 1 #

Patch Set 2 : Private slot. #

Total comments: 1

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -91 lines) Patch
M src/ast/ast.h View 1 6 chunks +5 lines, -22 lines 0 comments Download
M src/ast/ast.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M src/ast/ast-numbering.cc View 1 5 chunks +2 lines, -14 lines 0 comments Download
M src/feedback-vector.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M src/feedback-vector.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 chunks +5 lines, -17 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-test.cc View 1 chunk +5 lines, -10 lines 0 comments Download
M test/message/type-profile/collect-type-profile.js View 1 2 3 chunks +1 line, -6 lines 0 comments Download
M test/message/type-profile/collect-type-profile.out View 1 2 1 chunk +16 lines, -16 lines 0 comments Download

Messages

Total messages: 28 (18 generated)
Franzi
Ptal. Thanks.
3 years, 9 months ago (2017-03-21 19:51:09 UTC) #10
Michael Starzinger
LGTM. I like it. Thanks!
3 years, 9 months ago (2017-03-22 09:34:10 UTC) #11
Yang
LGTM. https://codereview.chromium.org/2764113002/diff/20001/src/runtime/runtime-object.cc File src/runtime/runtime-object.cc (right): https://codereview.chromium.org/2764113002/diff/20001/src/runtime/runtime-object.cc#newcode700 src/runtime/runtime-object.cc:700: CONVERT_SMI_ARG_CHECKED(index, 3); Do I understand correctly that this ...
3 years, 9 months ago (2017-03-22 09:43:06 UTC) #12
Franzi
On 2017/03/22 09:43:06, Yang wrote: > LGTM. > > https://codereview.chromium.org/2764113002/diff/20001/src/runtime/runtime-object.cc > File src/runtime/runtime-object.cc (right): > ...
3 years, 9 months ago (2017-03-22 09:48:39 UTC) #13
Yang
On 2017/03/22 09:48:39, Franzi wrote: > On 2017/03/22 09:43:06, Yang wrote: > > LGTM. > ...
3 years, 9 months ago (2017-03-22 09:50:56 UTC) #14
Franzi
On 2017/03/22 09:50:56, Yang wrote: > On 2017/03/22 09:48:39, Franzi wrote: > > On 2017/03/22 ...
3 years, 9 months ago (2017-03-22 10:10:09 UTC) #15
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/2764113002/20001
3 years, 9 months ago (2017-03-22 10:20:05 UTC) #17
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/37303)
3 years, 9 months ago (2017-03-22 10:23:18 UTC) #19
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/2764113002/40001
3 years, 9 months ago (2017-03-22 10:40:48 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 11:51:14 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/86c2db5e33ccbff8acfa6c076a86b64c0b2...

Powered by Google App Engine
This is Rietveld 408576698