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

Issue 2607303002: [crankshaft] Don't bailout on uninitialized access to arguments object. (Closed)

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

Description

[crankshaft] Don't bailout on uninitialized access to arguments object. When Crankshaft compiles a keyed load to arguments, it disabled optimization unless the KEYED_LOAD_IC for the access was monomorphic. But that's too restrictive, since it will also disable optimization for this function when the access is on a path that was never executed so far. This was spotted in the Node.js core function EventEmitter.prototype.emit, which was no longer optimizable with Crankshaft using latest V8. R=jarin@chromium.org BUG=v8:5790 Review-Url: https://codereview.chromium.org/2607303002 Cr-Commit-Position: refs/heads/master@{#42005} Committed: https://chromium.googlesource.com/v8/v8/+/380a0207dbf01ddd2954b31f58844f6f5f0def9e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M src/crankshaft/hydrogen.cc View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/regress/regress-5790.js View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
Benedikt Meurer
3 years, 11 months ago (2017-01-02 05:53:05 UTC) #1
Benedikt Meurer
Hey Jaro, Here's a fix for the overly aggressive deopt loop protection on arguments[n] accesses. ...
3 years, 11 months ago (2017-01-02 05:53:47 UTC) #4
Jarin
lgtm
3 years, 11 months ago (2017-01-02 06:49:40 UTC) #7
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/2607303002/1
3 years, 11 months ago (2017-01-02 06:50:08 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 06:52:12 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/380a0207dbf01ddd2954b31f58844f6f5f0...

Powered by Google App Engine
This is Rietveld 408576698