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

Unified Diff: dart/frog/leg/compiler.dart

Issue 9719019: Launch Leg independently of Frog. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address own comment Created 8 years, 9 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 | « dart/frog/leg/colors.dart ('k') | dart/frog/leg/leg.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/compiler.dart
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
index 7751b8b997d240d79899e348624a182b5587c12f..648b2951a1668bcdab5e6bc137033cd0d32bf4b0 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -91,11 +91,6 @@ class Compiler implements DiagnosticListener {
static final SourceString CLOSURE = const SourceString('Closure');
bool enabledNoSuchMethod = false;
- static final String GREEN_COLOR = '\u001b[32m';
- static final String RED_COLOR = '\u001b[31m';
- static final String MAGENTA_COLOR = '\u001b[35m';
- static final String NO_COLOR = '\u001b[0m';
-
Compiler.withCurrentDirectory(String this.currentDirectory,
[this.tracer = const Tracer()])
: types = new Types(),
@@ -119,10 +114,6 @@ class Compiler implements DiagnosticListener {
emitter, constantHandler, enqueuer];
}
- green(String string) => "${GREEN_COLOR}$string${NO_COLOR}";
- red(String string) => "${RED_COLOR}$string${NO_COLOR}";
- magenta(String string) => "${MAGENTA_COLOR}$string${NO_COLOR}";
-
void ensure(bool condition) {
if (!condition) cancel('failed assertion in leg');
}
« no previous file with comments | « dart/frog/leg/colors.dart ('k') | dart/frog/leg/leg.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698