| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 2aee5d72a4e10bbf830b3bd405abda681df79f0b..427993525e3f2a5f620428ffde4057e7c102a2ad 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1232,6 +1232,11 @@ class Property: public Expression {
|
| }
|
| bool is_arguments_access() const { return is_arguments_access_; }
|
|
|
| + ExternalArrayType GetExternalArrayType() const { return array_type_; }
|
| + void SetExternalArrayType(ExternalArrayType array_type) {
|
| + array_type_ = array_type;
|
| + }
|
| +
|
| // Type feedback information.
|
| void RecordTypeFeedback(TypeFeedbackOracle* oracle);
|
| virtual bool IsMonomorphic() { return is_monomorphic_; }
|
| @@ -1258,6 +1263,7 @@ class Property: public Expression {
|
| bool is_function_prototype_ : 1;
|
| bool is_arguments_access_ : 1;
|
| Handle<Map> monomorphic_receiver_type_;
|
| + ExternalArrayType array_type_;
|
|
|
| // Dummy property used during preparsing.
|
| static Property this_property_;
|
| @@ -1621,6 +1627,10 @@ class Assignment: public Expression {
|
| virtual Handle<Map> GetMonomorphicReceiverType() {
|
| return monomorphic_receiver_type_;
|
| }
|
| + ExternalArrayType GetExternalArrayType() const { return array_type_; }
|
| + void SetExternalArrayType(ExternalArrayType array_type) {
|
| + array_type_ = array_type;
|
| + }
|
|
|
| // Bailout support.
|
| int CompoundLoadId() const { return compound_load_id_; }
|
| @@ -1641,6 +1651,7 @@ class Assignment: public Expression {
|
| bool is_monomorphic_;
|
| ZoneMapList* receiver_types_;
|
| Handle<Map> monomorphic_receiver_type_;
|
| + ExternalArrayType array_type_;
|
| };
|
|
|
|
|
|
|