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

Issue 18055004: Fix a bug in allocation sinking and load elimination. (Closed)

Created:
7 years, 5 months ago by Florian Schneider
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix a bug in allocation sinking and load elimination. 1. Aliasing information was not computed for allocations that are never used in a LoadField instruction. 2. CanBeAliased was not correct in the case of a StoreVMField. BUG=https://code.google.com/p/dart/issues/detail?id=11538 TEST=runtime/vm/flow_graph_optimizer.cc R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=24515

Patch Set 1 #

Total comments: 1

Patch Set 2 : improved unit test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -37 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 5 chunks +33 lines, -37 lines 1 comment Download
M tests/language/allocation_sinking_vm_test.dart View 1 2 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Florian Schneider
https://codereview.chromium.org/18055004/diff/1/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/18055004/diff/1/runtime/vm/flow_graph_optimizer.cc#newcode4062 runtime/vm/flow_graph_optimizer.cc:4062: (instr->IsStoreVMField() && (use->use_index() != 1)) || This function became ...
7 years, 5 months ago (2013-06-27 13:03:40 UTC) #1
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/18055004/diff/4001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/18055004/diff/4001/runtime/vm/flow_graph_optimizer.cc#newcode4062 runtime/vm/flow_graph_optimizer.cc:4062: (instr->IsStoreVMField() && (use->use_index() != 1)) || Good catch!
7 years, 5 months ago (2013-06-27 13:15:45 UTC) #2
Florian Schneider
7 years, 5 months ago (2013-06-27 13:26:29 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r24515 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698