Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 46975ced5dcbd3fd69a407b9c75555c5a517ec49..b7c0cb888c474ef2e2a967ff80893f26ff3b05a7 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -983,6 +983,7 @@ void Deserializer::ReadChunk(Object** current, |
reinterpret_cast<Address>(current); \ |
Assembler::deserialization_set_special_target_at( \ |
location_of_branch_data, \ |
+ Code::cast(HeapObject::FromAddress(current_object_address)), \ |
reinterpret_cast<Address>(new_object)); \ |
location_of_branch_data += Assembler::kSpecialTargetSize; \ |
current = reinterpret_cast<Object**>(location_of_branch_data); \ |