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

Issue 16780009: When canonicalize instances check if all fields are canonical. If a field is a non-canonical number… (Closed)

Created:
7 years, 6 months ago by srdjan
Modified:
7 years, 6 months ago
Reviewers:
hausner, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

When canonicalize instances check if all fields are canonical. If a field is a non-canonical number or strings, canonicalize it. Otherwise report an error if a field is not canonical. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=23934

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -34 lines) Patch
M runtime/vm/dart_entry.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 5 chunks +17 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 2 chunks +32 lines, -2 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 5 7 chunks +24 lines, -18 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tests/co19/co19-runtime.status View 1 2 3 4 5 1 chunk +1 line, -4 lines 0 comments Download
A tests/language/canonical_const3_test.dart View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Ivan Posva
Can you explain what you mean by missing canonicalization of closures? Thanks, -Ivan
7 years, 6 months ago (2013-06-11 21:53:03 UTC) #1
srdjan
On 2013/06/11 21:53:03, Ivan Posva wrote: > Can you explain what you mean by missing ...
7 years, 6 months ago (2013-06-11 22:26:40 UTC) #2
srdjan
7 years, 6 months ago (2013-06-11 22:26:52 UTC) #3
srdjan
On 2013/06/11 22:26:52, srdjan wrote: Correction, they actually are... adapting code.
7 years, 6 months ago (2013-06-11 22:29:21 UTC) #4
hausner
Almost LGTM https://codereview.chromium.org/16780009/diff/17001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16780009/diff/17001/runtime/vm/object.cc#newcode53 runtime/vm/object.cc:53: DEFINE_FLAG(bool, report_incorrect_const_objects, true, Why do we need ...
7 years, 6 months ago (2013-06-11 23:29:24 UTC) #5
srdjan
Thanks. https://codereview.chromium.org/16780009/diff/17001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16780009/diff/17001/runtime/vm/object.cc#newcode53 runtime/vm/object.cc:53: DEFINE_FLAG(bool, report_incorrect_const_objects, true, On 2013/06/11 23:29:24, hausner wrote: ...
7 years, 6 months ago (2013-06-12 00:22:22 UTC) #6
Ivan Posva
https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc#newcode9100 runtime/vm/object.cc:9100: if ((cls.id() >= kNumPredefinedCids) || cls.IsArray()) { Why are ...
7 years, 6 months ago (2013-06-12 15:22:15 UTC) #7
srdjan
https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc#newcode9100 runtime/vm/object.cc:9100: if ((cls.id() >= kNumPredefinedCids) || cls.IsArray()) { On 2013/06/12 ...
7 years, 6 months ago (2013-06-12 16:04:18 UTC) #8
hausner
LGTM.
7 years, 6 months ago (2013-06-12 16:58:52 UTC) #9
srdjan
https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/16780009/diff/26001/runtime/vm/object.cc#newcode9101 runtime/vm/object.cc:9101: // Iterate over all fields, canonicalize numbers and strings, ...
7 years, 6 months ago (2013-06-12 21:27:28 UTC) #10
srdjan
7 years, 6 months ago (2013-06-12 21:27:43 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r23934 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698