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

Unified Diff: src/isolate.cc

Issue 2790573002: Encode any deoptimizer entry in serialized data. (Closed)
Patch Set: Created 3 years, 8 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/external-reference-table.cc ('k') | src/snapshot/deserializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 6d59ad4499911aacf4f4cae59ce4e00909040f41..f55177d64787e137c8cd22d37edbb96dcc34b7e5 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2801,16 +2801,6 @@ bool Isolate::Init(Deserializer* des) {
ast_string_constants_ = new AstStringConstants(this, heap()->HashSeed());
}
- if (!create_heap_objects) {
- // Now that the heap is consistent, it's OK to generate the code for the
- // deopt entry table that might have been referred to by optimized code in
- // the snapshot.
- HandleScope scope(this);
- Deoptimizer::EnsureCodeForDeoptimizationEntry(
- this, Deoptimizer::LAZY,
- ExternalReferenceTable::kDeoptTableSerializeEntryCount - 1);
- }
-
if (!serializer_enabled()) {
// Ensure that all stubs which need to be generated ahead of time, but
// cannot be serialized into the snapshot have been generated.
« no previous file with comments | « src/external-reference-table.cc ('k') | src/snapshot/deserializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698