Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index ddecc92198cdd3f502222428e36234fccaac189a..e7d9fc53453f1e527c7d802a2f554776de798f6c 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2006-2008 the V8 project authors. All rights reserved. |
+// Copyright 2011 the V8 project authors. All rights reserved. |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
// met: |
@@ -112,14 +112,14 @@ class MapTransitionDescriptor: public Descriptor { |
: Descriptor(key, map, attributes, MAP_TRANSITION) { } |
}; |
-class ExternalArrayTransitionDescriptor: public Descriptor { |
+class ElementsTransitionDescriptor: public Descriptor { |
public: |
- ExternalArrayTransitionDescriptor(String* key, |
- Map* map, |
- ExternalArrayType array_type) |
+ ElementsTransitionDescriptor(String* key, |
+ Map* map, |
+ ElementsKind elements_kind) |
: Descriptor(key, map, PropertyDetails(NONE, |
- EXTERNAL_ARRAY_TRANSITION, |
- array_type)) { } |
+ ELEMENTS_TRANSITION, |
+ elements_kind)) { } |
}; |
// Marks a field name in a map so that adding the field is guaranteed |
@@ -281,7 +281,7 @@ class LookupResult BASE_EMBEDDED { |
Map* GetTransitionMap() { |
ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
ASSERT(type() == MAP_TRANSITION || type() == CONSTANT_TRANSITION || |
- type() == EXTERNAL_ARRAY_TRANSITION); |
+ type() == ELEMENTS_TRANSITION); |
return Map::cast(GetValue()); |
} |