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

Side by Side Diff: runtime/tests/vm/dart/byte_array_test.dart

Issue 566853005: Fix to allocation stub invalidation: we cannot just remove it as it will be collected even though c… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/object.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--optimization_counter_threshold=10 4 // VMOptions=--optimization_counter_threshold=10 --disable_alloc_stubs_after_gc
5 5
6 // Library tag to be able to run in html test framework. 6 // Library tag to be able to run in html test framework.
7 library byte_array_test; 7 library byte_array_test;
8 8
9 import "package:expect/expect.dart"; 9 import "package:expect/expect.dart";
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
11 11
12 class ByteArrayTest { 12 class ByteArrayTest {
13 static testInt8ListImpl(Int8List array) { 13 static testInt8ListImpl(Int8List array) {
14 Expect.isTrue(array is List<int>); 14 Expect.isTrue(array is List<int>);
(...skipping 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 testInt64ListView(); 2374 testInt64ListView();
2375 testUint64ListView(); 2375 testUint64ListView();
2376 testFloat32ListView(); 2376 testFloat32ListView();
2377 testFloat64ListView(); 2377 testFloat64ListView();
2378 2378
2379 testByteList(); 2379 testByteList();
2380 } 2380 }
2381 } 2381 }
2382 2382
2383 main() { 2383 main() {
2384 for (var i=0; i<20; i++) { 2384 for (var i=0; i<20; i++) {
koda 2014/09/15 14:59:12 This test might be substantially slower now; if yo
srdjan 2014/09/15 23:39:59 Slow down is not measurable in debug mode. The inv
2385 ByteArrayTest.testMain(); 2385 ByteArrayTest.testMain();
2386 } 2386 }
2387 } 2387 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698