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

Issue 1848473002: [Interpreter] Changes GenerateDoubleToObject to push and pop rsi value. (Closed)

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

Description

[Interpreter] Changes GenerateDoubleToObject to push and pop rsi value. In the earlier implementation of GenerateDoubleToObject the context is loaded from the parent's frame. rsi is clobbered because it is used to store kHoleNan constnat. It is not always safe to peek at the parents frame. Bytecode handlers have TypedFrame and the type of frame is stored at FP + 1. GenerateDoubleToObject expects context to be store at that place. In the current implementation rsi is pushed onto the stack and is popped when exiting this function. BUG=v8:4280, chromium:597565 LOG=N Committed: https://crrev.com/e6b6e5545386985f1d0bec875307e5df52062d71 Cr-Commit-Position: refs/heads/master@{#35163}

Patch Set 1 #

Patch Set 2 : Port for ia32. #

Patch Set 3 : adds an mjsunit test. #

Patch Set 4 : adds comments to test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M src/ia32/codegen-ia32.cc View 1 3 chunks +3 lines, -2 lines 0 comments Download
M src/x64/codegen-x64.cc View 3 chunks +3 lines, -2 lines 0 comments Download
A test/mjsunit/ignition/regress-597565-double-to-object-transition.js View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848473002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848473002/1
4 years, 8 months ago (2016-03-30 13:48:51 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-30 14:10:36 UTC) #4
mythria
Michael and Toon, I was looking at an ignition failure (https://bugs.chromium.org/p/chromium/issues/detail?id=597565). It was failing because ...
4 years, 8 months ago (2016-03-30 15:27:36 UTC) #6
mvstanton
lgtm
4 years, 8 months ago (2016-03-30 15:28:01 UTC) #7
Toon Verwaest
lgtm
4 years, 8 months ago (2016-03-31 08:22:17 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848473002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848473002/20001
4 years, 8 months ago (2016-03-31 10:38:51 UTC) #10
mythria
Thanks for your reviews. I ported it to ia32 as well. Arm and mips does ...
4 years, 8 months ago (2016-03-31 10:42:08 UTC) #11
rmcilroy
Drive by comment - could you add a mjsunit test for this (the minismised clusterfuzz ...
4 years, 8 months ago (2016-03-31 10:46:17 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-31 10:59:45 UTC) #14
mythria
Thanks Ross, I added an mjsunit test. Orion, could you please review the mjsunit test ...
4 years, 8 months ago (2016-03-31 11:10:44 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848473002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848473002/40001
4 years, 8 months ago (2016-03-31 11:11:13 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-31 11:32:27 UTC) #20
oth
lgtm, a brief comment or two in the tests might help a future reader.
4 years, 8 months ago (2016-03-31 12:35:06 UTC) #21
mythria
Thanks orion. I added comments to the test.
4 years, 8 months ago (2016-03-31 13:18:27 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848473002/60001
4 years, 8 months ago (2016-03-31 13:18:40 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-31 13:39:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1848473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1848473002/60001
4 years, 8 months ago (2016-03-31 13:43:10 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-31 13:44:48 UTC) #30
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 13:45:59 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e6b6e5545386985f1d0bec875307e5df52062d71
Cr-Commit-Position: refs/heads/master@{#35163}

Powered by Google App Engine
This is Rietveld 408576698