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

Issue 1693843002: VM: Correctly intrinsify implicit getters/setters when using field guards (Closed)

Created:
4 years, 10 months ago by Florian Schneider
Modified:
4 years, 10 months ago
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

VM: Correctly intrinsify implicit getters/setters when using field guards The unoptimized code cannot depend on guarded cid when using code collection since it may be lazily regenerated and has to match the original version. BUG=dartbug.com/25771 R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/a6e4f35e0bcfb0206e63b834cb03b9a0c31996d7

Patch Set 1 #

Total comments: 3

Patch Set 2 : addressed comment #

Patch Set 3 : removed obsolete comment #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M runtime/vm/flow_graph_compiler.cc View 1 2 2 chunks +2 lines, -2 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
Florian Schneider
4 years, 10 months ago (2016-02-12 14:16:20 UTC) #2
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/1693843002/diff/1/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/1693843002/diff/1/runtime/vm/flow_graph_compiler.cc#newcode1088 runtime/vm/flow_graph_compiler.cc:1088: if (FLAG_precompilation && FLAG_precompilation -> !FLAG_use_field_guards? https://codereview.chromium.org/1693843002/diff/1/runtime/vm/flow_graph_compiler.cc#newcode1104 runtime/vm/flow_graph_compiler.cc:1104: ...
4 years, 10 months ago (2016-02-12 14:20:42 UTC) #3
Florian Schneider
https://codereview.chromium.org/1693843002/diff/1/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://codereview.chromium.org/1693843002/diff/1/runtime/vm/flow_graph_compiler.cc#newcode1104 runtime/vm/flow_graph_compiler.cc:1104: return true; On 2016/02/12 14:20:42, Vyacheslav Egorov (Google) wrote: ...
4 years, 10 months ago (2016-02-12 14:25:21 UTC) #5
Florian Schneider
Committed patchset #3 (id:40001) manually as a6e4f35e0bcfb0206e63b834cb03b9a0c31996d7 (presubmit successful).
4 years, 10 months ago (2016-02-12 14:26:30 UTC) #7
srdjan
4 years, 10 months ago (2016-02-12 17:03:50 UTC) #9
Message was sent while issue was closed.
DBC

https://codereview.chromium.org/1693843002/diff/40001/runtime/vm/flow_graph_c...
File runtime/vm/flow_graph_compiler.cc (right):

https://codereview.chromium.org/1693843002/diff/40001/runtime/vm/flow_graph_c...
runtime/vm/flow_graph_compiler.cc:1099: return !FLAG_use_field_guards;
It would have been helpful to add comment why it depends on field guards

Powered by Google App Engine
This is Rietveld 408576698