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

Issue 784223006: Adjust environments we attach to the block entries. (Closed)

Created:
6 years ago by Vyacheslav Egorov (Google)
Modified:
6 years ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Adjust environments we attach to the block entries. There were two bugs in the code: - we did not ensure proper outer environment on block entries after inlining; - we did not correct the 'after' environment for eager deopt There is one bug still with the infrastructure: our deoptimization stub does *not* support eager deoptimization to the after deoptimization point. I am leaving it like this for now, because we don't actually ever perform such deoptimization (i.e. even though we diligently attach these environments we don't actually use them in the instruction that can deopt). R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=42257

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -9 lines) Patch
M runtime/vm/flow_graph_builder.cc View 5 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_range_analysis.cc View 1 chunk +1 line, -0 lines 1 comment Download
M runtime/vm/intermediate_language.h View 2 chunks +9 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 2 chunks +34 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
6 years ago (2014-12-10 14:32:39 UTC) #1
Florian Schneider
LGTM. We should try to not remove environments at block entries at all. I don't ...
6 years ago (2014-12-10 15:21:54 UTC) #2
Vyacheslav Egorov (Google)
6 years ago (2014-12-10 18:32:28 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 42257 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698