Remove unused GetConstructor
authorverwaest@chromium.org <verwaest@chromium.org>
Tue, 21 Oct 2014 10:51:02 +0000 (10:51 +0000)
committerverwaest@chromium.org <verwaest@chromium.org>
Tue, 21 Oct 2014 10:51:02 +0000 (10:51 +0000)
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

src/objects-inl.h
src/objects.h

index 66c189e..55f5c7f 100644 (file)
@@ -6690,11 +6690,6 @@ String* String::GetForwardedInternalizedString() {
 }
 
 
-Object* JSReceiver::GetConstructor() {
-  return map()->constructor();
-}
-
-
 Maybe<bool> JSReceiver::HasProperty(Handle<JSReceiver> object,
                                     Handle<Name> name) {
   if (object->IsJSProxy()) {
index f7be910..ee03112 100644 (file)
@@ -1640,9 +1640,6 @@ class JSReceiver: public HeapObject {
   MUST_USE_RESULT static inline Maybe<PropertyAttributes>
       GetOwnElementAttribute(Handle<JSReceiver> 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();