Commit c70ca134 authored by verwaest@chromium.org's avatar verwaest@chromium.org

Get rid of dead version of GetNormalizedProperty

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23178 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent e0e17b90
...@@ -630,21 +630,6 @@ Object* JSObject::GetNormalizedProperty(const LookupResult* result) { ...@@ -630,21 +630,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, void JSObject::SetNormalizedProperty(Handle<JSObject> object,
Handle<Name> name, Handle<Name> name,
Handle<Object> value, Handle<Object> value,
......
...@@ -2157,8 +2157,6 @@ class JSObject: public JSReceiver { ...@@ -2157,8 +2157,6 @@ class JSObject: public JSReceiver {
// Retrieve a value in a normalized object given a lookup result. // Retrieve a value in a normalized object given a lookup result.
// Handles the special representation of JS global objects. // Handles the special representation of JS global objects.
Object* GetNormalizedProperty(const LookupResult* result); 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). // Sets the property value in a normalized object given (key, value, details).
// Handles the special representation of JS global objects. // Handles the special representation of JS global objects.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment