Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index da9c9ec93780c47d3a2c00f2fddd807c39516b5f..ec027728c6cf9e8d458b89431cc7626c92f9e0cb 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1237,6 +1237,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_; } |
@@ -1263,6 +1268,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_; |
@@ -1626,6 +1632,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_; } |
@@ -1646,6 +1656,7 @@ class Assignment: public Expression { |
bool is_monomorphic_; |
ZoneMapList* receiver_types_; |
Handle<Map> monomorphic_receiver_type_; |
+ ExternalArrayType array_type_; |
}; |