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

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

Issue 10826045: Substitution handled for most Send nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « lib/compiler/implementation/ssa/codegen.dart ('k') | lib/compiler/implementation/tree/nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/ssa/ssa.dart
diff --git a/lib/compiler/implementation/ssa/ssa.dart b/lib/compiler/implementation/ssa/ssa.dart
index d8e0b6bedc651ce2e0cfa76bdcbe09f7ab3c51fb..9ddc8de96f1b10d976fd768435e382846af34f79 100644
--- a/lib/compiler/implementation/ssa/ssa.dart
+++ b/lib/compiler/implementation/ssa/ssa.dart
@@ -32,7 +32,7 @@ class RuntimeTypeInformation {
String asJsString(InterfaceType type) {
ClassElement element = type.element;
StringBuffer buffer = new StringBuffer();
- Link<Type> arguments = type.arguments;
+ Link<Type> arguments = type.typeArguments;
int index = 0;
element.typeParameters.forEach((name, _) {
buffer.add("${name.slowToString()}: '${arguments.head}'");
@@ -46,8 +46,8 @@ class RuntimeTypeInformation {
bool hasTypeArguments(Type type) {
if (type is InterfaceType) {
InterfaceType interfaceType = type;
- return (!interfaceType.arguments.isEmpty() &&
- interfaceType.arguments.tail.isEmpty());
+ return (!interfaceType.typeArguments.isEmpty() &&
+ interfaceType.typeArguments.tail.isEmpty());
}
return false;
}
« no previous file with comments | « lib/compiler/implementation/ssa/codegen.dart ('k') | lib/compiler/implementation/tree/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698