Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 475db7975b8ffd590e8277951e92afc8bbec2a6f..0abf95f5707da795055e42804430d310f42c52e1 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -192,7 +192,7 @@ static void LookupForRead(Handle<Object> object, |
// Skip all the objects with named interceptors, but |
// without actual getter. |
while (true) { |
- object->Lookup(*name, lookup); |
+ object->Lookup(name, lookup); |
// Besides normal conditions (property not found or it's not |
// an interceptor), bail out if lookup is not cacheable: we won't |
// be able to IC it anyway and regular lookup should work fine. |
@@ -205,7 +205,7 @@ static void LookupForRead(Handle<Object> object, |
return; |
} |
- holder->LocalLookupRealNamedProperty(*name, lookup); |
+ holder->LocalLookupRealNamedProperty(name, lookup); |
if (lookup->IsFound()) { |
ASSERT(!lookup->IsInterceptor()); |
return; |
@@ -283,7 +283,7 @@ bool IC::TryRemoveInvalidPrototypeDependentStub(Handle<Object> receiver, |
if (receiver->IsGlobalObject()) { |
LookupResult lookup(isolate()); |
GlobalObject* global = GlobalObject::cast(*receiver); |
- global->LocalLookupRealNamedProperty(*name, &lookup); |
+ global->LocalLookupRealNamedProperty(name, &lookup); |
if (!lookup.IsFound()) return false; |
PropertyCell* cell = global->GetPropertyCell(&lookup); |
return cell->type()->IsConstant(); |
@@ -1166,10 +1166,10 @@ static bool LookupForWrite(Handle<JSObject> receiver, |
LookupResult* lookup, |
IC* ic) { |
Handle<JSObject> holder = receiver; |
- receiver->Lookup(*name, lookup); |
+ receiver->Lookup(name, lookup); |
if (lookup->IsFound()) { |
if (lookup->IsInterceptor() && !HasInterceptorSetter(lookup->holder())) { |
- receiver->LocalLookupRealNamedProperty(*name, lookup); |
+ receiver->LocalLookupRealNamedProperty(name, lookup); |
if (!lookup->IsFound()) return false; |
} |
@@ -1876,7 +1876,7 @@ RUNTIME_FUNCTION(StoreIC_ArrayLength) { |
#ifdef DEBUG |
// The length property has to be a writable callback property. |
LookupResult debug_lookup(isolate); |
- receiver->LocalLookup(isolate->heap()->length_string(), &debug_lookup); |
+ receiver->LocalLookup(isolate->factory()->length_string(), &debug_lookup); |
ASSERT(debug_lookup.IsPropertyCallbacks() && !debug_lookup.IsReadOnly()); |
#endif |