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). |