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

Unified Diff: src/hydrogen-instructions.h

Issue 15692004: Update representation-from-uses to support smi. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 | src/hydrogen-instructions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index 116c4e7aa721c20cde8bf71aac9bdb7a9cbdf35f..43a5ad869eb30a780157e5689354b0a1734b5e93 100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -3000,6 +3000,9 @@ class HPhi: public HValue {
int tagged_non_phi_uses() const {
return non_phi_uses_[Representation::kTagged];
}
+ int smi_non_phi_uses() const {
+ return non_phi_uses_[Representation::kSmi];
+ }
int int32_non_phi_uses() const {
return non_phi_uses_[Representation::kInteger32];
}
@@ -3009,6 +3012,9 @@ class HPhi: public HValue {
int tagged_indirect_uses() const {
return indirect_uses_[Representation::kTagged];
}
+ int smi_indirect_uses() const {
+ return indirect_uses_[Representation::kSmi];
+ }
int int32_indirect_uses() const {
return indirect_uses_[Representation::kInteger32];
}
« no previous file with comments | « no previous file | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698