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

Unified Diff: src/property-details.h

Issue 16975006: Try convert polymorphic stores into a single monomorphic store. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Fixed bug in TryLoad Created 7 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
« 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 669b05dca051d8feefa413410f2afb666b5c3979..b0d10e1270aaaceca63430166ef5524e90043598 100644
--- a/src/property-details.h
+++ b/src/property-details.h
@@ -110,6 +110,10 @@ class Representation {
(!IsDouble() && !other.IsDouble());
}
+ 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