Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 592e44996fc29131ea9e3c33c7b9dd7cb515ffc5..156b879d08dae5b28a05e3efbeead11b77f2dddb 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1325,6 +1325,7 @@ class ObjectLiteral: public MaterializedLiteral { |
// Type feedback information. |
void RecordTypeFeedback(TypeFeedbackOracle* oracle); |
+ bool IsMonomorphic() { return !receiver_type_.is_null(); } |
Handle<Map> GetReceiverType() { return receiver_type_; } |
bool IsCompileTimeValue(); |
@@ -1528,11 +1529,6 @@ class Property: public Expression { |
void RecordTypeFeedback(TypeFeedbackOracle* oracle, Zone* zone); |
virtual bool IsMonomorphic() { return is_monomorphic_; } |
virtual SmallMapList* GetReceiverTypes() { return &receiver_types_; } |
- |
- Handle<Map> GetReceiverType() { |
- return IsMonomorphic() ? GetReceiverTypes()->first() : Handle<Map>(); |
- } |
- |
bool IsArrayLength() { return is_array_length_; } |
bool IsUninitialized() { return is_uninitialized_; } |