Remove unused methods about Node::class_id_

BUG=

Review URL: https://codereview.chromium.org/11983002
Patch from Kentaro Hara <haraken@chromium.org>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13407 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 78842168
...@@ -129,7 +129,6 @@ class GlobalHandles::Node { ...@@ -129,7 +129,6 @@ class GlobalHandles::Node {
} }
uint16_t wrapper_class_id() const { return class_id_; } uint16_t wrapper_class_id() const { return class_id_; }
void set_wrapper_class_id(uint16_t class_id) { class_id_ = class_id; }
// State and flag accessors. // State and flag accessors.
...@@ -508,14 +507,6 @@ bool GlobalHandles::IsWeak(Object** location) { ...@@ -508,14 +507,6 @@ bool GlobalHandles::IsWeak(Object** location) {
} }
void GlobalHandles::SetWrapperClassId(Object** location, uint16_t class_id) {
Node::FromLocation(location)->set_wrapper_class_id(class_id);
}
uint16_t GlobalHandles::GetWrapperClassId(Object** location) {
return Node::FromLocation(location)->wrapper_class_id();
}
void GlobalHandles::IterateWeakRoots(ObjectVisitor* v) { void GlobalHandles::IterateWeakRoots(ObjectVisitor* v) {
for (NodeIterator it(this); !it.done(); it.Advance()) { for (NodeIterator it(this); !it.done(); it.Advance()) {
if (it.node()->IsWeakRetainer()) v->VisitPointer(it.node()->location()); if (it.node()->IsWeakRetainer()) v->VisitPointer(it.node()->location());
......
...@@ -130,9 +130,6 @@ class GlobalHandles { ...@@ -130,9 +130,6 @@ class GlobalHandles {
void* parameter, void* parameter,
WeakReferenceCallback callback); WeakReferenceCallback callback);
static void SetWrapperClassId(Object** location, uint16_t class_id);
static uint16_t GetWrapperClassId(Object** location);
// Returns the current number of weak handles. // Returns the current number of weak handles.
int NumberOfWeakHandles() { return number_of_weak_handles_; } int NumberOfWeakHandles() { return number_of_weak_handles_; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment