dart-sdk/tests/standalone_2/regress31114_test.dart
Martin Kustermann 8dca2f344c Clear flow graph type propagator information when winden-to-int32
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] 3cc0cea37e


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>
2017-10-16 18:23:47 +00:00

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();