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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 14531008: Added SIMD stubs for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev'; 6 import 'dart:_collection-dev';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 29524 matching lines...) Expand 10 before | Expand all | Expand 10 after
29535 static _get(p, m) => JS('var', '#[#]', p, m); 29535 static _get(p, m) => JS('var', '#[#]', p, m);
29536 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v); 29536 static _set(p, m, v) => JS('void', '#[#] = #', p, m, v);
29537 } 29537 }
29538 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 29538 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
29539 // for details. All rights reserved. Use of this source code is governed by a 29539 // for details. All rights reserved. Use of this source code is governed by a
29540 // BSD-style license that can be found in the LICENSE file. 29540 // BSD-style license that can be found in the LICENSE file.
29541 29541
29542 29542
29543 class Platform { 29543 class Platform {
29544 static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)'); 29544 static final supportsTypedData = JS('bool', '!!(window.ArrayBuffer)');
29545 static final supportsSimd = false;
blois 2013/04/29 22:01:01 Can you add doc comments for this?
vsm 2013/04/29 23:55:39 Done.
29545 } 29546 }
29546 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 29547 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
29547 // for details. All rights reserved. Use of this source code is governed by a 29548 // for details. All rights reserved. Use of this source code is governed by a
29548 // BSD-style license that can be found in the LICENSE file. 29549 // BSD-style license that can be found in the LICENSE file.
29549 29550
29550 29551
29551 // Iterator for arrays with fixed size. 29552 // Iterator for arrays with fixed size.
29552 class FixedSizeListIterator<T> implements Iterator<T> { 29553 class FixedSizeListIterator<T> implements Iterator<T> {
29553 final List<T> _array; 29554 final List<T> _array;
29554 final int _length; // Cache array length for faster access. 29555 final int _length; // Cache array length for faster access.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
29592 _position = nextPosition; 29593 _position = nextPosition;
29593 return true; 29594 return true;
29594 } 29595 }
29595 _current = null; 29596 _current = null;
29596 _position = _array.length; 29597 _position = _array.length;
29597 return false; 29598 return false;
29598 } 29599 }
29599 29600
29600 T get current => _current; 29601 T get current => _current;
29601 } 29602 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | sdk/lib/typed_data/dart2js/typed_data_dart2js.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698