Index: src/heap/store-buffer.cc |
diff --git a/src/heap/store-buffer.cc b/src/heap/store-buffer.cc |
index cb46edeb468ef1c605800becb1720f0d1e5a0724..8a0ee5477918a5683cc83c3dc5eab4be660acbfc 100644 |
--- a/src/heap/store-buffer.cc |
+++ b/src/heap/store-buffer.cc |
@@ -494,6 +494,11 @@ void StoreBuffer::IteratePointersToNewSpace(ObjectSlotCallback slot_callback) { |
obj_address + FixedTypedArrayBase::kBasePointerOffset, |
obj_address + FixedTypedArrayBase::kHeaderSize, |
slot_callback); |
+ } else if (heap_object->IsBytecodeArray()) { |
+ FindPointersToNewSpaceInRegion( |
+ obj_address + BytecodeArray::kConstantPoolOffset, |
+ obj_address + BytecodeArray::kHeaderSize, |
+ slot_callback); |
} else if (FLAG_unbox_double_fields) { |
LayoutDescriptorHelper helper(heap_object->map()); |
DCHECK(!helper.all_fields_tagged()); |