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

Issue 1914623002: Fix for issue 26243 - illegal motion of assignments in instruction merging (Closed)

Created:
4 years, 8 months ago by sra1
Modified:
4 years, 8 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix for issue 26243 - illegal motion of assignments in instruction merging Fix by treating some HLocalGet instructions as pure and others as impure. Simply making HLocalGet impure caused a lot of code quality regressions with the single-assignment exception and stack-trace variables. R=kmillikin@google.com, sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/e9b06a9cd7e41c80b1a60cb20ea45f21b46ac40f Reverted: https://github.com/dart-lang/sdk/commit/5fd51e63400c9e201ced8835c1d2c3c7924be975 Committed: https://github.com/dart-lang/sdk/commit/7684794b8bba015d9b884cde6c8bcd62c909d069

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : baseline #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -14 lines) Patch
M pkg/compiler/lib/src/ssa/codegen_helpers.dart View 5 chunks +23 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 1 2 3 4 1 chunk +3 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/ssa/types_propagation.dart View 1 2 3 4 1 chunk +14 lines, -2 lines 0 comments Download
A tests/compiler/dart2js_extra/26243_test.dart View 1 2 3 4 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
sra1
4 years, 8 months ago (2016-04-22 18:31:32 UTC) #2
Florian Schneider
dbc: https://codereview.chromium.org/1914623002/diff/1/pkg/compiler/lib/src/ssa/codegen_helpers.dart File pkg/compiler/lib/src/ssa/codegen_helpers.dart (right): https://codereview.chromium.org/1914623002/diff/1/pkg/compiler/lib/src/ssa/codegen_helpers.dart#newcode389 pkg/compiler/lib/src/ssa/codegen_helpers.dart:389: if (instruction is HLocalGet) return !isAssignedLocal(instruction.local); I don't ...
4 years, 8 months ago (2016-04-22 20:39:09 UTC) #4
sra1
https://codereview.chromium.org/1914623002/diff/1/pkg/compiler/lib/src/ssa/codegen_helpers.dart File pkg/compiler/lib/src/ssa/codegen_helpers.dart (right): https://codereview.chromium.org/1914623002/diff/1/pkg/compiler/lib/src/ssa/codegen_helpers.dart#newcode389 pkg/compiler/lib/src/ssa/codegen_helpers.dart:389: if (instruction is HLocalGet) return !isAssignedLocal(instruction.local); On 2016/04/22 20:39:08, ...
4 years, 8 months ago (2016-04-22 21:03:55 UTC) #5
Kevin Millikin (Google)
LGTM.
4 years, 8 months ago (2016-04-25 07:58:53 UTC) #6
Siggi Cherem (dart-lang)
lgtm
4 years, 8 months ago (2016-04-25 15:13:12 UTC) #7
sra1
Committed patchset #3 (id:40001) manually as e9b06a9cd7e41c80b1a60cb20ea45f21b46ac40f (presubmit successful).
4 years, 8 months ago (2016-04-25 17:20:39 UTC) #9
sra1
4 years, 8 months ago (2016-04-26 22:26:51 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
7684794b8bba015d9b884cde6c8bcd62c909d069 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698