Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 588b0f63a8d230cab6dcdee3ea699b65c817b3e2..0ddf5b793e8c2203bf577e116491c3c6ace4f76f 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3259,7 +3259,7 @@ MaybeObject* Map::GetFastElementsMap() { |
if (!maybe_obj->ToObject(&obj)) return maybe_obj; |
} |
Map* new_map = Map::cast(obj); |
- new_map->set_elements_kind(JSObject::FAST_ELEMENTS); |
+ new_map->set_elements_kind(FAST_ELEMENTS); |
isolate()->counters()->map_to_fast_elements()->Increment(); |
return new_map; |
} |
@@ -3272,7 +3272,7 @@ MaybeObject* Map::GetFastDoubleElementsMap() { |
if (!maybe_obj->ToObject(&obj)) return maybe_obj; |
} |
Map* new_map = Map::cast(obj); |
- new_map->set_elements_kind(JSObject::FAST_DOUBLE_ELEMENTS); |
+ new_map->set_elements_kind(FAST_DOUBLE_ELEMENTS); |
isolate()->counters()->map_to_fast_double_elements()->Increment(); |
return new_map; |
} |
@@ -3285,7 +3285,7 @@ MaybeObject* Map::GetSlowElementsMap() { |
if (!maybe_obj->ToObject(&obj)) return maybe_obj; |
} |
Map* new_map = Map::cast(obj); |
- new_map->set_elements_kind(JSObject::DICTIONARY_ELEMENTS); |
+ new_map->set_elements_kind(DICTIONARY_ELEMENTS); |
isolate()->counters()->map_to_slow_elements()->Increment(); |
return new_map; |
} |
@@ -4098,7 +4098,7 @@ void JSRegExp::SetDataAtUnchecked(int index, Object* value, Heap* heap) { |
} |
-JSObject::ElementsKind JSObject::GetElementsKind() { |
+ElementsKind JSObject::GetElementsKind() { |
ElementsKind kind = map()->elements_kind(); |
ASSERT((kind == FAST_ELEMENTS && |
(elements()->map() == GetHeap()->fixed_array_map() || |