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

Unified Diff: src/property-details.h

Issue 14796012: Turn polymorphic stores monomorphic if store sequence matches. (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 | « src/hydrogen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/property-details.h
diff --git a/src/property-details.h b/src/property-details.h
index f025f152b7f02c46d641ba53f1b9f6a59d8336b0..f40c6d32af4609a1425c0ef482812dc1194f0829 100644
--- a/src/property-details.h
+++ b/src/property-details.h
@@ -103,6 +103,10 @@ class Representation {
return kind_ == other.kind_;
}
+ bool IsCompatibleForStore(const Representation& other) const {
+ return Equals(other);
+ }
+
bool is_more_general_than(const Representation& other) const {
ASSERT(kind_ != kExternal);
ASSERT(other.kind_ != kExternal);
« no previous file with comments | « src/hydrogen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698