Chromium Code Reviews| Index: tests/language/inline_add_constants_to_initial_env.dart |
| diff --git a/tests/language/inline_add_constants_to_initial_env.dart b/tests/language/inline_add_constants_to_initial_env.dart |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..23e1b0d03fb16bc15ef75874026817cc257613af |
| --- /dev/null |
| +++ b/tests/language/inline_add_constants_to_initial_env.dart |
| @@ -0,0 +1,15 @@ |
| +// Copyright (c) 2012, 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. |
| +// Test that SSA values are correctly numbered after inlining that adds constants |
|
Kevin Millikin (Google)
2012/11/13 00:48:29
I guess this is a long line. Suggest // NOLINT or
|
| +// to original environment. |
| + |
| +h(x, y) => x == y; |
| + |
| +g(y, [x0 = 0, x1 = 1, x2 = 2, x3 = 3]) => y + x0 + x1 + x2 + x3; |
| + |
| +f(y) => h(y, g(y)); |
| + |
| +main() { |
| + for (var i = 0; i < 1000; i++) f(i); |
| +} |