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

Issue 1576403004: [Interpreter] Removes assignment hazard scope. (Closed)

Created:
4 years, 11 months ago by mythria
Modified:
4 years, 11 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

[Interpreter] Removes assignment hazard scope. Removes assignment hazard scope. Reverts back to the naive scheme of allocating a temporary for every variable load. It was decided to revert it because the current implementation does not handle logical expressions, ternary operators, visiting objects in named/keyed loads. Also, we wanted to evaluate alternate approaches and choose one when we have a mechanism to measure performance. BUG=v8:4280 LOG=N Committed: https://crrev.com/eccbdde0419c420cea3f739d6aaab1e69b6f1343 Cr-Commit-Position: refs/heads/master@{#33269}

Patch Set 1 #

Patch Set 2 : Skips failing mjsunit tests. #

Total comments: 8

Patch Set 3 : enables mjsunit tests fixed by this cl. #

Patch Set 4 : addresses comments from Ross. #

Patch Set 5 : Fixed a compilation error on the bots. #

Patch Set 6 : rebased the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1043 lines, -901 lines) Patch
M src/interpreter/bytecode-array-builder.h View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 2 chunks +0 lines, -13 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 3 chunks +0 lines, -35 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 9 chunks +14 lines, -146 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 92 chunks +1027 lines, -698 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 4 5 6 chunks +2 lines, -7 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (7 generated)
mythria
PTAL, Thanks, Mythri https://codereview.chromium.org/1576403004/diff/20001/test/mjsunit/mjsunit.status File test/mjsunit/mjsunit.status (right): https://codereview.chromium.org/1576403004/diff/20001/test/mjsunit/mjsunit.status#newcode815 test/mjsunit/mjsunit.status:815: 'compiler/regress-variable-liveness': [SKIP], This fails because of ...
4 years, 11 months ago (2016-01-12 14:33:12 UTC) #2
rmcilroy
LGTM, thanks for doing this! https://codereview.chromium.org/1576403004/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1576403004/diff/20001/src/interpreter/bytecode-generator.cc#newcode223 src/interpreter/bytecode-generator.cc:223: // implementation. Remove this ...
4 years, 11 months ago (2016-01-12 14:43:17 UTC) #4
mythria
Thanks, I fixed them. https://codereview.chromium.org/1576403004/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1576403004/diff/20001/src/interpreter/bytecode-generator.cc#newcode223 src/interpreter/bytecode-generator.cc:223: // implementation. Remove this if ...
4 years, 11 months ago (2016-01-12 16:53:21 UTC) #5
rmcilroy
still lgtm, thanks!
4 years, 11 months ago (2016-01-12 16:59:08 UTC) #6
oth
lgtm. Thanks for taking this on, not fun, but high value.
4 years, 11 months ago (2016-01-13 08:57:51 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576403004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576403004/100001
4 years, 11 months ago (2016-01-13 14:52:13 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-13 15:34:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576403004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576403004/100001
4 years, 11 months ago (2016-01-13 15:39:04 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 11 months ago (2016-01-13 15:40:40 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 15:41:40 UTC) #17
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/eccbdde0419c420cea3f739d6aaab1e69b6f1343
Cr-Commit-Position: refs/heads/master@{#33269}

Powered by Google App Engine
This is Rietveld 408576698