Drop unused Object::GetMarkerMap method
authorjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 Jun 2014 13:54:08 +0000 (13:54 +0000)
committerjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 6 Jun 2014 13:54:08 +0000 (13:54 +0000)
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
src/objects.h

index ddd97c6c450f17e7942c0cce781021dfe535c26f..3f9a9ca1f7a4b164d905f17a3f2c5cba8c644ef4 100644 (file)
@@ -978,12 +978,6 @@ Handle<Object> 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.
index bf7f67d22af9cb8bc4820bafc7bdbeffde17f91e..0ba12ba2ce49e95910328071c266615300b34ecc 100644 (file)
@@ -1512,7 +1512,6 @@ class Object {
   // Return the object's prototype (might be Heap::null_value()).
   Object* GetPrototype(Isolate* isolate);
   static Handle<Object> GetPrototype(Isolate* isolate, Handle<Object> object);
-  Map* GetMarkerMap(Isolate* isolate);
 
   // Returns the permanent hash code associated with this object. May return
   // undefined if not yet created.