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

Issue 10870064: Use patching for Expando so the implementation-specific files are not needed in the SDK. (Closed)

Created:
8 years, 4 months ago by Mads Ager (google)
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Use patching for Expando so the implementation-specific files are not needed in the SDK. Make extra methods private in VM version. R=ajohnsen@google.com,cshapiro@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11369

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding missing file #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -171 lines) Patch
M corelib/src/expando.dart View 1 chunk +1 line, -1 line 1 comment Download
M corelib/src/implementation/corelib_impl_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A corelib/src/implementation/expando.dart View 1 1 chunk +11 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/coreimpl.dart View 1 chunk +1 line, -0 lines 0 comments Download
M lib/compiler/implementation/lib/coreimpl_patch.dart View 1 chunk +33 lines, -0 lines 0 comments Download
M lib/compiler/implementation/lib/mock.dart View 1 chunk +0 lines, -40 lines 0 comments Download
D runtime/lib/expando_impl.dart View 1 chunk +0 lines, -98 lines 0 comments Download
A + runtime/lib/expando_patch.dart View 4 chunks +18 lines, -24 lines 0 comments Download
M runtime/lib/lib_impl_sources.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/lib/lib_sources.gypi View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/object.cc View 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (google)
Carl, could you have a look at the comment in object.cc? https://chromiumcodereview.appspot.com/10870064/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): ...
8 years, 4 months ago (2012-08-24 11:15:23 UTC) #1
Anders Johnsen
LGTM, very nice.
8 years, 4 months ago (2012-08-24 12:07:27 UTC) #2
cshapiro
lgtm https://chromiumcodereview.appspot.com/10870064/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://chromiumcodereview.appspot.com/10870064/diff/1/runtime/vm/object.cc#newcode636 runtime/vm/object.cc:636: pending_classes.Add(cls, Heap::kOld); I believe you have done the ...
8 years, 4 months ago (2012-08-25 03:18:28 UTC) #3
Ivan Posva
https://chromiumcodereview.appspot.com/10870064/diff/3002/corelib/src/expando.dart File corelib/src/expando.dart (right): https://chromiumcodereview.appspot.com/10870064/diff/3002/corelib/src/expando.dart#newcode8 corelib/src/expando.dart:8: interface Expando<T> default ExpandoImplementation<T> { Why this extra indirection? ...
8 years, 3 months ago (2012-08-27 21:16:21 UTC) #4
Mads Ager (google)
8 years, 3 months ago (2012-08-28 06:01:40 UTC) #5
On 2012/08/27 21:16:21, Ivan Posva wrote:
>
https://chromiumcodereview.appspot.com/10870064/diff/3002/corelib/src/expando...
> File corelib/src/expando.dart (right):
> 
>
https://chromiumcodereview.appspot.com/10870064/diff/3002/corelib/src/expando...
> corelib/src/expando.dart:8: interface Expando<T> default
> ExpandoImplementation<T> {
> Why this extra indirection?
> 
> class Expando<T> {
> 
>   external ...
> 
> }

To avoid patching corelib. We can do it the other way as well if you prefer. At
this point there is a lot of indirection through coreimpl and we can clean that
up.

Powered by Google App Engine
This is Rietveld 408576698