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

Unified Diff: src/external-reference-table.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.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/external-reference-table.cc
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc
index 57fbaaef10371c20e1aa3190e8837080c80e335a..23b56ac705c1d4fdf485308081ee4d3e96d00ebb 100644
--- a/src/external-reference-table.cc
+++ b/src/external-reference-table.cc
@@ -45,7 +45,6 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
AddIsolateAddresses(isolate);
AddAccessors(isolate);
AddStubCache(isolate);
- AddDeoptEntries(isolate);
// API references must be added last.
AddApiReferences(isolate);
}
@@ -431,19 +430,6 @@ void ExternalReferenceTable::AddStubCache(Isolate* isolate) {
"Store StubCache::secondary_->map");
}
-void ExternalReferenceTable::AddDeoptEntries(Isolate* isolate) {
- // Add a small set of deopt entry addresses to encoder without generating
- // the
- // deopt table code, which isn't possible at deserialization time.
- HandleScope scope(isolate);
- for (int entry = 0; entry < kDeoptTableSerializeEntryCount; ++entry) {
- Address address = Deoptimizer::GetDeoptimizationEntry(
- isolate, entry, Deoptimizer::LAZY,
- Deoptimizer::CALCULATE_ENTRY_ADDRESS);
- Add(address, "lazy_deopt");
- }
-}
-
void ExternalReferenceTable::AddApiReferences(Isolate* isolate) {
// Add external references provided by the embedder (a null-terminated
// array).
« no previous file with comments | « src/external-reference-table.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698