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

Side by Side Diff: lib/runtime/dart/typed_data.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart_library.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart.library('dart/typed_data', null, /* Imports */[ 1 dart_library.library('dart/typed_data', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 'dart/_native_typed_data' 5 'dart/_native_typed_data'
5 ], function(exports, core, _native_typed_data) { 6 ], function(exports, dart, core, _native_typed_data) {
6 'use strict'; 7 'use strict';
8 let dartx = dart.dartx;
7 class ByteBuffer extends core.Object {} 9 class ByteBuffer extends core.Object {}
8 class TypedData extends core.Object {} 10 class TypedData extends core.Object {}
9 let _littleEndian = Symbol('_littleEndian'); 11 let _littleEndian = Symbol('_littleEndian');
10 class Endianness extends core.Object { 12 class Endianness extends core.Object {
11 _(littleEndian) { 13 _(littleEndian) {
12 this[_littleEndian] = littleEndian; 14 this[_littleEndian] = littleEndian;
13 } 15 }
14 } 16 }
15 dart.defineNamedConstructor(Endianness, '_'); 17 dart.defineNamedConstructor(Endianness, '_');
16 dart.setSignature(Endianness, { 18 dart.setSignature(Endianness, {
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 exports.Uint64List = Uint64List; 974 exports.Uint64List = Uint64List;
973 exports.Float32List = Float32List; 975 exports.Float32List = Float32List;
974 exports.Float64List = Float64List; 976 exports.Float64List = Float64List;
975 exports.Float32x4List = Float32x4List; 977 exports.Float32x4List = Float32x4List;
976 exports.Int32x4List = Int32x4List; 978 exports.Int32x4List = Int32x4List;
977 exports.Float64x2List = Float64x2List; 979 exports.Float64x2List = Float64x2List;
978 exports.Float32x4 = Float32x4; 980 exports.Float32x4 = Float32x4;
979 exports.Int32x4 = Int32x4; 981 exports.Int32x4 = Int32x4;
980 exports.Float64x2 = Float64x2; 982 exports.Float64x2 = Float64x2;
981 }); 983 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/math.js ('k') | lib/runtime/dart_library.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698