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

Issue 2106883003: [builtins] Add receiver to builtin exit frames (Closed)

Created:
4 years, 5 months ago by jgruber
Modified:
4 years, 5 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[builtins] Add receiver to builtin exit frames Stack trace generation requires access to the receiver; and while the receiver is already on the stack, we cannot determine its position during stack trace generation (it's stored in argv[0], and argc is only stored in a callee-saved register). This patch grants access to the receiver by pushing argc onto builtin exit frames as an extra argument. Compared to simply pushing the receiver, this requires an additional dereference during stack trace generation, but one fewer during builtin calls. BUG=v8:4815 Committed: https://crrev.com/f59a23356b437e369d75445177fea838ee5bccc7 Cr-Commit-Position: refs/heads/master@{#37500}

Patch Set 1 #

Patch Set 2 : Dependency patchset #

Patch Set 3 : Other arches #

Patch Set 4 : Remove patch dependency #

Total comments: 7

Patch Set 5 : Depend on MathMaxMin cl #

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -52 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 4 chunks +25 lines, -14 lines 0 comments Download
M src/frames.h View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M src/frames.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M src/frames-inl.h View 1 2 3 1 chunk +21 lines, -1 line 0 comments Download
M src/heap-symbols.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 1 chunk +10 lines, -2 lines 0 comments Download
M src/js/messages.js View 2 chunks +7 lines, -2 lines 0 comments Download
M src/messages.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 1 chunk +9 lines, -6 lines 0 comments Download
M test/message/paren_in_arg_string.out View 1 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-4815.js View 1 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 34 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/1
4 years, 5 months ago (2016-06-29 10:46:34 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/20001
4 years, 5 months ago (2016-06-29 10:48:54 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel_ng/builds/4137)
4 years, 5 months ago (2016-06-29 10:54:26 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/40001
4 years, 5 months ago (2016-06-29 12:04:00 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 12:31:17 UTC) #10
jgruber
4 years, 5 months ago (2016-06-30 07:21:37 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/60001
4 years, 5 months ago (2016-06-30 08:38:27 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 09:06:57 UTC) #16
Yang
lgtm. Please wait for Benedikt's review. https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc#newcode44 src/arm/builtins-arm.cc:44: __ SmiTag(r0); Since ...
4 years, 5 months ago (2016-06-30 12:34:23 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/80001
4 years, 5 months ago (2016-06-30 13:34:08 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 14:03:02 UTC) #21
jgruber
https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc#newcode44 src/arm/builtins-arm.cc:44: __ SmiTag(r0); On 2016/06/30 12:34:23, Yang wrote: > Since ...
4 years, 5 months ago (2016-06-30 14:40:29 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106883003/100001
4 years, 5 months ago (2016-06-30 14:41:41 UTC) #24
jgruber
https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/2106883003/diff/60001/src/arm/builtins-arm.cc#newcode44 src/arm/builtins-arm.cc:44: __ SmiTag(r0); On 2016/06/30 12:34:23, Yang wrote: > Since ...
4 years, 5 months ago (2016-06-30 14:45:47 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-30 15:39:41 UTC) #27
Benedikt Meurer
LGTM, thanks.
4 years, 5 months ago (2016-07-01 08:38:36 UTC) #28
Yang
On 2016/07/01 08:38:36, Benedikt Meurer wrote: > LGTM, thanks. lgtm.
4 years, 5 months ago (2016-07-04 06:45:29 UTC) #29
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/2106883003/100001
4 years, 5 months ago (2016-07-04 12:19:39 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-04 12:44:23 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-07-04 12:46:59 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f59a23356b437e369d75445177fea838ee5bccc7
Cr-Commit-Position: refs/heads/master@{#37500}

Powered by Google App Engine
This is Rietveld 408576698