Reviewers: Toon Verwaest,
Description:
Drop unused Object::GetMarkerMap method
[email protected]
BUG=none
LOG=n
Please review this at https://codereview.chromium.org/317373002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+0, -7 lines):
M src/objects.h
M src/objects.cc
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index
ddd97c6c450f17e7942c0cce781021dfe535c26f..3f9a9ca1f7a4b164d905f17a3f2c5cba8c644ef4
100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -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: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index
bf7f67d22af9cb8bc4820bafc7bdbeffde17f91e..0ba12ba2ce49e95910328071c266615300b34ecc
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<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.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.