Index: src/snapshot/natives-external.cc |
diff --git a/src/snapshot/natives-external.cc b/src/snapshot/natives-external.cc |
index 9439f4574da14366b5f1d8c603a089ff78f93146..6505d15571e870ae3edf70859890cbd1e38ea474 100644 |
--- a/src/snapshot/natives-external.cc |
+++ b/src/snapshot/natives-external.cc |
@@ -151,6 +151,8 @@ void ReadNatives() { |
if (natives_blob_ && NativesHolder<CORE>::empty()) { |
SnapshotByteSource bytes(natives_blob_->data, natives_blob_->raw_size); |
NativesHolder<CORE>::set(NativesStore::MakeFromScriptsSource(&bytes)); |
+ NativesHolder<EXPERIMENTAL>::set( |
+ NativesStore::MakeFromScriptsSource(&bytes)); |
NativesHolder<EXTRAS>::set(NativesStore::MakeFromScriptsSource(&bytes)); |
NativesHolder<EXPERIMENTAL_EXTRAS>::set( |
NativesStore::MakeFromScriptsSource(&bytes)); |
@@ -179,6 +181,7 @@ void SetNativesFromFile(StartupData* natives_blob) { |
*/ |
void DisposeNatives() { |
NativesHolder<CORE>::Dispose(); |
+ NativesHolder<EXPERIMENTAL>::Dispose(); |
NativesHolder<EXTRAS>::Dispose(); |
NativesHolder<EXPERIMENTAL_EXTRAS>::Dispose(); |
} |
@@ -230,6 +233,7 @@ Vector<const char> NativesCollection<type>::GetScriptsSource() { |
template Vector<const char> NativesCollection<T>::GetScriptName(int i); \ |
template Vector<const char> NativesCollection<T>::GetScriptsSource(); |
INSTANTIATE_TEMPLATES(CORE) |
+INSTANTIATE_TEMPLATES(EXPERIMENTAL) |
INSTANTIATE_TEMPLATES(EXTRAS) |
INSTANTIATE_TEMPLATES(EXPERIMENTAL_EXTRAS) |
#undef INSTANTIATE_TEMPLATES |