Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index efcaf8f2944e79a686399c316bbf491b388de598..fa111c901ba7905c3d2755744242c7c351297672 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -103,7 +103,7 @@ MaybeObject* Accessors::ArraySetLength(JSObject* object, Object* value, void*) { |
// causes an infinite loop. |
if (!object->IsJSArray()) { |
return object->SetLocalPropertyIgnoreAttributes( |
- isolate->heap()->length_symbol(), value, NONE); |
+ isolate->heap()->length_string(), value, NONE); |
} |
value = FlattenNumber(value); |
@@ -473,7 +473,7 @@ MaybeObject* Accessors::FunctionSetPrototype(JSObject* object, |
if (function_raw == NULL) return heap->undefined_value(); |
if (!function_raw->should_have_prototype()) { |
// Since we hit this accessor, object will have no prototype property. |
- return object->SetLocalPropertyIgnoreAttributes(heap->prototype_symbol(), |
+ return object->SetLocalPropertyIgnoreAttributes(heap->prototype_string(), |
value_raw, |
NONE); |
} |
@@ -501,7 +501,7 @@ MaybeObject* Accessors::FunctionSetPrototype(JSObject* object, |
if (is_observed && !old_value->SameValue(*value)) { |
JSObject::EnqueueChangeRecord( |
- function, "updated", isolate->factory()->prototype_symbol(), old_value); |
+ function, "updated", isolate->factory()->prototype_string(), old_value); |
} |
return *function; |
@@ -623,7 +623,7 @@ MaybeObject* Accessors::FunctionGetArguments(Object* object, void*) { |
// If there is an arguments variable in the stack, we return that. |
Handle<ScopeInfo> scope_info(function->shared()->scope_info()); |
int index = scope_info->StackSlotIndex( |
- isolate->heap()->arguments_symbol()); |
+ isolate->heap()->arguments_string()); |
if (index >= 0) { |
Handle<Object> arguments(frame->GetExpression(index), isolate); |
if (!arguments->IsArgumentsMarker()) return *arguments; |
@@ -816,7 +816,7 @@ MaybeObject* Accessors::ObjectSetPrototype(JSObject* receiver_raw, |
Handle<Object> new_value(GetPrototypeSkipHiddenPrototypes(*receiver)); |
if (!new_value->SameValue(*old_value)) { |
JSObject::EnqueueChangeRecord(receiver, "prototype", |
- isolate->factory()->Proto_symbol(), |
+ isolate->factory()->proto_string(), |
old_value); |
} |
return *hresult; |