Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 34519df4ff8416fd1dd5d001b71f9cce7f4c33eb..5da679e1fbb0f9cad443b0ad13753d61c348e699 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -266,7 +266,7 @@ Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
- Handle<String> key, |
+ Handle<Name> key, |
Handle<Object> value, |
PropertyAttributes attributes, |
StrictModeFlag strict_mode) { |
@@ -297,7 +297,7 @@ Handle<Object> GetProperty(Handle<Object> obj, |
Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
Handle<JSObject> holder, |
- Handle<String> name, |
+ Handle<Name> name, |
PropertyAttributes* attributes) { |
Isolate* isolate = receiver->GetIsolate(); |
CALL_HEAP_FUNCTION(isolate, |
@@ -630,7 +630,7 @@ static bool ContainsOnlyValidKeys(Handle<FixedArray> array) { |
int len = array->length(); |
for (int i = 0; i < len; i++) { |
Object* e = array->get(i); |
- if (!(e->IsString() || e->IsNumber())) return false; |
+ if (!(e->IsName() || e->IsNumber())) return false; |
} |
return true; |
} |
@@ -836,7 +836,7 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
return ReduceFixedArrayTo(storage, enum_size); |
} else { |
- Handle<StringDictionary> dictionary(object->property_dictionary()); |
+ Handle<NameDictionary> dictionary(object->property_dictionary()); |
int length = dictionary->NumberOfElements(); |
if (length == 0) { |
@@ -857,7 +857,7 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
// many properties were added but subsequently deleted. |
int next_enumeration = dictionary->NextEnumerationIndex(); |
if (!object->IsGlobalObject() && next_enumeration > (length * 3) / 2) { |
- StringDictionary::DoGenerateNewEnumerationIndices(dictionary); |
+ NameDictionary::DoGenerateNewEnumerationIndices(dictionary); |
next_enumeration = dictionary->NextEnumerationIndex(); |
} |