Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Side by Side Diff: tests/language/vm/create_array_instr_deopt_test.dart

Issue 2900963008: Reapply "Shuffle around deopt id allocation... (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--optimization-counter-threshold=10 --no-use-osr --no-background-co mpilation --enable_inlining_annotations
5
6 const NeverInline = "NeverInline";
7
8 @NeverInline
9 foo(n) {
10 try {
11 return new List(n);
12 } catch (e) {}
13 }
14
15 main() {
16 for (var i = 0; i < 20; i++) {
17 foo(5);
18 }
19 foo("");
20 }
OLDNEW
« runtime/vm/flow_graph_inliner.cc ('K') | « tests/language/vm/create_array_instr_deopt2_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698