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

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

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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
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 0bc9baf634e71a6d7b4f0cc316feae74c9eea666..802214c2d84f0b7e6c4277d95c02490845e9d6dd 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -973,7 +973,7 @@ abstract class Compiler implements DiagnosticListener {
// multiple times. Implement a better mechanism where we can store
// such caches in the compiler and get access to them through a
// suitably maintained static reference to the current compiler.
- SourceString.canonicalizedValues.clear();
+ StringToken.canonicalizedSubstrings.clear();
Selector.canonicalizedValues.clear();
TypedSelector.canonicalizedValues.clear();
@@ -1588,7 +1588,7 @@ bool invariant(Spannable spannable, var condition, {var message: null}) {
/**
* Global
*/
-bool isPrivateName(String s)=> !s.isEmpty && s.codeUnitAt(0) == $_;
+bool isPrivateName(String s) => !s.isEmpty && s.codeUnitAt(0) == $_;
/// A sink that drains into /dev/null.
class NullSink implements EventSink<String> {

Powered by Google App Engine
This is Rietveld 408576698