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

Unified Diff: lib/compiler/implementation/ssa/builder.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/builder.dart
===================================================================
--- lib/compiler/implementation/ssa/builder.dart (revision 11226)
+++ lib/compiler/implementation/ssa/builder.dart (working copy)
@@ -3582,14 +3582,7 @@
}
void visitSend(Node node) {
- Element element = elements[node];
- // Native methods rely on the names of the arguments. If we inline they
- // could change.
- if (!Element.isInvalid(element) && element.kind == ElementKind.FOREIGN) {
- tooDifficult = true;
- } else {
- node.visitChildren(this);
- }
+ node.visitChildren(this);
}
visitLoop(Node node) {

Powered by Google App Engine
This is Rietveld 408576698