Reviewers: Jakob,

Message:
PTAL

Description:
Get rid of dead version of GetNormalizedProperty

BUG=

Please review this at https://codereview.chromium.org/481073002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -17 lines):
  M src/objects.h
  M src/objects.cc


Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index b6757ab9e7307a3b2d6ec97b6035663896dd0384..8c7fd1c5817d02d2e99d2fcf4db1e8666d819a9e 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -658,21 +658,6 @@ Object* JSObject::GetNormalizedProperty(const LookupResult* result) {
 }


-Handle<Object> JSObject::GetNormalizedProperty(Handle<JSObject> object,
- const LookupResult* result) {
-  DCHECK(!object->HasFastProperties());
-  Isolate* isolate = object->GetIsolate();
-  Handle<Object> value(object->property_dictionary()->ValueAt(
-      result->GetDictionaryEntry()), isolate);
-  if (object->IsGlobalObject()) {
-    value = handle(Handle<PropertyCell>::cast(value)->value(), isolate);
-    DCHECK(!value->IsTheHole());
-  }
-  DCHECK(!value->IsPropertyCell() && !value->IsCell());
-  return value;
-}
-
-
 void JSObject::SetNormalizedProperty(Handle<JSObject> object,
                                      Handle<Name> name,
                                      Handle<Object> value,
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 75c44ecb14cc2a9ee0eb08c89dd965209f49d2f6..289e9f40f1c028184284bb86070601dc085628c2 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -2157,8 +2157,6 @@ class JSObject: public JSReceiver {
   // Retrieve a value in a normalized object given a lookup result.
   // Handles the special representation of JS global objects.
   Object* GetNormalizedProperty(const LookupResult* result);
-  static Handle<Object> GetNormalizedProperty(Handle<JSObject> object,
-                                              const LookupResult* result);

// Sets the property value in a normalized object given (key, value, details).
   // Handles the special representation of JS global objects.


--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to