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

Issue 2187823002: [interpreter] Don't keep postfix result if only visited for effect (Closed)

Created:
4 years, 4 months ago by klaasb
Modified:
4 years, 4 months ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com, oth
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Don't keep postfix result if only visited for effect Remove TODO to perform same optimization as AstGraphBuilder. When visiting for effect in a postfix count operation, don't keep the intermediate result of ToNumber. BUG=v4:4280 LOG=n Committed: https://crrev.com/27a9b032ab8c569d282c5db366c15b3d339c3513 Cr-Commit-Position: refs/heads/master@{#38101}

Patch Set 1 #

Patch Set 2 : regen all golden files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -25 lines) Patch
M src/interpreter/bytecode-generator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden View 2 chunks +2 lines, -3 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/BasicLoops.golden View 1 2 chunks +9 lines, -10 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/JumpsRequiringConstantWideOperands.golden View 3 chunks +5 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/WideRegisters.golden View 1 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
klaasb
4 years, 4 months ago (2016-07-27 11:29:35 UTC) #9
rmcilroy
Nice, lgtm, thanks.
4 years, 4 months ago (2016-07-27 13:28:21 UTC) #12
rmcilroy
On 2016/07/27 13:28:21, rmcilroy wrote: > Nice, lgtm, thanks. nit - update title and first ...
4 years, 4 months ago (2016-07-27 13:29:21 UTC) #13
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/2187823002/20001
4 years, 4 months ago (2016-07-27 13:48:00 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-27 13:49:30 UTC) #18
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 13:52:14 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/27a9b032ab8c569d282c5db366c15b3d339c3513
Cr-Commit-Position: refs/heads/master@{#38101}

Powered by Google App Engine
This is Rietveld 408576698