Index: src/external-reference-table.cc |
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc |
index 5458eabd2811fbb8d97d2bbd574e30af7774fc67..8f8ef098c824d27834c078df587a398f904624f3 100644 |
--- a/src/external-reference-table.cc |
+++ b/src/external-reference-table.cc |
@@ -443,6 +443,7 @@ void ExternalReferenceTable::AddDeoptEntries(Isolate* isolate) { |
void ExternalReferenceTable::AddApiReferences(Isolate* isolate) { |
// Add external references provided by the embedder (a null-terminated |
// array). |
+ api_refs_start_ = size(); |
intptr_t* api_external_references = isolate->api_external_references(); |
if (api_external_references != nullptr) { |
while (*api_external_references != 0) { |