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

Issue 1652013002: [turbofan] Properly call %TraceExit on explicit return. (Closed)

Created:
4 years, 10 months ago by Benedikt Meurer
Modified:
4 years, 10 months ago
Reviewers:
Michael Starzinger
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

[turbofan] Properly call %TraceExit on explicit return. So far TurboFan only calls %TraceExit for the implicit return of undefined, when the function contains no explicit return statement. To make --trace useful, we also need to call %TraceExit for ReturnStatement. R=mstarzinger@chromium.org Committed: https://crrev.com/329c1e5397322df0cd18ec91fbeab02c9c14024b Cr-Commit-Position: refs/heads/master@{#33659}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Michis comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Benedikt Meurer
4 years, 10 months ago (2016-02-01 12:57:55 UTC) #1
Benedikt Meurer
Hey Michi, Simple fix. Please take a look. Thanks, Benedikt
4 years, 10 months ago (2016-02-01 18:16:26 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1652013002/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1652013002/diff/1/src/compiler/ast-graph-builder.cc#newcode615 src/compiler/ast-graph-builder.cc:615: // TODO(mstarzinger): Only traces implicit return. Once the below ...
4 years, 10 months ago (2016-02-01 18:33:16 UTC) #3
Benedikt Meurer
Comments address. Thanks. https://codereview.chromium.org/1652013002/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1652013002/diff/1/src/compiler/ast-graph-builder.cc#newcode615 src/compiler/ast-graph-builder.cc:615: // TODO(mstarzinger): Only traces implicit return. ...
4 years, 10 months ago (2016-02-02 05:01:41 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652013002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652013002/20001
4 years, 10 months ago (2016-02-02 05:02:10 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-02 05:29:39 UTC) #8
Michael Starzinger
LGTM.
4 years, 10 months ago (2016-02-02 09:03:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1652013002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1652013002/20001
4 years, 10 months ago (2016-02-02 09:07:02 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-02 09:11:52 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-02 09:12:40 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/329c1e5397322df0cd18ec91fbeab02c9c14024b
Cr-Commit-Position: refs/heads/master@{#33659}

Powered by Google App Engine
This is Rietveld 408576698