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

Issue 351673002: Add class id constants fields to dart:_internal class 'ClassID'. Use the fields in the library (mor… (Closed)

Created:
6 years, 6 months ago by srdjan
Modified:
6 years, 6 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Add class id constants fields to dart:_internal class 'ClassID'. Use the fields in the library (more uses to come). R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37628

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -45 lines) Patch
M runtime/lib/array.dart View 1 2 3 chunks +1 line, -3 lines 0 comments Download
M runtime/lib/double_patch.dart View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 3 4 10 chunks +15 lines, -20 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 1 chunk +0 lines, -12 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M runtime/vm/symbols.h View 1 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 5 (0 generated)
srdjan
6 years, 6 months ago (2014-06-23 20:48:45 UTC) #1
siva
LGTM with some comments. https://codereview.chromium.org/351673002/diff/60001/runtime/lib/growable_array.dart File runtime/lib/growable_array.dart (right): https://codereview.chromium.org/351673002/diff/60001/runtime/lib/growable_array.dart#newcode19 runtime/lib/growable_array.dart:19: if (ClassID.getID(index) != ClassID.cidSmi) throw ...
6 years, 6 months ago (2014-06-23 21:23:31 UTC) #2
srdjan
https://codereview.chromium.org/351673002/diff/60001/runtime/lib/growable_array.dart File runtime/lib/growable_array.dart (right): https://codereview.chromium.org/351673002/diff/60001/runtime/lib/growable_array.dart#newcode19 runtime/lib/growable_array.dart:19: if (ClassID.getID(index) != ClassID.cidSmi) throw new ArgumentError(index); On 2014/06/23 ...
6 years, 6 months ago (2014-06-23 22:27:36 UTC) #3
srdjan
Committed patchset #5 manually as r37628 (presubmit successful).
6 years, 6 months ago (2014-06-23 22:42:05 UTC) #4
Florian Schneider
6 years, 6 months ago (2014-06-24 09:39:00 UTC) #5
Message was sent while issue was closed.
dbc:

https://codereview.chromium.org/351673002/diff/80001/runtime/vm/symbols.h
File runtime/vm/symbols.h (left):

https://codereview.chromium.org/351673002/diff/80001/runtime/vm/symbols.h#old...
runtime/vm/symbols.h:319: V(ClassId, "get:_classId")                            
                      \
Another example of a change that changes the snapshot format, but unsurprisingly
did not require regenerating the binary snapshot test that's supposed to
indicate changes in the snapshot format.

Powered by Google App Engine
This is Rietveld 408576698