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

Issue 2011313003: [Interpreter] Fix GenerateSmiToDouble to avoid assuming it is called from a JSFrame. (Closed)

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

Description

[Interpreter] Fix GenerateSmiToDouble to avoid assuming it is called from a JSFrame. GenerateSmiToDouble on ia32 assumes that it is called from a JSFrame and can restore the context from the StandardFrameConstants::kContextObject. In the case of the interpreter it is called from a interpreter handler stub frame which doesn't push the context onto it's frame. Instead, push and pop esi to explicitly restore it correctly. BUG=chromium:612386 Committed: https://crrev.com/471893ccec1b280453bf49b8bba9f6331ee2b41b Cr-Commit-Position: refs/heads/master@{#36649}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M src/ia32/codegen-ia32.cc View 3 chunks +5 lines, -4 lines 0 comments Download
A test/mjsunit/ignition/regress-612386-smi-to-double-transition.js View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
rmcilroy
Michael, could you take a look please. Thanks.
4 years, 6 months ago (2016-05-27 12:51:21 UTC) #2
rmcilroy
Ping? Michael could you take a quick look? I'd like to land this to fix ...
4 years, 6 months ago (2016-06-01 08:55:47 UTC) #3
mvstanton
lgtm
4 years, 6 months ago (2016-06-01 13:50:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2011313003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2011313003/1
4 years, 6 months ago (2016-06-01 14:22:10 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-01 14:47:09 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 14:49:08 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/471893ccec1b280453bf49b8bba9f6331ee2b41b
Cr-Commit-Position: refs/heads/master@{#36649}

Powered by Google App Engine
This is Rietveld 408576698