Chromium Code Reviews| Index: src/heap.cc |
| =================================================================== |
| --- src/heap.cc (revision 1472) |
| +++ src/heap.cc (working copy) |
| @@ -1238,6 +1238,9 @@ |
| if (obj->IsFailure()) return false; |
| natives_source_cache_ = FixedArray::cast(obj); |
| + // Handling of script id generation is in Factory::NewScript. |
| + last_script_id_ = undefined_value(); |
| + |
| // Initialize keyed lookup cache. |
| ClearKeyedLookupCache(); |