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

Unified Diff: lib/compiler/implementation/ssa/codegen.dart

Issue 10828416: Small changes to get the compilation size of code importing dart:html shorter. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
Index: lib/compiler/implementation/ssa/codegen.dart
===================================================================
--- lib/compiler/implementation/ssa/codegen.dart (revision 11028)
+++ lib/compiler/implementation/ssa/codegen.dart (working copy)
@@ -2048,6 +2048,11 @@
interceptor.inputs[2].isString(types)) {
return '+';
}
+ if (name == const SourceString('split') &&
+ arity == 1 &&
+ interceptor.inputs[2].isString(types)) {
+ return 'split';
+ }
}
return null;

Powered by Google App Engine
This is Rietveld 408576698