| Index: src/snapshot/natives-external.cc
|
| diff --git a/src/snapshot/natives-external.cc b/src/snapshot/natives-external.cc
|
| index 3649c2a69ff9e33b42cd36133d55bf80c9195d0a..94fc2c11ff8c4aa950d9b14f767ed527732405a8 100644
|
| --- a/src/snapshot/natives-external.cc
|
| +++ b/src/snapshot/natives-external.cc
|
| @@ -157,6 +157,7 @@ void ReadNatives() {
|
| if (natives_blob_ && NativesHolder<CORE>::empty()) {
|
| SnapshotByteSource bytes(natives_blob_->data, natives_blob_->raw_size);
|
| NativesHolder<CORE>::set(NativesStore::MakeFromScriptsSource(&bytes));
|
| + NativesHolder<CODE_STUB>::set(NativesStore::MakeFromScriptsSource(&bytes));
|
| NativesHolder<EXPERIMENTAL>::set(
|
| NativesStore::MakeFromScriptsSource(&bytes));
|
| NativesHolder<EXTRAS>::set(NativesStore::MakeFromScriptsSource(&bytes));
|
| @@ -185,6 +186,7 @@ void SetNativesFromFile(StartupData* natives_blob) {
|
| */
|
| void DisposeNatives() {
|
| NativesHolder<CORE>::Dispose();
|
| + NativesHolder<CODE_STUB>::Dispose();
|
| NativesHolder<EXPERIMENTAL>::Dispose();
|
| NativesHolder<EXTRAS>::Dispose();
|
| }
|
| @@ -230,6 +232,7 @@ Vector<const char> NativesCollection<type>::GetScriptsSource() {
|
| // The compiler can't 'see' all uses of the static methods and hence
|
| // my choice to elide them. This we'll explicitly instantiate these.
|
| template class NativesCollection<CORE>;
|
| +template class NativesCollection<CODE_STUB>;
|
| template class NativesCollection<EXPERIMENTAL>;
|
| template class NativesCollection<EXTRAS>;
|
| } // namespace internal
|
|
|