Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index b0d10e1270aaaceca63430166ef5524e90043598..ac365634cdc7c44064d2edfc2b4a9952ebaa3b3f 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -55,6 +55,8 @@ namespace v8 { |
namespace internal { |
class Smi; |
+class Type; |
+class TypeInfo; |
// Type of properties. |
// Order of properties is significant. |
@@ -101,6 +103,10 @@ class Representation { |
static Representation FromKind(Kind kind) { return Representation(kind); } |
+ // TODO(rossberg): this should die eventually. |
+ static Representation FromType(TypeInfo info); |
+ static Representation FromType(Handle<Type> type); |
+ |
bool Equals(const Representation& other) const { |
return kind_ == other.kind_; |
} |