From 3d882db26ae9642bb35dd45347c30e96165294c7 Mon Sep 17 00:00:00 2001 From: "jochen@chromium.org" Date: Fri, 6 Jun 2014 13:54:08 +0000 Subject: [PATCH] Drop unused Object::GetMarkerMap method R=verwaest@chromium.org BUG=none LOG=n Review URL: https://codereview.chromium.org/317373002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 6 ------ src/objects.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/objects.cc b/src/objects.cc index ddd97c6..3f9a9ca 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -978,12 +978,6 @@ Handle Object::GetPrototype(Isolate* isolate, } -Map* Object::GetMarkerMap(Isolate* isolate) { - if (IsSmi()) return isolate->heap()->heap_number_map(); - return HeapObject::cast(this)->map(); -} - - Object* Object::GetHash() { // The object is either a number, a name, an odd-ball, // a real JS object, or a Harmony proxy. diff --git a/src/objects.h b/src/objects.h index bf7f67d..0ba12ba 100644 --- a/src/objects.h +++ b/src/objects.h @@ -1512,7 +1512,6 @@ class Object { // Return the object's prototype (might be Heap::null_value()). Object* GetPrototype(Isolate* isolate); static Handle GetPrototype(Isolate* isolate, Handle object); - Map* GetMarkerMap(Isolate* isolate); // Returns the permanent hash code associated with this object. May return // undefined if not yet created. -- 2.7.4