8dca2f344c
The CL [0] caused a bug since it was not safe to re-use type propagation information after certain optimizations. The winden-to-int32 is one such optimization we found and we'll for now clear out the type information on use sites explicitly after doing the widening. (Hopefully there are no other optimizations causing the type propagation information to be no longer up-to-date.) [0] https://github.com/dart-lang/sdk/commit/3cc0cea37e56bc5c590905f2da4bc5d9db9d73e6 Fixes https://github.com/dart-lang/sdk/issues/31114 Change-Id: I4c2ead9571c4007e8dbef3c0591cc836d71de35d Reviewed-on: https://dart-review.googlesource.com/14060 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
10 lines
355 B
Dart
10 lines
355 B
Dart
// Copyright (c) 2017, 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.
|
|
|
|
/// VMOptions=--background-compilation=false --optimization-counter-threshold=20
|
|
|
|
import 'pow_test.dart' as test;
|
|
|
|
main() => test.main();
|