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

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

Issue 12218007: Implement substitution for type variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/ssa/nodes.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
index afbd2e172af561afa059afaee5953469a50f95ae..f52d93f20ab2b0470c82e8a08f7006a36d1c35fc 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart
@@ -2282,10 +2282,9 @@ class HIs extends HInstruction {
}
HInstruction get expression => inputs[0];
- HInstruction getCheck(int index) => inputs[index + 1];
- int get checkCount => inputs.length - 1;
+ HInstruction get checkCall => inputs[1];
- bool hasArgumentChecks() => inputs.length > 1;
+ bool hasArgumentsCheck() => inputs.length > 1;
HType get guaranteedType => HType.BOOLEAN;

Powered by Google App Engine
This is Rietveld 408576698