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

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

Issue 11624011: Mirrors implemented via patches. 2nd try. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Second attempt Created 8 years 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 | « runtime/lib/mirrors_sources.gypi ('k') | sdk/lib/_internal/compiler/implementation/lib/mirrors.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
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 1de80f07f742a4ee91d05cf2849b3efa9db58655..1f4eb4fadc5962351a068990d5b722703a49beb9 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -534,19 +534,18 @@ abstract class Compiler implements DiagnosticListener {
bool nativeTest = library.entryCompilationUnit.script.name.contains(
'dart/tests/compiler/dart2js_native');
if (nativeTest
- || libraryName == 'dart:mirrors'
|| libraryName == 'dart:math'
|| libraryName == 'dart:html'
|| libraryName == 'dart:html_common'
|| libraryName == 'dart:indexed_db'
|| libraryName == 'dart:svg'
- || libraryName == 'dart:web_audio') {
+ || libraryName == 'dart:web_audio'
+ || libraryName == 'dart:mirrors') {
ahe 2012/12/19 10:37:57 Perhaps you shouldn't move this line.
if (nativeTest
|| libraryName == 'dart:html'
|| libraryName == 'dart:html_common'
|| libraryName == 'dart:indexed_db'
- || libraryName == 'dart:svg'
- || libraryName == 'dart:mirrors') {
+ || libraryName == 'dart:svg') {
// dart:html and dart:svg need access to convertDartClosureToJS and
// annotation classes.
// dart:mirrors needs access to the Primitives class.
« no previous file with comments | « runtime/lib/mirrors_sources.gypi ('k') | sdk/lib/_internal/compiler/implementation/lib/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698