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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 11365196: Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix two pending TODO's. Created 8 years, 1 month 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
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index 1d0eb2852d10b0bc68bdac262869ef47d33dd6c3..6e0b766204d0447b41e2be430aab3db9baab99bd 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -1180,15 +1180,6 @@ public class DartCompiler {
DartCompilerListener listener) throws IOException {
DartCompilerMainContext context = new DartCompilerMainContext(lib, provider, listener,
config);
- if (config.getCompilerOptions().shouldExposeCoreImpl()) {
- if (embeddedLibraries == null) {
- embeddedLibraries = Lists.newArrayList();
- }
- // use a place-holder LibrarySource instance, to be replaced when embedded
- // in the compiler, where the dart uri can be resolved.
- embeddedLibraries.add(new NamedPlaceHolderLibrarySource("dart:core"));
- }
-
new Compiler(lib, embeddedLibraries, config, context).compile();
int errorCount = context.getErrorCount();
if (config.typeErrorsAreFatal()) {

Powered by Google App Engine
This is Rietveld 408576698