Remove deprecated JSObject::GetLocalPropertyType method.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/25453003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17061 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2013-10-02 08:27:33 +00:00
parent 60db8fd14d
commit 3ee9b84609
3 changed files with 0 additions and 28 deletions

View File

@ -1577,13 +1577,6 @@ Handle<Map> JSObject::FindTransitionToField(Handle<Map> map, Handle<Name> key) {
}
int JSObject::LastAddedFieldIndex() {
Map* map = this->map();
int last_added = map->LastAdded();
return map->instance_descriptors()->GetFieldIndex(last_added);
}
ACCESSORS(Oddball, to_string, String, kToStringOffset)
ACCESSORS(Oddball, to_number, Object, kToNumberOffset)

View File

@ -11613,22 +11613,6 @@ MaybeObject* JSObject::EnsureCanContainElements(Arguments* args,
}
PropertyType JSObject::GetLocalPropertyType(Name* name) {
uint32_t index = 0;
if (name->AsArrayIndex(&index)) {
return GetLocalElementType(index);
}
LookupResult lookup(GetIsolate());
LocalLookup(name, &lookup, true);
return lookup.type();
}
PropertyType JSObject::GetLocalElementType(uint32_t index) {
return GetElementsAccessor()->GetType(this, this, index);
}
AccessorPair* JSObject::GetLocalPropertyAccessorPair(Name* name) {
uint32_t index = 0;
if (name->AsArrayIndex(&index)) {

View File

@ -2156,8 +2156,6 @@ class JSObject: public JSReceiver {
static inline Handle<Map> FindTransitionToField(Handle<Map> map,
Handle<Name> key);
inline int LastAddedFieldIndex();
// Extend the receiver with a single fast property appeared first in the
// passed map. This also extends the property backing store if necessary.
static void AllocateStorageForMap(Handle<JSObject> object, Handle<Map> map);
@ -2334,9 +2332,6 @@ class JSObject: public JSReceiver {
return old_capacity + (old_capacity >> 1) + 16;
}
PropertyType GetLocalPropertyType(Name* name);
PropertyType GetLocalElementType(uint32_t index);
// These methods do not perform access checks!
AccessorPair* GetLocalPropertyAccessorPair(Name* name);
AccessorPair* GetLocalElementAccessorPair(uint32_t index);