| Index: src/heap/objects-visiting.h
|
| diff --git a/src/heap/objects-visiting.h b/src/heap/objects-visiting.h
|
| index 1b788e893b7b23d0236d4acbe5e59ef61bee4f23..1bb2e1d80daf486eab4ccdcd322f8ce61dba7edc 100644
|
| --- a/src/heap/objects-visiting.h
|
| +++ b/src/heap/objects-visiting.h
|
| @@ -29,6 +29,7 @@ class StaticVisitorBase : public AllStatic {
|
| V(SeqTwoByteString) \
|
| V(ShortcutCandidate) \
|
| V(ByteArray) \
|
| + V(BytecodeArray) \
|
| V(FreeSpace) \
|
| V(FixedArray) \
|
| V(FixedDoubleArray) \
|
| @@ -320,6 +321,10 @@ class StaticNewSpaceVisitor : public StaticVisitorBase {
|
| return reinterpret_cast<ByteArray*>(object)->ByteArraySize();
|
| }
|
|
|
| + INLINE(static int VisitBytecodeArray(Map* map, HeapObject* object)) {
|
| + return reinterpret_cast<BytecodeArray*>(object)->BytecodeArraySize();
|
| + }
|
| +
|
| INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) {
|
| int length = reinterpret_cast<FixedDoubleArray*>(object)->length();
|
| return FixedDoubleArray::SizeFor(length);
|
|
|