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

Issue 10802038: Add dependency to HLoadKeyed* instructions to prevent invalid hoisting (Closed)

Created:
8 years, 5 months ago by danno
Modified:
8 years, 5 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Add dependency to HLoadKeyed* instructions to prevent invalid hoisting BUG=chromium:137768 TEST=test/mjsunit/regress/regress-137768.js Committed: https://code.google.com/p/v8/source/detail?r=12173

Patch Set 1 #

Patch Set 2 : Fix bugs #

Total comments: 3

Patch Set 3 : Fix test case #

Patch Set 4 : Fix nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -77 lines) Patch
M src/hydrogen.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 10 chunks +18 lines, -10 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 9 chunks +22 lines, -14 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 4 chunks +7 lines, -3 lines 0 comments Download
A + test/mjsunit/regress/regress-137768.js View 1 2 3 1 chunk +37 lines, -50 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
danno
PTAL
8 years, 5 months ago (2012-07-19 15:55:14 UTC) #1
Jakob Kummerow
The patch looks good, but the regression test doesn't seem to trigger the wrong behavior. ...
8 years, 5 months ago (2012-07-20 08:45:18 UTC) #2
danno
Please take another look
8 years, 5 months ago (2012-07-23 13:49:31 UTC) #3
Jakob Kummerow
8 years, 5 months ago (2012-07-23 13:54:23 UTC) #4
LGTM with nit.

http://codereview.chromium.org/10802038/diff/11001/test/mjsunit/regress/regre...
File test/mjsunit/regress/regress-137768.js (right):

http://codereview.chromium.org/10802038/diff/11001/test/mjsunit/regress/regre...
test/mjsunit/regress/regress-137768.js:59: // that adds
nit: this sentence is still incomplete.

Powered by Google App Engine
This is Rietveld 408576698