| Index: src/heap/heap-inl.h
|
| diff --git a/src/heap/heap-inl.h b/src/heap/heap-inl.h
|
| index a0a696f78ce3cf064c348f0747cd0c1453be714f..a58a2b74b57ef28158422a7a8cf0b1bbe87bb670 100644
|
| --- a/src/heap/heap-inl.h
|
| +++ b/src/heap/heap-inl.h
|
| @@ -426,6 +426,12 @@ void Heap::RecordWrite(Object* object, int offset, Object* o) {
|
| HeapObject::cast(object)->address() + offset);
|
| }
|
|
|
| +void Heap::RecordWriteIntoCode(Code* host, RelocInfo* rinfo, Object* value) {
|
| + if (InNewSpace(value)) {
|
| + RecordWriteIntoCodeSlow(host, rinfo, value);
|
| + }
|
| +}
|
| +
|
| void Heap::RecordFixedArrayElements(FixedArray* array, int offset, int length) {
|
| if (InNewSpace(array)) return;
|
| Page* page = Page::FromAddress(reinterpret_cast<Address>(array));
|
|
|