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

Side by Side Diff: sdk/lib/_internal/libraries.dart

Issue 12827018: Add a new implementation of HashMap that uses JS objects for its (multiple) hash tables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove type. 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
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 4
5 library libraries; 5 library libraries;
6 6
7 /** 7 /**
8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js
9 */ 9 */
10 const int DART2JS_PLATFORM = 1; 10 const int DART2JS_PLATFORM = 1;
(...skipping 12 matching lines...) Expand all
23 const Map<String, LibraryInfo> LIBRARIES = const { 23 const Map<String, LibraryInfo> LIBRARIES = const {
24 24
25 "async": const LibraryInfo( 25 "async": const LibraryInfo(
26 "async/async.dart", 26 "async/async.dart",
27 dart2jsPatchPath: "_internal/compiler/implementation/lib/async_patch.dart" ), 27 dart2jsPatchPath: "_internal/compiler/implementation/lib/async_patch.dart" ),
28 28
29 "chrome": const LibraryInfo( 29 "chrome": const LibraryInfo(
30 "chrome/dart2js/chrome_dart2js.dart", 30 "chrome/dart2js/chrome_dart2js.dart",
31 category: "Client"), 31 category: "Client"),
32 32
33 "collection": const LibraryInfo("collection/collection.dart"), 33 "collection": const LibraryInfo(
34 "collection/collection.dart",
35 dart2jsPatchPath: "_internal/compiler/implementation/lib/collection_patch. dart"),
34 36
35 "core": const LibraryInfo( 37 "core": const LibraryInfo(
36 "core/core.dart", 38 "core/core.dart",
37 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart") , 39 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart") ,
38 40
39 "crypto": const LibraryInfo( 41 "crypto": const LibraryInfo(
40 "crypto/crypto.dart"), 42 "crypto/crypto.dart"),
41 43
42 "html": const LibraryInfo( 44 "html": const LibraryInfo(
43 "html/dartium/html_dartium.dart", 45 "html/dartium/html_dartium.dart",
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 this.category: "Shared", 196 this.category: "Shared",
195 this.dart2jsPath, 197 this.dart2jsPath,
196 this.dart2jsPatchPath, 198 this.dart2jsPatchPath,
197 this.implementation: false, 199 this.implementation: false,
198 this.documented: true, 200 this.documented: true,
199 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 201 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
200 202
201 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 203 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
202 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 204 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
203 } 205 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/lib/core_patch.dart ('k') | sdk/lib/collection/hash_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698