From: verwaest@chromium.org Date: Tue, 21 Oct 2014 10:51:02 +0000 (+0000) Subject: Remove unused GetConstructor X-Git-Tag: upstream/4.7.83~6230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce9f799d39fbd804bff62f37c9f5921a98c2b5b4;p=platform%2Fupstream%2Fv8.git Remove unused GetConstructor BUG= R=ishell@chromium.org Review URL: https://codereview.chromium.org/663033004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24761 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/objects-inl.h b/src/objects-inl.h index 66c189e..55f5c7f 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -6690,11 +6690,6 @@ String* String::GetForwardedInternalizedString() { } -Object* JSReceiver::GetConstructor() { - return map()->constructor(); -} - - Maybe JSReceiver::HasProperty(Handle object, Handle name) { if (object->IsJSProxy()) { diff --git a/src/objects.h b/src/objects.h index f7be910..ee03112 100644 --- a/src/objects.h +++ b/src/objects.h @@ -1640,9 +1640,6 @@ class JSReceiver: public HeapObject { MUST_USE_RESULT static inline Maybe GetOwnElementAttribute(Handle object, uint32_t index); - // Return the constructor function (may be Heap::null_value()). - inline Object* GetConstructor(); - // Retrieves a permanent object identity hash code. The undefined value might // be returned in case no hash was created yet. inline Object* GetIdentityHash();