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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 23766002: Work around runtime engine deficiencies. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 26873)
+++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy)
@@ -398,6 +398,9 @@
/// Initialized when dart:mirrors is loaded.
LibraryElement mirrorsLibrary;
+ /// Initialized when dart:typed_data is loaded.
+ LibraryElement typedDataLibrary;
+
ClassElement objectClass;
ClassElement closureClass;
ClassElement boundClosureClass;
@@ -414,6 +417,7 @@
ClassElement mapClass;
ClassElement symbolClass;
ClassElement stackTraceClass;
+ ClassElement typedDataClass;
// Initialized after mirrorSystemClass has been resolved.
FunctionElement symbolConstructor;
@@ -769,6 +773,10 @@
findRequiredElement(library, const SourceString('MirrorSystem'));
mirrorsUsedClass =
findRequiredElement(library, const SourceString('MirrorsUsed'));
+ } else if (uri == new Uri(scheme: 'dart', path: 'typed_data')) {
+ typedDataLibrary = library;
+ typedDataClass =
+ findRequiredElement(library, const SourceString('TypedData'));
} else if (uri == new Uri(scheme: 'dart', path: '_collection-dev')) {
symbolImplementationClass =
findRequiredElement(library, const SourceString('Symbol'));
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/js_backend/backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698