summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects-visiting.h
diff options
context:
space:
mode:
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();
}