summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects-visiting.h
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-06-09 08:09:42 -0700
committerisaacs <i@izs.me>2012-06-09 08:09:42 -0700
commit940a6863ead6622e5439e07be631359c31e63b68 (patch)
treec5aa25c048b8f0fd622d4c42fa134ca645fcbcd7 /deps/v8/src/objects-visiting.h
parent569acea0eefed2c7da7453b7dcef6ff47491ca1c (diff)
downloadnode-new-940a6863ead6622e5439e07be631359c31e63b68.tar.gz
Roll V8 back to 3.9.24.31
Diffstat (limited to 'deps/v8/src/objects-visiting.h')
-rw-r--r--deps/v8/src/objects-visiting.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/deps/v8/src/objects-visiting.h b/deps/v8/src/objects-visiting.h
index b476dfef2e..26e79ae5ed 100644
--- a/deps/v8/src/objects-visiting.h
+++ b/deps/v8/src/objects-visiting.h
@@ -289,23 +289,6 @@ class StaticNewSpaceVisitor : public StaticVisitorBase {
}
private:
- static inline int VisitJSFunction(Map* map, HeapObject* object) {
- Heap* heap = map->GetHeap();
- VisitPointers(heap,
- HeapObject::RawField(object, JSFunction::kPropertiesOffset),
- HeapObject::RawField(object, JSFunction::kCodeEntryOffset));
-
- // Don't visit code entry. We are using this visitor only during scavenges.
-
- VisitPointers(
- heap,
- HeapObject::RawField(object,
- JSFunction::kCodeEntryOffset + kPointerSize),
- HeapObject::RawField(object,
- JSFunction::kNonWeakFieldsEndOffset));
- return JSFunction::kSize;
- }
-
static inline int VisitByteArray(Map* map, HeapObject* object) {
return reinterpret_cast<ByteArray*>(object)->ByteArraySize();
}