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

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

Issue 2263853002: Constant-fold type variable of constant value (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix type Created 4 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index d08ea7390b3d547f8747b281bf66e7fc0abcafb2..6ed6aefd82b331c399289af6204eec97906fcbe9 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -3226,6 +3226,8 @@ class HTypeInfoReadVariable extends HInstruction {
setUseGvn();
}
+ HInstruction get object => inputs.single;
+
accept(HVisitor visitor) => visitor.visitTypeInfoReadVariable(this);
bool canThrow() => false;
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698