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

Issue 2481053002: [crankshaft] Fix deoptimization loop w/ non-monomorphic arguments access. (Closed)

Created:
4 years, 1 month ago by Benedikt Meurer
Modified:
4 years, 1 month ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[crankshaft] Fix deoptimization loop w/ non-monomorphic arguments access. In Crankshaft we unconditionally assume that accesses to arguments[i] will be in-bounds and don't take into account IC feedback that would eventually teach us about out-of-bounds accesses that have happened in the past, so there's no real guard to protect the bounds check in optimized code. TEST=mjsunit/compiler/deopt-arguments-oob R=jarin@chromium.org BUG=v8:5606 Committed: https://crrev.com/d6ff45afadf1931ebd88d23f7e8f418ada1ba02e Cr-Commit-Position: refs/heads/master@{#40787}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M src/crankshaft/hydrogen.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A test/mjsunit/compiler/deopt-arguments-oob.js View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Benedikt Meurer
4 years, 1 month ago (2016-11-06 19:50:01 UTC) #1
Benedikt Meurer
Hey Jaro, Here's a fix for the obvious deoptimization loop around arguments[i] in Crankshaft. Please ...
4 years, 1 month ago (2016-11-06 19:50:48 UTC) #4
Jarin
lgtm
4 years, 1 month ago (2016-11-07 06:29:47 UTC) #8
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/2481053002/1
4 years, 1 month ago (2016-11-07 06:36:57 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-07 06:38:58 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:23:59 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d6ff45afadf1931ebd88d23f7e8f418ada1ba02e
Cr-Commit-Position: refs/heads/master@{#40787}

Powered by Google App Engine
This is Rietveld 408576698