Revision: 23178
Author:   [email protected]
Date:     Tue Aug 19 07:09:41 2014 UTC
Log:      Get rid of dead version of GetNormalizedProperty

BUG=
[email protected]

Review URL: https://codereview.chromium.org/481073002
http://code.google.com/p/v8/source/detail?r=23178

Modified:
 /branches/bleeding_edge/src/objects.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/objects.cc      Mon Aug 18 16:52:23 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Tue Aug 19 07:09:41 2014 UTC
@@ -628,21 +628,6 @@
   DCHECK(!value->IsPropertyCell() && !value->IsCell());
   return value;
 }
-
-
-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,
=======================================
--- /branches/bleeding_edge/src/objects.h       Mon Aug 18 15:08:14 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Tue Aug 19 07:09:41 2014 UTC
@@ -2157,8 +2157,6 @@
   // 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
[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/d/optout.

Reply via email to