blob: c46f63b00908c71dff5e1da449bcddd1da0c926b [file] [log] [blame]
// 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=--optimization-counter-threshold=10 --no-use-osr --no-background-compilation
@pragma('vm:never-inline')
foo(n) {
try {
return new List<dynamic>.filled(n, null);
} catch (e) {}
}
main() {
for (var i = 0; i < 20; i++) {
foo(5);
}
foo("");
}