Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 122550f5d5c42e8bbf55f0ea20202f2f2bdca999..9338d7acae8fe69c36a964aae5a05d7482dc82b7 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -1398,8 +1398,7 @@ void HeapObject::IterateBody(InstanceType type, int object_size, |
case EXTERNAL_DOUBLE_ARRAY_TYPE: |
break; |
case SHARED_FUNCTION_INFO_TYPE: { |
- SharedFunctionInfo* shared = reinterpret_cast<SharedFunctionInfo*>(this); |
- shared->SharedFunctionInfoIterateBody(v); |
+ SharedFunctionInfo::BodyDescriptor::IterateBody(this, v); |
break; |
} |
@@ -7910,12 +7909,6 @@ int SharedFunctionInfo::SearchOptimizedCodeMap(Context* global_context) { |
} |
-void SharedFunctionInfo::SharedFunctionInfoIterateBody(ObjectVisitor* v) { |
- v->VisitSharedFunctionInfo(this); |
- SharedFunctionInfo::BodyDescriptor::IterateBody(this, v); |
-} |
- |
- |
#define DECLARE_TAG(ignore1, name, ignore2) name, |
const char* const VisitorSynchronization::kTags[ |
VisitorSynchronization::kNumberOfSyncTags] = { |