mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:31:20 +00:00
54a7410866
CHA is not only used with the receiver class, but also with other classes when doing type propagation. The optimized code has to be registered with all classes that are affected by CHA so that deoptimization occurs whenever the set of subclasses changes for these classes. R=vegorov@google.com Review URL: https://codereview.chromium.org//463103002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39194 260f80e4-7a28-3924-810f-c04153c831b5
13 lines
261 B
Dart
13 lines
261 B
Dart
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
library mylib;
|
|
|
|
class T {
|
|
|
|
m() => 42;
|
|
|
|
}
|
|
|