Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 09864885e93e486b323b5d07bdc607a0256aae5a..78531bb4553f322e32f0d7c96708023be2189d0e 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 is_monomorphic_; } |
+ Handle<Map> GetReceiverType() { return receiver_type_; } |
+ |
bool IsCompileTimeValue(); |
void set_emit_store(bool emit_store); |
@@ -1336,6 +1341,8 @@ class ObjectLiteral: public MaterializedLiteral { |
Expression* value_; |
Kind kind_; |
bool emit_store_; |
+ bool is_monomorphic_; |
Sven Panne
2012/03/13 09:46:00
I don't think we need this member, because is_mono
|
+ Handle<Map> receiver_type_; |
}; |
DECLARE_NODE_TYPE(ObjectLiteral) |