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

Side by Side Diff: tests/lib/typed_data/float32x4_unbox_regress_test.dart

Issue 14426006: Rename dart:typeddata to dart:typed_data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « tests/lib/typed_data/float32x4_test.dart ('k') | tests/lib/typeddata/float32x4_list_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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=--deoptimization_counter_threshold=1000 4 // VMOptions=--deoptimization_counter_threshold=1000
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 float32x4_unbox_regress_test; 7 library float32x4_unbox_regress_test;
8 8
9 import 'package:expect/expect.dart'; 9 import 'package:expect/expect.dart';
10 import 'dart:typeddata'; 10 import 'dart:typed_data';
11 11
12 testListStore(array, index, value) { 12 testListStore(array, index, value) {
13 array[index] = value; 13 array[index] = value;
14 } 14 }
15 15
16 void testListStoreDeopt() { 16 void testListStoreDeopt() {
17 var list; 17 var list;
18 var value = new Float32x4(1.0, 2.0, 3.0, 4.0); 18 var value = new Float32x4(1.0, 2.0, 3.0, 4.0);
19 var smi = 12; 19 var smi = 12;
20 list = new Float32x4List(8); 20 list = new Float32x4List(8);
(...skipping 26 matching lines...) Expand all
47 47
48 try { 48 try {
49 testAdd(a, smi); 49 testAdd(a, smi);
50 } catch (_) {} 50 } catch (_) {}
51 } 51 }
52 52
53 main() { 53 main() {
54 testListStoreDeopt(); 54 testListStoreDeopt();
55 testAddDeopt(); 55 testAddDeopt();
56 } 56 }
OLDNEW
« no previous file with comments | « tests/lib/typed_data/float32x4_test.dart ('k') | tests/lib/typeddata/float32x4_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698