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

Unified Diff: src/isolate.cc

Issue 2790573002: Encode any deoptimizer entry in serialized data. (Closed)
Patch Set: Use special serializer byte codes for deoptimization entries. Created 3 years, 9 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
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.

Powered by Google App Engine
This is Rietveld 408576698