Commit 6f2402ed authored by Marja Hölttä's avatar Marja Hölttä Committed by Commit Bot

[in-place weak refs] Remove references to BytecodeArray::WeakBodyDescriptor

It's the same as BytecodeArray::BodyDescriptor.

BUG=v8:7308

Change-Id: I3821108cc6cc577261ce58cd034e21dfbe2c3c87
Reviewed-on: https://chromium-review.googlesource.com/1227126Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55946}
parent f5274a03
...@@ -264,9 +264,9 @@ class ConcurrentMarkingVisitor final ...@@ -264,9 +264,9 @@ class ConcurrentMarkingVisitor final
int VisitBytecodeArray(Map* map, BytecodeArray* object) { int VisitBytecodeArray(Map* map, BytecodeArray* object) {
if (!ShouldVisit(object)) return 0; if (!ShouldVisit(object)) return 0;
int size = BytecodeArray::BodyDescriptorWeak::SizeOf(map, object); int size = BytecodeArray::BodyDescriptor::SizeOf(map, object);
VisitMapPointer(object, object->map_slot()); VisitMapPointer(object, object->map_slot());
BytecodeArray::BodyDescriptorWeak::IterateBody(map, object, size, this); BytecodeArray::BodyDescriptor::IterateBody(map, object, size, this);
object->MakeOlder(); object->MakeOlder();
return size; return size;
} }
......
...@@ -797,8 +797,6 @@ class BytecodeArray : public FixedArrayBase { ...@@ -797,8 +797,6 @@ class BytecodeArray : public FixedArrayBase {
static const int kMaxLength = kMaxSize - kHeaderSize; static const int kMaxLength = kMaxSize - kHeaderSize;
class BodyDescriptor; class BodyDescriptor;
// No weak fields.
typedef BodyDescriptor BodyDescriptorWeak;
private: private:
DISALLOW_IMPLICIT_CONSTRUCTORS(BytecodeArray); DISALLOW_IMPLICIT_CONSTRUCTORS(BytecodeArray);
......
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