Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 09864885e93e486b323b5d07bdc607a0256aae5a..65b984ebfcc96de8408e81a3226679065ce978eb 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1320,6 +1320,11 @@ class ObjectLiteral: public MaterializedLiteral { |
Expression* value() { return value_; } |
Kind kind() { return kind_; } |
+ // Type feedback information. |
+ void RecordTypeFeedback(TypeFeedbackOracle* oracle); |
+ bool IsMonomorphic() { return !receiver_type_.is_null(); } |
+ Handle<Map> GetReceiverType() { return receiver_type_; } |
+ |
bool IsCompileTimeValue(); |
void set_emit_store(bool emit_store); |
@@ -1336,6 +1341,7 @@ class ObjectLiteral: public MaterializedLiteral { |
Expression* value_; |
Kind kind_; |
bool emit_store_; |
+ Handle<Map> receiver_type_; |
}; |
DECLARE_NODE_TYPE(ObjectLiteral) |