Index: src/snapshot/partial-serializer.cc |
diff --git a/src/snapshot/partial-serializer.cc b/src/snapshot/partial-serializer.cc |
index b78a1edbd0647f52079a4a3ee1c4b922ad334c5f..7f30c9cd04b84a7d9fedfd5c1d21072c91479fff 100644 |
--- a/src/snapshot/partial-serializer.cc |
+++ b/src/snapshot/partial-serializer.cc |
@@ -93,10 +93,6 @@ void PartialSerializer::SerializeObject(HeapObject* obj, HowToCode how_to_code, |
// Clear literal boilerplates. |
if (obj->IsJSFunction()) { |
JSFunction* function = JSFunction::cast(obj); |
- LiteralsArray* literals = function->literals(); |
- for (int i = 0; i < literals->literals_count(); i++) { |
- literals->set_literal_undefined(i); |
- } |
function->ClearTypeFeedbackInfo(); |
} |