Revision: 17061
Author: [email protected]
Date: Wed Oct 2 08:27:33 2013 UTC
Log: Remove deprecated JSObject::GetLocalPropertyType method.
[email protected]
Review URL: https://codereview.chromium.org/25453003
http://code.google.com/p/v8/source/detail?r=17061
Modified:
/branches/bleeding_edge/src/objects-inl.h
/branches/bleeding_edge/src/objects.cc
/branches/bleeding_edge/src/objects.h
=======================================
--- /branches/bleeding_edge/src/objects-inl.h Tue Oct 1 09:44:35 2013 UTC
+++ /branches/bleeding_edge/src/objects-inl.h Wed Oct 2 08:27:33 2013 UTC
@@ -1575,13 +1575,6 @@
if (target_details.attributes() != NONE) return Handle<Map>::null();
return Handle<Map>(transitions->GetTarget(transition));
}
-
-
-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)
=======================================
--- /branches/bleeding_edge/src/objects.cc Tue Oct 1 14:53:45 2013 UTC
+++ /branches/bleeding_edge/src/objects.cc Wed Oct 2 08:27:33 2013 UTC
@@ -11611,22 +11611,6 @@
args->arguments() - first_arg - (arg_count - 1),
arg_count, mode);
}
-
-
-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) {
=======================================
--- /branches/bleeding_edge/src/objects.h Tue Oct 1 18:00:02 2013 UTC
+++ /branches/bleeding_edge/src/objects.h Wed Oct 2 08:27:33 2013 UTC
@@ -2156,8 +2156,6 @@
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);
@@ -2333,9 +2331,6 @@
// (old_capacity + 50%) + 16
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);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.