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

Issue 701793002: Fix a bug in the handling of Phi nodes. (Closed)

Created:
6 years, 1 month ago by herhut
Modified:
6 years, 1 month ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -8 lines) Patch
M sdk/lib/_internal/compiler/implementation/inferrer/concrete_types_inferrer.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart View 2 chunks +11 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart View 1 3 chunks +23 lines, -7 lines 0 comments Download
A tests/compiler/dart2js_extra/21351_test.dart View 1 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
herhut
The addition of allocateLoopPhi is not necessary to fix the bug but makes the [isLoop] ...
6 years, 1 month ago (2014-11-04 09:30:19 UTC) #2
karlklose
LGTM. https://codereview.chromium.org/701793002/diff/1/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart File sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/701793002/diff/1/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart#newcode454 sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart:454: PhiElementTypeInformation result = Consider adding a helper _addPhi(member, ...
6 years, 1 month ago (2014-11-04 09:47:04 UTC) #3
herhut
I have also moved the test to dart2js_extra. https://codereview.chromium.org/701793002/diff/1/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart File sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/701793002/diff/1/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart#newcode454 sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart:454: PhiElementTypeInformation ...
6 years, 1 month ago (2014-11-04 10:15:40 UTC) #6
karlklose
On 2014/11/04 10:15:40, herhut wrote: > I have also moved the test to dart2js_extra. > ...
6 years, 1 month ago (2014-11-04 10:20:26 UTC) #7
herhut
6 years, 1 month ago (2014-11-04 10:26:38 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:60001) manually as 41480 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698