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

Issue 1756743002: X87: [Interpreter] Fixes PushArgsAndConstruct builtin to not store any data outside esp. (Closed)

Created:
4 years, 9 months ago by zhengxing.li
Modified:
4 years, 9 months ago
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

X87: [Interpreter] Fixes PushArgsAndConstruct builtin to not store any data outside esp. port dbf5fffd2d58289fcb05c0ac7dde40c76dfa9472 (r34397) original commit message: In ia32 PushArgsAndConstruct builtin, we run out of registers and need to temporarily store the data in the stack. In the earlier implementation, a location outside the esp was used. This causes a problem if there is a interrupt/signals which would use the same stack and corrupt the data that is above the esp. This cl fixes it by pushing it onto the stack so that the stack pointer is updated and hence the corruption will not happen. We reuse the slot meant for receiver as a temporary store. BUG= Committed: https://crrev.com/11162a48d342dff499801d16393f0dfbb3d4fb39 Cr-Commit-Position: refs/heads/master@{#34420}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -15 lines) Patch
M src/x87/builtins-x87.cc View 1 chunk +12 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
zhengxing.li
PTAL, thanks!
4 years, 9 months ago (2016-03-02 07:57:31 UTC) #2
Weiliang
lgtm
4 years, 9 months ago (2016-03-02 08:21:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756743002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756743002/1
4 years, 9 months ago (2016-03-02 08:25:15 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-02 08:45:36 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/11162a48d342dff499801d16393f0dfbb3d4fb39 Cr-Commit-Position: refs/heads/master@{#34420}
4 years, 9 months ago (2016-03-02 08:46:48 UTC) #8
mythria
4 years, 9 months ago (2016-03-02 11:35:53 UTC) #9
Message was sent while issue was closed.
Thanks for fixing this.

Powered by Google App Engine
This is Rietveld 408576698