| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0ce8f977c758efd981456abf558411363567a731..1e044c9db81b5195ddd67f94fd963b9745a931b9 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1494,7 +1494,7 @@ class Object : public MaybeObject {
|
| static MUST_USE_RESULT inline Handle<Object> ToSmi(Isolate* isolate,
|
| Handle<Object> object);
|
|
|
| - void Lookup(Name* name, LookupResult* result);
|
| + void Lookup(Handle<Name> name, LookupResult* result);
|
|
|
| MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithReceiver(
|
| Handle<Object> object,
|
| @@ -2065,9 +2065,9 @@ class JSReceiver: public HeapObject {
|
|
|
| // Lookup a property. If found, the result is valid and has
|
| // detailed information.
|
| - void LocalLookup(Name* name, LookupResult* result,
|
| + void LocalLookup(Handle<Name> name, LookupResult* result,
|
| bool search_hidden_prototypes = false);
|
| - void Lookup(Name* name, LookupResult* result);
|
| + void Lookup(Handle<Name> name, LookupResult* result);
|
|
|
| enum KeyCollectionType { LOCAL_ONLY, INCLUDE_PROTOS };
|
|
|
| @@ -2517,10 +2517,11 @@ class JSObject: public JSReceiver {
|
| inline void SetInternalField(int index, Smi* value);
|
|
|
| // The following lookup functions skip interceptors.
|
| - void LocalLookupRealNamedProperty(Name* name, LookupResult* result);
|
| - void LookupRealNamedProperty(Name* name, LookupResult* result);
|
| - void LookupRealNamedPropertyInPrototypes(Name* name, LookupResult* result);
|
| - void LookupCallbackProperty(Name* name, LookupResult* result);
|
| + void LocalLookupRealNamedProperty(Handle<Name> name, LookupResult* result);
|
| + void LookupRealNamedProperty(Handle<Name> name, LookupResult* result);
|
| + void LookupRealNamedPropertyInPrototypes(Handle<Name> name,
|
| + LookupResult* result);
|
| + void LookupCallbackProperty(Handle<Name> name, LookupResult* result);
|
|
|
| // Returns the number of properties on this object filtering out properties
|
| // with the specified attributes (ignoring interceptors).
|
| @@ -4056,9 +4057,6 @@ class NameDictionary: public Dictionary<NameDictionary,
|
| // Find entry for key, otherwise return kNotFound. Optimized version of
|
| // HashTable::FindEntry.
|
| int FindEntry(Handle<Name> key);
|
| -
|
| - // TODO(ishell): Remove this when all the callers are handlified.
|
| - int FindEntry(Name* key);
|
| };
|
|
|
|
|
|
|