Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: src/factory.cc

Issue 2402663002: Reland "[turbofan] Discard the shared code entry in the optimized code map." (Closed)
Patch Set: Patch failure(?) Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 163e86484dfb7f4d9f1ebd9c9ea02a8bf0ad51c2..72a8e37c999c8ba54ab403713324a8b63a1cfafc 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -2215,7 +2215,7 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo(
code = isolate()->builtins()->Illegal();
}
share->set_code(*code);
- share->set_optimized_code_map(*cleared_optimized_code_map());
+ share->set_optimized_code_map(*empty_fixed_array());
share->set_scope_info(ScopeInfo::Empty(isolate()));
share->set_outer_scope_info(*the_hole_value());
Handle<Code> construct_stub =
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698