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

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

Issue 10539156: Track fields which are known to be always set to integer constants (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/nodes.dart
diff --git a/lib/compiler/implementation/ssa/nodes.dart b/lib/compiler/implementation/ssa/nodes.dart
index 3c205251de1b983a6d07d4a73b82db366c4d02d6..b9b0eeeee7198573de97bce150469cdb2ac9b5df 100644
--- a/lib/compiler/implementation/ssa/nodes.dart
+++ b/lib/compiler/implementation/ssa/nodes.dart
@@ -1800,6 +1800,7 @@ class HConstant extends HInstruction {
bool isConstantBoolean() => constant.isBool();
bool isConstantNull() => constant.isNull();
bool isConstantNumber() => constant.isNum();
+ bool isConstantInteger() => constant.isInt();
bool isConstantString() => constant.isString();
bool isConstantList() => constant.isList();
bool isConstantMap() => constant.isMap();

Powered by Google App Engine
This is Rietveld 408576698