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

Issue 11367044: Merged String subclasses into String. (Closed)

Created:
8 years, 1 month ago by Tom Ball
Modified:
8 years, 1 month ago
Reviewers:
cshapiro, siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Merged String subclasses into String. Merged String subclasses (OneByteString, etc.) into String, keeping their raw types. This allows String handles to continue to point to a String after its raw type is changed, such as to make its data external. BUG= Committed: https://code.google.com/p/dart/source/detail?r=14545

Patch Set 1 #

Total comments: 51

Patch Set 2 : Code review response #

Patch Set 3 : Removed unnecessary scope. #

Total comments: 29

Patch Set 4 : Fixes from last code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+476 lines, -354 lines) Patch
M runtime/vm/dart_api_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 3 15 chunks +173 lines, -76 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 35 chunks +195 lines, -178 lines 0 comments Download
M runtime/vm/object_test.cc View 18 chunks +62 lines, -62 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 9 chunks +24 lines, -18 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 5 chunks +15 lines, -15 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/symbols.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Tom Ball
8 years, 1 month ago (2012-11-01 21:55:26 UTC) #1
siva
Initial comments. I was unable to add any comments to object.cc So I have tried ...
8 years, 1 month ago (2012-11-02 01:15:25 UTC) #2
Tom Ball
All done, I think. The string raw classes extend AllStatic, CharAddr use is restored to ...
8 years, 1 month ago (2012-11-02 23:31:50 UTC) #3
siva
Some minor comments. http://codereview.chromium.org/11367044/diff/7001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11367044/diff/7001/runtime/vm/dart_api_impl.cc#newcode145 runtime/vm/dart_api_impl.cc:145: CLASS_LIST_NO_OBJECT_WITH_STRING(DEFINE_UNWRAP) Ditto comment about readability of ...
8 years, 1 month ago (2012-11-05 19:23:38 UTC) #4
cshapiro
http://codereview.chromium.org/11367044/diff/7001/runtime/vm/object.cc File runtime/vm/object.cc (right): http://codereview.chromium.org/11367044/diff/7001/runtime/vm/object.cc#newcode9803 runtime/vm/object.cc:9803: intptr_t class_id = raw()->GetClassId(); DBC - there are 3 ...
8 years, 1 month ago (2012-11-05 19:40:13 UTC) #5
Tom Ball
http://codereview.chromium.org/11367044/diff/7001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/11367044/diff/7001/runtime/vm/dart_api_impl.cc#newcode145 runtime/vm/dart_api_impl.cc:145: CLASS_LIST_NO_OBJECT_WITH_STRING(DEFINE_UNWRAP) On 2012/11/05 19:23:38, siva wrote: > Ditto comment ...
8 years, 1 month ago (2012-11-05 21:22:41 UTC) #6
siva
8 years, 1 month ago (2012-11-05 22:00:13 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698