Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 11812) |
+++ src/heap.cc (working copy) |
@@ -3010,6 +3010,7 @@ |
share->set_name(name); |
Code* illegal = isolate_->builtins()->builtin(Builtins::kIllegal); |
share->set_code(illegal); |
+ share->ClearOptimizedCodeMap(); |
share->set_scope_info(ScopeInfo::Empty()); |
Code* construct_stub = |
isolate_->builtins()->builtin(Builtins::kJSConstructStubGeneric); |