| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 4158907d993ecdb4a30c64bed47e40d41fdc5d0e..33ede1658bda3af696a9b3c32f58908d9e656b25 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -924,9 +924,9 @@ class ForInStatement V8_FINAL : public ForEachStatement {
|
| }
|
|
|
| TypeFeedbackId ForInFeedbackId() const { return reuse(PrepareId()); }
|
| - void RecordTypeFeedback(TypeFeedbackOracle* oracle);
|
| enum ForInType { FAST_FOR_IN, SLOW_FOR_IN };
|
| ForInType for_in_type() const { return for_in_type_; }
|
| + void set_for_in_type(ForInType type) { for_in_type_ = type; }
|
|
|
| BailoutId BodyId() const { return body_id_; }
|
| BailoutId PrepareId() const { return prepare_id_; }
|
| @@ -1122,8 +1122,8 @@ class CaseClause V8_FINAL : public AstNode {
|
|
|
| // Type feedback information.
|
| TypeFeedbackId CompareId() { return compare_id_; }
|
| - void RecordTypeFeedback(TypeFeedbackOracle* oracle);
|
| Handle<Type> compare_type() { return compare_type_; }
|
| + void set_compare_type(Handle<Type> type) { compare_type_ = type; }
|
|
|
| private:
|
| CaseClause(Isolate* isolate,
|
| @@ -1996,7 +1996,6 @@ class CountOperation V8_FINAL : public Expression {
|
|
|
| Expression* expression() const { return expression_; }
|
|
|
| - void RecordTypeFeedback(TypeFeedbackOracle* oracle, Zone* zone);
|
| virtual bool IsMonomorphic() V8_OVERRIDE { return is_monomorphic_; }
|
| virtual SmallMapList* GetReceiverTypes() V8_OVERRIDE {
|
| return &receiver_types_;
|
| @@ -2005,6 +2004,9 @@ class CountOperation V8_FINAL : public Expression {
|
| return store_mode_;
|
| }
|
| Handle<Type> type() const { return type_; }
|
| + void set_is_monomorphic(bool b) { is_monomorphic_ = b; }
|
| + void set_store_mode(KeyedAccessStoreMode mode) { store_mode_ = mode; }
|
| + void set_type(Handle<Type> type) { type_ = type; }
|
|
|
| BailoutId AssignmentId() const { return assignment_id_; }
|
|
|
|
|