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

Issue 1963683003: Remove the LoadLocal used at the end of a temp local scope. (Closed)

Created:
4 years, 7 months ago by Kevin Millikin (Google)
Modified:
4 years, 7 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove the LoadLocal used at the end of a temp local scope. The previous pattern was: 1. FP-relative load of the top of the stack 2. Push #1 3. Pop 4. Pop 5. Push #3 Where #5 was omitted when the value was unused. The new pattern is: 1. Pop 2. Push #1 Where #2 is omitted when the value is unused. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/f26e70ad3e420decbe3e783624f415fe69af9361

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -36 lines) Patch
M runtime/vm/flow_graph_builder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 16 chunks +23 lines, -34 lines 1 comment Download

Messages

Total messages: 6 (2 generated)
Kevin Millikin (Google)
https://codereview.chromium.org/1963683003/diff/1/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/1963683003/diff/1/runtime/vm/flow_graph_builder.cc#newcode2260 runtime/vm/flow_graph_builder.cc:2260: return new(Z) DropTempsInstr(0, value); We can eliminate this Drop ...
4 years, 7 months ago (2016-05-10 08:19:47 UTC) #2
Florian Schneider
Lgtm!
4 years, 7 months ago (2016-05-10 08:27:05 UTC) #3
Florian Schneider
Should I land this for you?
4 years, 7 months ago (2016-05-19 10:32:45 UTC) #4
Kevin Millikin (Google)
4 years, 7 months ago (2016-05-20 10:40:16 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f26e70ad3e420decbe3e783624f415fe69af9361 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698