Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index c28721900f7f7a96ff90ed5ea72e5cf939b62388..70b69c23c0dc01beeda05d4bcb2532584df4b5a6 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -2140,7 +2140,9 @@ Handle<SharedFunctionInfo> CodeSerializer::Deserialize(Isolate* isolate, |
int length = data->length(); |
PrintF("[Deserializing from %d bytes took %0.3f ms]\n", length, ms); |
} |
- return Handle<SharedFunctionInfo>(SharedFunctionInfo::cast(root), isolate); |
+ Handle<SharedFunctionInfo> result(SharedFunctionInfo::cast(root), isolate); |
+ result->set_deserialized(true); |
+ return result; |
} |