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

Issue 1239593003: Fix memento initialization when constructing from new call (Closed)

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

Description

Fix memento initialization when constructing from new call Additionally, push the allocation site or undefined independently of creating a memento to preserve a fixed size for the construct frames. BUG= Committed: https://crrev.com/3285e3bf071a2575a827c5b29fe389a72dbf8966 Cr-Commit-Position: refs/heads/master@{#29719}

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed comments #

Patch Set 3 : arm and mips ports #

Patch Set 4 : readd deleted line #

Total comments: 6

Patch Set 5 : addressed comments #

Total comments: 2

Patch Set 6 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -65 lines) Patch
M src/arm/builtins-arm.cc View 1 2 3 4 3 chunks +7 lines, -9 lines 0 comments Download
M src/arm64/builtins-arm64.cc View 1 2 3 chunks +13 lines, -14 lines 0 comments Download
M src/deoptimizer.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/frames.h View 1 chunk +5 lines, -3 lines 0 comments Download
M src/frames.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/ia32/builtins-ia32.cc View 1 3 chunks +8 lines, -9 lines 0 comments Download
M src/mips/builtins-mips.cc View 1 2 3 4 5 3 chunks +7 lines, -10 lines 0 comments Download
M src/mips64/builtins-mips64.cc View 1 2 3 4 3 chunks +7 lines, -10 lines 0 comments Download
M src/x64/builtins-x64.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/test-mementos.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Michael Lippautz
PTAL Initial ports. I cannot even turn on the flag temporarily because super() support is ...
5 years, 5 months ago (2015-07-16 13:47:12 UTC) #2
Michael Starzinger
Looking good, just nits. https://codereview.chromium.org/1239593003/diff/1/src/ia32/builtins-ia32.cc File src/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/1239593003/diff/1/src/ia32/builtins-ia32.cc#newcode120 src/ia32/builtins-ia32.cc:120: // Always push a potential ...
5 years, 5 months ago (2015-07-16 14:08:29 UTC) #3
Michael Lippautz
Will do other ports now. https://codereview.chromium.org/1239593003/diff/1/src/ia32/builtins-ia32.cc File src/ia32/builtins-ia32.cc (right): https://codereview.chromium.org/1239593003/diff/1/src/ia32/builtins-ia32.cc#newcode120 src/ia32/builtins-ia32.cc:120: // Always push a ...
5 years, 5 months ago (2015-07-16 14:15:35 UTC) #4
Michael Lippautz
PTAL
5 years, 5 months ago (2015-07-16 15:22:03 UTC) #5
Michael Starzinger
General note: You only get coverage for anything that is guarded by emit_debug_code(), like the ...
5 years, 5 months ago (2015-07-16 15:40:12 UTC) #6
Michael Lippautz
Tests using debug builds also ran successfully. https://codereview.chromium.org/1239593003/diff/60001/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/1239593003/diff/60001/src/arm/builtins-arm.cc#newcode477 src/arm/builtins-arm.cc:477: __ AssertUndefinedOrAllocationSite(r6, ...
5 years, 5 months ago (2015-07-16 16:55:12 UTC) #7
Michael Starzinger
LGTM after one last comment is addressed. https://codereview.chromium.org/1239593003/diff/80001/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/1239593003/diff/80001/src/mips/builtins-mips.cc#newcode342 src/mips/builtins-mips.cc:342: __ push(a2); ...
5 years, 5 months ago (2015-07-17 07:54:04 UTC) #8
Michael Lippautz
Thanks a lot! https://codereview.chromium.org/1239593003/diff/80001/src/mips/builtins-mips.cc File src/mips/builtins-mips.cc (right): https://codereview.chromium.org/1239593003/diff/80001/src/mips/builtins-mips.cc#newcode342 src/mips/builtins-mips.cc:342: __ push(a2); On 2015/07/17 07:54:03, Michael ...
5 years, 5 months ago (2015-07-17 08:08:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239593003/100001
5 years, 5 months ago (2015-07-17 08:08:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1239593003/100001
5 years, 5 months ago (2015-07-17 08:46:28 UTC) #15
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-17 08:51:31 UTC) #16
commit-bot: I haz the power
5 years, 5 months ago (2015-07-17 08:51:49 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3285e3bf071a2575a827c5b29fe389a72dbf8966
Cr-Commit-Position: refs/heads/master@{#29719}

Powered by Google App Engine
This is Rietveld 408576698