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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 1335983004: Add ImportElement and ExportElement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index 7239a44dd6c80d2d8cb97cf548457bd19f7440cc..deef51cdc62c4421486c24eb3a5aeab05b495a65 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -3340,7 +3340,7 @@ class SsaBuilder extends ast.Visitor
String loadId =
compiler.deferredLoadTask.getImportDeferName(location, prefixElement);
HInstruction loadIdConstant = addConstantString(loadId);
- String uri = prefixElement.deferredImport.uri.dartString.slowToString();
+ String uri = prefixElement.deferredImport.uri.toString();
HInstruction uriConstant = addConstantString(uri);
Element helper = backend.getCheckDeferredIsLoaded();
pushInvokeStatic(location, helper, [loadIdConstant, uriConstant]);

Powered by Google App Engine
This is Rietveld 408576698