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

Issue 14703005: Added Object._cid getter, optimized it. Added to (some) classes a static final _clCid. Use those to… (Closed)

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

Description

Added Object._cid getter, optimized it. Added to (some) classes a static final _clCid. Use those to test for exact type in VM's libraries. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=22695

Patch Set 1 #

Patch Set 2 : #

Total comments: 17

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -31 lines) Patch
M runtime/lib/array.dart View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M runtime/lib/object.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/lib/object_patch.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 2 3 8 chunks +13 lines, -27 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
srdjan
This CL is something that was discussed before and I wonder if that is the ...
7 years, 7 months ago (2013-05-10 23:50:01 UTC) #1
siva
https://codereview.chromium.org/14703005/diff/11/runtime/lib/array.dart File runtime/lib/array.dart (right): https://codereview.chromium.org/14703005/diff/11/runtime/lib/array.dart#newcode8 runtime/lib/array.dart:8: static final int _clCid = (new List(0))._cid; clCid seems ...
7 years, 7 months ago (2013-05-13 20:38:00 UTC) #2
Ivan Posva
LGTMwC As discussed we need a better way of creating these cids from the VMs ...
7 years, 7 months ago (2013-05-13 22:12:37 UTC) #3
srdjan
Thanks! https://codereview.chromium.org/14703005/diff/11/runtime/lib/array.dart File runtime/lib/array.dart (right): https://codereview.chromium.org/14703005/diff/11/runtime/lib/array.dart#newcode8 runtime/lib/array.dart:8: static final int _clCid = (new List(0))._cid; On ...
7 years, 7 months ago (2013-05-14 17:46:31 UTC) #4
srdjan
7 years, 7 months ago (2013-05-14 18:16:51 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as r22695 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698