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

Issue 2826223004: [turbofan] Graph builder: reuse the one-element cache for parameters state values. (Closed)

Created:
3 years, 8 months ago by Jarin
Modified:
3 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Graph builder: reuse the one-element cache for parameters state values. Without this fix, we create a new state-values node for parameters per environment. This is especially bad for heavily branching functions. With the fix, we should only create one node per function. Drive-by: removes some unused fields for state values in the environment. BUG=v8:5267 Review-Url: https://codereview.chromium.org/2826223004 Cr-Commit-Position: refs/heads/master@{#44744} Committed: https://chromium.googlesource.com/v8/v8/+/e24206b2fa104965a850e8c1012d64697e65d45a

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -25 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 6 chunks +18 lines, -25 lines 1 comment Download

Messages

Total messages: 14 (10 generated)
Jarin
Could you take a look, please? https://codereview.chromium.org/2826223004/diff/1/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/2826223004/diff/1/src/compiler/bytecode-graph-builder.cc#newcode163 src/compiler/bytecode-graph-builder.cc:163: parameters_state_values_(other->parameters_state_values_), This line ...
3 years, 8 months ago (2017-04-20 11:54:48 UTC) #6
Michael Starzinger
LGTM.
3 years, 8 months ago (2017-04-20 13:07:49 UTC) #9
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/2826223004/1
3 years, 8 months ago (2017-04-20 13:09:40 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 13:11:22 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/e24206b2fa104965a850e8c1012d64697e6...

Powered by Google App Engine
This is Rietveld 408576698